|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.swfm.mica.core.MiBoxSelectionGraphics
This class implements the MiiSelectionGraphics interface. As such it is responsible for the making the appearance of a graphics part when the part is 'selected' different from when it is 'not selected'.
This implementation draws a rectangle around the selected part unless the part is a line, in which case the line is rendered with a change to the line borderLook attribute.
| Field Summary |
| Constructor Summary | |
MiBoxSelectionGraphics()
Constructs a new MiBoxSelectionGraphics. |
|
| Method Summary | |
MiAttributes |
getAttributes()
Get the attributes used for the box displayed around a selected part. |
MiMargins |
getMargins()
Get the margins to use for the box displayed around a selected part. |
MiSize |
getMinimumBoxWidthAndHeight()
Get the minimum width and height to use for the box displayed around a selected part. |
void |
select(MiEditor editor,
MiPart obj,
boolean flag)
This method tells this selection graphics appearance manager whether the given part in the given editor is selected. |
void |
setAttributes(MiAttributes attributes)
Set the attributes to use for the box displayed around a selected part. |
void |
setMargins(MiMargins margins)
Set the margins to use for the box displayed around a selected part. |
void |
setMinimumBoxWidthAndHeight(MiSize size)
Set the minimum width and height to use for the box displayed around a selected part. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public MiBoxSelectionGraphics()
| Method Detail |
public void setAttributes(MiAttributes attributes)
attributes - the attributes of the boxpublic MiAttributes getAttributes()
public void setMargins(MiMargins margins)
margins - the margins around the partpublic MiMargins getMargins()
public void setMinimumBoxWidthAndHeight(MiSize size)
size - the min size of box around the partpublic MiSize getMinimumBoxWidthAndHeight()
public void select(MiEditor editor,
MiPart obj,
boolean flag)
select in interface MiiSelectionGraphicseditor - the editorflag - true if the part is now selected.obj - the part whose selection state
has changed.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||