com.swfm.mica.core
Class MiPolySelectionGraphics
java.lang.Object
com.swfm.mica.core.MiPolySelectionGraphics
- All Implemented Interfaces:
- MiiSelectionGraphics, MiiTypes
- public class MiPolySelectionGraphics
- extends java.lang.Object
- implements MiiSelectionGraphics, MiiTypes
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 class implements the MiiSelectionGraphics interface.
This implementation provides a wrapper for 0 or more implementations
of MiiSelectionGraphics. This is useful if, for example, the
selected items are to change color AND have manipulation handles.
- Version:
- %I% %G%
- Author:
- Michael L. Davis
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MiPolySelectionGraphics
public MiPolySelectionGraphics()
MiPolySelectionGraphics
public MiPolySelectionGraphics(MiiSelectionGraphics one,
MiiSelectionGraphics other)
appendSelectionGraphics
public void appendSelectionGraphics(MiiSelectionGraphics sg)
select
public 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. 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 of the line
borderLook attribute.
- Specified by:
select in interface MiiSelectionGraphics
- Parameters:
editor - the editorflag - true if the part is now selected.obj - the part whose selection state
has changed.