|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectilog.views.IlvManagerViewInteractor
ilog.views.interactor.IlvDragRectangleInteractor
ilog.views.interactor.IlvMakeRectangleInteractor
ilog.tgo.interactor.IltMakeRectGroupInteractor
public class IltMakeRectGroupInteractor
This class implements a view interactor which allows the user to
create a rectangular region, as an IltRectGroup instance.
When used in an IlpViewsView via IlpViewsViewInteractor,
this interactor recognizes the gesture CREATE_RECT_GROUP.
Note that the following superclass methods are useless in this
interactor because the created object is an IltObject and not an
IlvGraphic as supposed in the superclass. In addition, the IltObject
should be instantiated in the method trigger.
isGrapherMode, setGrapherModegetForeground, setForegroundgetBackground, setBackgroundgetObjectFactory, setObjectFactory
IlpViewsViewInteractor,
Serialized Form| Nested Class Summary | |
|---|---|
static class |
IltMakeRectGroupInteractor.Gesture
This class enumerates the possible gestures recognized by this interactor. |
| Constructor Summary | |
|---|---|
IltMakeRectGroupInteractor()
Creates a new instance. |
|
| Method Summary | |
|---|---|
protected IlvGraphic |
makeObject(IlvRect rect)
Creates the . |
protected void |
trigger(IlvRect shape)
This function must be implemented in a subclass. |
| Methods inherited from class ilog.views.interactor.IlvMakeRectangleInteractor |
|---|
addObject, detach, drawGhost, fireRectangleDraggedEvent, getBackground, getForeground, getObjectFactory, isCreationInSubManagersAllowed, isFillOn, isGrapherMode, isPermanent, isSelectionMode, isStrokeOn, isXORGhost, resizeObject, setBackground, setCreationInSubManagersAllowed, setFillOn, setForeground, setGrapherMode, setObjectFactory, setPermanent, setSelectionMode, setStrokeOn |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface ilog.views.interactor.IlvPermanentInteractorInterface |
|---|
isPermanent, setPermanent |
| Constructor Detail |
|---|
public IltMakeRectGroupInteractor()
| Method Detail |
|---|
protected void trigger(IlvRect shape)
IltRectGroup object and should call computeGraphic on it,
passing to it the shape argument.
This implementation creates an IltRectGroup if this interactor is set
to a view which displays the content of an IltNetwork. If the manager
associated with this view is not an IltNetwork, no IltRectGroup will be
created. When created, the group has the state IltOSI.State.Usage.Active
and is added to the IltNetwork.
As this method instantiates an IltObject, any subclass which overrides this
method to instantiate its own IltObject should never call super.trigger.
protected IlvGraphic makeObject(IlvRect rect)
IlvMakeRectangleInteractorIlvRectangle.
This method is called by the interactor to create the rectangle.
The default implementation creates an
if no
factory is installed; otherwise it calls the
IlvRectangle
method of the factory.
createObject
makeObject in class IlvMakeRectangleInteractor
|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||