|
||||||||||
| 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.IlvMakePolyPointsInteractor
ilog.views.interactor.IlvMakePolygonInteractor
ilog.tgo.interactor.IltMakePolyGroupInteractor
public class IltMakePolyGroupInteractor
This class implements a view interactor which allows the user to
create an IltPolyGroup.
Note that the following methods from the superclass are useless in this interactor because the object that is created is an IltObject and not an IlvGraphic as supposed in the superclass. Additionally the IltObject should be instantiated in the method trigger.
| Nested Class Summary | |
|---|---|
static class |
IltMakePolyGroupInteractor.Gesture
This class enumerates the possible gestures recognized by this interactor. |
| Constructor Summary | |
|---|---|
IltMakePolyGroupInteractor()
Creates a new instance. |
|
| Method Summary | |
|---|---|
protected IlvGraphic |
makePolyPoint(IlvPoint[] points)
Called to create the polypoint object. |
protected void |
trigger(IlpPolygon shape)
This function must be implemented in a subclass. |
| Methods inherited from class ilog.views.interactor.IlvMakePolygonInteractor |
|---|
createObject, drawGhost, isFillOn, isStrokeOn, setFillOn, 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 IltMakePolyGroupInteractor()
| Method Detail |
|---|
protected void trigger(IlpPolygon shape)
This implementation creates an IltPolyGroup if this interactor is set on a view which displays the content of an IltNetwork. If the manager associated with this view is not an IltNetwork, no IltPolyGroup 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 makePolyPoint(IlvPoint[] points)
IlvMakePolyPointsInteractorIlvPolyline object
is created. The foreground and background colors are set on
the object.
makePolyPoint in class IlvMakePolyPointsInteractorpoints - The selected points in the object's coordinate space.IlvMakePolyPointsInteractor.setObjectFactory(ilog.views.interactor.IlvPolyPointsObjectFactory),
IlvMakePolyPointsInteractor.setBackground(java.awt.Color),
IlvMakePolyPointsInteractor.setForeground(java.awt.Color)
|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||