public class IlpDefaultTableViewInteractor extends IlpDefaultViewInteractor
The default implementation provides the following support, which is specific to the Table component:
IlpDefaultViewInteractor to delegate the
events which occur in the table header to the configured Table Header interactor,
IlpDefaultTableHeaderInteractor;| Constructor and Description |
|---|
IlpDefaultTableViewInteractor()
Default constructor.
|
IlpDefaultTableViewInteractor(IlpPopupMenuFactory menuFactory)
Constructor allowing installation of a pop-up menu in the table view.
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
delegateEvent(IlpInteractionContext ctxt,
MouseEvent e)
Redefined to delegate mouse events which occur in the table header to
IlpDefaultTableHeaderInteractor. |
protected void |
manageSelection(IlpInteractionContext ctxt,
IlpRepresentationObjectSelectionModel selectionModel,
IlpRepresentationObject ro)
Redefined to manage the selection when a pop-up menu is about to be
displayed, taking care of the particular selection of the table which
allows the selection of an attribute for a representation object (cell selection).
|
attach, createActionEvent, detach, getController, GetDefaultActionEventFactory, getInteractionState, isUsingObjectInteractor, processEvent, setUsingObjectInteractorcreateActionEvent, displayPopupMenu, getAction, getAction, getActionEventFactory, getGestureAction, getGestureAction, getGestureButton, getGestureModifiers, getKeyStrokeAction, getPopupMenuFactory, isSelectable, processGesture, processKeyEvent, processMouseOrFocusEvent, setAction, setAction, setActionEventFactory, setGestureAction, setGestureAction, setKeyStrokeAction, setPopupMenuFactoryclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetGestureAction, getGestureAction, getGestureButton, getGestureModifiers, getKeyStrokeAction, getPopupMenuFactory, setGestureAction, setGestureAction, setKeyStrokeAction, setPopupMenuFactorypublic IlpDefaultTableViewInteractor()
public IlpDefaultTableViewInteractor(IlpPopupMenuFactory menuFactory)
null.menuFactory - The menu factory providing the pop-up menu to display
in the table view. Can be null.protected boolean delegateEvent(IlpInteractionContext ctxt, MouseEvent e)
IlpDefaultTableHeaderInteractor.
This method is not documented.delegateEvent in class IlpDefaultViewInteractorctxt - The interaction context used to store persistent information.e - The mouse event to delegate.true if the given event has been handled by a
sub-interactor.IlpDefaultViewInteractor.isUsingObjectInteractor()protected void manageSelection(IlpInteractionContext ctxt, IlpRepresentationObjectSelectionModel selectionModel, IlpRepresentationObject ro)
manageSelection in class IlpAbstractInteractorctxt - The interaction context of the event.selectionModel - The selection model handling the selected objects.
It should not be null in this method.ro - The representation object which was under the mouse when the
event occurred. Could be null.IlpAbstractInteractor.manageSelection(ilog.cpl.interactor.IlpInteractionContext, ilog.cpl.util.selection.IlpRepresentationObjectSelectionModel, ilog.cpl.model.IlpRepresentationObject)© Copyright Rogue Wave Software, Inc. 1997, 2017. All Rights Reserved.