|
||||||||||
| 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.IlvMakePolylineInteractor
ilog.tgo.interactor.IltMakeLinearGroupInteractor
public class IltMakeLinearGroupInteractor
This class implements a view interactor which allows the user to
create an IltLinearGroup.
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:
| Nested Class Summary | |
|---|---|
static class |
IltMakeLinearGroupInteractor.Gesture
This class enumerates the possible gestures recognized by this interactor. |
| Constructor Summary | |
|---|---|
IltMakeLinearGroupInteractor()
Creates a new instance. |
|
| Method Summary | |
|---|---|
protected IlvGraphic |
makePolyPoint(IlvPoint[] points)
Called to create the polypoint object. |
protected void |
trigger(IlpPolyline shape)
This function must be implemented in a subclass. |
| Methods inherited from class ilog.views.interactor.IlvMakePolylineInteractor |
|---|
createObject |
| 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 IltMakeLinearGroupInteractor()
| Method Detail |
|---|
protected void trigger(IlpPolyline shape)
This implementation creates an IltLinearGroup 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 IltLinearGroup 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 | |||||||||