|
||||||||||
| 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.table.interactor.IlpDefaultTableViewInteractor
public class IlpDefaultTableViewInteractor
This is the table view specific view interactor.
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;
IlpTableController.setHeaderInteractor(ilog.cpl.table.interactor.IlpDefaultTableHeaderInteractor),
IlpDefaultTableHeaderInteractor,
IlpDefaultViewInteractor| Constructor Summary | |
|---|---|
IlpDefaultTableViewInteractor()
Default constructor. |
|
IlpDefaultTableViewInteractor(IlpPopupMenuFactory menuFactory)
Constructor allowing installation of a pop-up menu in the table view. |
|
| Method Summary | |
|---|---|
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). |
| Methods inherited from class ilog.cpl.interactor.IlpDefaultViewInteractor |
|---|
attach, createActionEvent, detach, getController, GetDefaultActionEventFactory, getInteractionState, isUsingObjectInteractor, processEvent, setUsingObjectInteractor |
| Methods inherited from class ilog.cpl.interactor.IlpAbstractInteractor |
|---|
createActionEvent, displayPopupMenu, getAction, getAction, getActionEventFactory, getGestureAction, getGestureAction, getGestureButton, getGestureModifiers, getKeyStrokeAction, getPopupMenuFactory, 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.IlpInteractor |
|---|
getGestureAction, getGestureButton, getGestureModifiers, getKeyStrokeAction, getPopupMenuFactory, setGestureAction, setKeyStrokeAction, setPopupMenuFactory |
| Constructor Detail |
|---|
public IlpDefaultTableViewInteractor()
public IlpDefaultTableViewInteractor(IlpPopupMenuFactory menuFactory)
null.
menuFactory - The menu factory providing the pop-up menu to display
in the table view. Can be null.| Method Detail |
|---|
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)
|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||