|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
The Editor defines the interface for graphic editors.
| Field Summary | |
static int |
CFP
Fisrt point constructor |
static int |
CSP
Second point constructor |
static int |
IDENTIFICATION
Identification |
static int |
LINK_CFP
Link first point constructor |
static int |
LINK_CSP
Link Second Point Constructor |
static int |
MODIFICATION
Modification |
static int |
OVER_OBJECT
Over object |
static int |
OVER_SELECTOR
Over selector |
static int |
TRANSLATION
Translation |
| Method Summary | |
void |
addGraphicElement()
Sets the Graphic Elements being created as concluded. |
void |
bringForward(GraphicElement graphicElement)
Bring forward a Graphic Element |
void |
bringToFront(GraphicElement graphicElement)
Bring to front a Graphic Element |
void |
changeCursor(java.awt.Cursor cursor)
Sets the mouse Cursor. |
Operator |
getActiveOpertator()
Returns the active Operator |
GraphicElement |
getGraphicElement(int i)
Return Graphic Element at index i. |
GraphicElement |
getGraphicElementOver(Point point)
Returns the Graphic Element over the Point. |
int |
getGraphicElementsListSize()
Returns the number of Graphic Elements |
State |
getState(int i)
Returns the state i. |
void |
paint()
Paints the Graphic Elements |
void |
selectNone()
Unselect all Graphic Elements |
void |
sendBackward(GraphicElement graphicElement)
Send backward a Graphic Element |
void |
sendToBack(GraphicElement graphicElement)
Send to back a Graphic Element |
void |
setCurrentGraphicElement(GraphicElement graphicElement)
Indicates to the Graphic Editor wich graphic element is being created. |
void |
setCurrentGraphicElements(java.util.LinkedList graphicElements)
Sets Graphics Elements being created. |
void |
setOperator(int operator)
Sets the current operator. |
| Field Detail |
public static final int IDENTIFICATION
public static final int CFP
public static final int CSP
public static final int OVER_OBJECT
public static final int OVER_SELECTOR
public static final int TRANSLATION
public static final int MODIFICATION
public static final int LINK_CFP
public static final int LINK_CSP
| Method Detail |
public void setOperator(int operator)
operator - Operator to be set.public Operator getActiveOpertator()
public State getState(int i)
i - State to be retrieved
public void setCurrentGraphicElement(GraphicElement graphicElement)
graphicElement - Graphic element being created.public void addGraphicElement()
public void paint()
public int getGraphicElementsListSize()
public GraphicElement getGraphicElement(int i)
i - Index of the Graphic Element
public void selectNone()
public void bringToFront(GraphicElement graphicElement)
graphicElement - Graphic Element to bring to front.public void sendToBack(GraphicElement graphicElement)
graphicElement - Graphic Element so send to backpublic void bringForward(GraphicElement graphicElement)
graphicElement - Graphic Element to bring forwardpublic void sendBackward(GraphicElement graphicElement)
graphicElement - Graphic Element to send backwardpublic void changeCursor(java.awt.Cursor cursor)
cursor - Cursor to be set.public GraphicElement getGraphicElementOver(Point point)
point - Point over a Graphic Element
public void setCurrentGraphicElements(java.util.LinkedList graphicElements)
graphicElements - Graphic Elements being created
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||