projectPrototype.view.graphicEditor.states
Class State

java.lang.Object
  extended byprojectPrototype.view.graphicEditor.states.State
Direct Known Subclasses:
CFPState, CSPState, IdentificationState, LinkCFPState, LinkCSPState, ModificationState, TranslationState

public abstract class State
extends java.lang.Object

Author:
Administrator To change the template for this generated type comment go to Window>Preferences>Java>Code Generation>Code and Comments

Field Summary
static int CFP
           
static int CSP
           
static int IDENTIFICATION
           
static int LINK_CFP
           
static int LINK_CSP
           
static int MODIFICATION
           
protected  java.lang.String name
           
protected  Operator operator
           
static int OVER_OBJECT
           
static int OVER_SELECTOR
           
static int TRANSLATION
           
 
Constructor Summary
State(java.lang.String name)
           
 
Method Summary
 void clbp(Editor editor, double x, double y)
           
 Operator getOperator()
           
 void lbp(Editor editor, double x, double y)
           
 void lbr(Editor editor, double x, double y)
           
 void mm(Editor editor, double x, double y)
           
 void setOperator(Operator operator)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

name

protected java.lang.String name

operator

protected Operator operator

IDENTIFICATION

public static final int IDENTIFICATION
See Also:
Constant Field Values

CFP

public static final int CFP
See Also:
Constant Field Values

CSP

public static final int CSP
See Also:
Constant Field Values

OVER_OBJECT

public static final int OVER_OBJECT
See Also:
Constant Field Values

OVER_SELECTOR

public static final int OVER_SELECTOR
See Also:
Constant Field Values

TRANSLATION

public static final int TRANSLATION
See Also:
Constant Field Values

MODIFICATION

public static final int MODIFICATION
See Also:
Constant Field Values

LINK_CFP

public static final int LINK_CFP
See Also:
Constant Field Values

LINK_CSP

public static final int LINK_CSP
See Also:
Constant Field Values
Constructor Detail

State

public State(java.lang.String name)
Method Detail

toString

public java.lang.String toString()

lbp

public void lbp(Editor editor,
                double x,
                double y)

lbr

public void lbr(Editor editor,
                double x,
                double y)

mm

public void mm(Editor editor,
               double x,
               double y)

clbp

public void clbp(Editor editor,
                 double x,
                 double y)

getOperator

public Operator getOperator()

setOperator

public void setOperator(Operator operator)