|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectilog.cpl.interactor.IlpAbstractInteractor
ilog.cpl.interactor.IlpDefaultViewInteractor
ilog.cpl.graphic.views.IlpViewsViewInteractor
public class IlpViewsViewInteractor
This is a view interactor which encapsulates an ILOG JViews view interactor.
Note: This interactor can only be used with an IlpViewsView object.
| Constructor Summary | |
|---|---|
IlpViewsViewInteractor()
Default constructor |
|
IlpViewsViewInteractor(IlvManagerViewInteractor interactor)
Creates the interactor. |
|
| Method Summary | |
|---|---|
void |
attach(IlpGraphicController controller)
Attaches this interactor to the view. |
protected boolean |
delegateEvent(IlpInteractionContext ctxt,
MouseEvent e)
Redefined to delegate event management to an object interactor. |
void |
detach()
Detaches this interactor from the view. |
Action |
getGestureAction(IlpGesture gesture)
Provides default gesture actions, depending on the view. |
IlvManagerViewInteractor |
getViewsInteractor()
Returns the encapsulated ILOG JViews interactor. |
boolean |
processEvent(IlpInteractionContext context,
AWTEvent event)
Process an event. |
void |
setViewsInteractor(IlvManagerViewInteractor interactor)
Sets the view interactor. |
| Methods inherited from class ilog.cpl.interactor.IlpDefaultViewInteractor |
|---|
createActionEvent, getController, GetDefaultActionEventFactory, getInteractionState, isUsingObjectInteractor, setUsingObjectInteractor |
| Methods inherited from class ilog.cpl.interactor.IlpAbstractInteractor |
|---|
createActionEvent, displayPopupMenu, getAction, getAction, getActionEventFactory, getGestureAction, getGestureButton, getGestureModifiers, getKeyStrokeAction, getPopupMenuFactory, manageSelection, processGesture, processKeyEvent, processMouseOrFocusEvent, setAction, setAction, setActionEventFactory, setGestureAction, setGestureAction, setKeyStrokeAction, setPopupMenuFactory |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface ilog.cpl.interactor.IlpViewInteractor |
|---|
getController, isUsingObjectInteractor, setUsingObjectInteractor |
| Methods inherited from interface ilog.cpl.interactor.IlpInteractor |
|---|
getGestureButton, getGestureModifiers, getKeyStrokeAction, getPopupMenuFactory, setGestureAction, setKeyStrokeAction, setPopupMenuFactory |
| Constructor Detail |
|---|
public IlpViewsViewInteractor(IlvManagerViewInteractor interactor)
public IlpViewsViewInteractor()
| Method Detail |
|---|
public IlvManagerViewInteractor getViewsInteractor()
public void setViewsInteractor(IlvManagerViewInteractor interactor)
interactor - Interactorpublic void attach(IlpGraphicController controller)
attach in interface IlpViewInteractorattach in class IlpDefaultViewInteractorcontroller - Graphic controllerIlpDefaultViewInteractor.detach()public void detach()
detach in interface IlpViewInteractordetach in class IlpDefaultViewInteractorIlpDefaultViewInteractor.attach(ilog.cpl.graphic.IlpGraphicController)
public boolean processEvent(IlpInteractionContext context,
AWTEvent event)
processEvent in interface IlpInteractorprocessEvent in class IlpDefaultViewInteractorcontext - Interaction contextevent - EventIlpAbstractInteractor.processKeyEvent(ilog.cpl.interactor.IlpInteractionContext, java.awt.event.KeyEvent),
IlpAbstractInteractor.delegateEvent(ilog.cpl.interactor.IlpInteractionContext, java.awt.event.MouseEvent),
IlpAbstractInteractor.displayPopupMenu(ilog.cpl.interactor.IlpInteractionContext, java.awt.event.MouseEvent),
IlpAbstractInteractor.processMouseOrFocusEvent(ilog.cpl.interactor.IlpInteractionContext, java.awt.AWTEvent),
IlpInteractionContext
protected boolean delegateEvent(IlpInteractionContext ctxt,
MouseEvent e)
IlpDefaultViewInteractor.isUsingObjectInteractor() returns true,IlpGraphic,IlpGraphic,
a MouseEvent.MOUSE_ENTERED event is delegated to the object.
Similarly, a MouseEvent.MOUSE_EXITED event is delegated to the (exited) object as soon as
the cursor leaves the object or the view.
delegateEvent in class IlpDefaultViewInteractorctxt - The interaction context used to store persistent information.e - The mouse event to be managed.
true if the given event has been handled by a
sub-interactor.IlpDefaultViewInteractor.isUsingObjectInteractor()public Action getGestureAction(IlpGesture gesture)
getGestureAction in interface IlpInteractorgetGestureAction in class IlpAbstractInteractorgesture - GestureIlpAbstractInteractor.setGestureAction(ilog.cpl.interactor.IlpGesture, javax.swing.Action)
|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||