|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectTPeerImpl
guitools.toolkit.EPeerImpl
public class EPeerImpl
An EPeerImpl class extends EPeerImpl and implements EditablePeer. After it is added EContainer or EditablePaintBoard, It can be edited by mouse or inspector.
#TComponent,
#EditablePeer| Field Summary |
|---|
| Fields inherited from interface guitools.toolkit.EditablePeer |
|---|
ALLBLACKBLOCK, ALLCURPOS, BBHEIGHT, BBWIDTH, BOTTOMLEFTBB, BOTTOMLEFTCP, BOTTOMMIDDLEBB, BOTTOMRIGHTBB, BOTTOMRIGHTCP, CENTERLEFTBB, CENTERRIGHTBB, MOVABLE, NOBLACKBLOCK, NOCURPOS, TOPLEFTBB, TOPLEFTCP, TOPMIDDLEBB, TOPRIGHTBB, TOPRIGHTCP |
| Constructor Summary | |
|---|---|
EPeerImpl(java.awt.Component owner)
Constructs. |
|
| Method Summary | |
|---|---|
boolean |
canBeEdited()
Checks object. |
boolean |
canBeEditedContent()
Checks object. |
boolean |
canBeMultiSelect()
Checks object. |
boolean |
canBeSelected()
Checks object. |
int |
getCurPosMarks()
Returns position marks value. |
int |
getEdCtrls()
Returns editable areas in the editable component. |
Editable |
getEditable()
Gets editable target. |
java.awt.Cursor |
getEditorCursor(int pos)
Gets editor cursor, when this component is activted. |
java.lang.Object |
getOwner()
Get internal data structure owner. |
int |
getStatus()
Returns editable status. |
int |
inBlackBlock(int x,
int y,
int edctrl)
Check the point parameter int x, int y in the editable black block. |
void |
paintExterior(java.awt.Graphics g,
int width,
int height,
int edctrl)
It is a callback method. |
void |
paintMarks(java.awt.Graphics g)
Paints position marks at normal status. |
void |
propertiesChanged(PropertyAtomicDoAction propAct)
|
void |
setCurPosMarks(int value)
Sets position marks value with parameter int value. |
void |
setEditable(Editable ed)
Sets editable component. |
void |
setOwner(java.lang.Object peer)
|
void |
setStatus(int status)
Sets editable status. |
void |
updateBoundsWithGrid()
Update bounds according to grid. |
void |
updateEditableBounds()
Updates editable target bounds with bound in the board. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EPeerImpl(java.awt.Component owner)
| Method Detail |
|---|
public int getStatus()
public void setStatus(int status)
public Editable getEditable()
getEditable in interface EditablePeerpublic void setEditable(Editable ed)
setEditable in interface EditablePeerpublic void updateEditableBounds()
updateEditableBounds in interface EditablePeerpublic int getEdCtrls()
getEdCtrls in interface EditablePeerpublic int getCurPosMarks()
getCurPosMarks in interface EditablePeerpublic void setCurPosMarks(int value)
setCurPosMarks in interface EditablePeer
public void paintExterior(java.awt.Graphics g,
int width,
int height,
int edctrl)
paintExterior in interface EditablePeerpublic void paintMarks(java.awt.Graphics g)
paintMarks in interface EditablePeer
public int inBlackBlock(int x,
int y,
int edctrl)
inBlackBlock in interface EditablePeerpublic java.awt.Cursor getEditorCursor(int pos)
getEditorCursor in interface EditablePeerpublic void updateBoundsWithGrid()
public boolean canBeSelected()
public boolean canBeMultiSelect()
public boolean canBeEdited()
canBeEdited in interface EditablePeerpublic boolean canBeEditedContent()
canBeEditedContent in interface EditablePeerpublic void setOwner(java.lang.Object peer)
public java.lang.Object getOwner()
public void propertiesChanged(PropertyAtomicDoAction propAct)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||