Package | Description |
---|---|
ilog.cpl.graphic.views |
Provides graphic object and graphic view classes for creating and configuring
graphic views based on Rogue Wave JViews.
|
ilog.cpl.interactor |
Contains all the base classes of interactors.
|
ilog.cpl.table.interactor |
Contains all the table-specific interactors giving the JTGO Table component its default behavior.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
IlpViewsViewInteractor.delegateEvent(IlpInteractionContext ctxt,
MouseEvent e)
Redefined to delegate event management to an object interactor.
|
boolean |
IlpViewsViewInteractor.processEvent(IlpInteractionContext context,
AWTEvent event)
Process an event.
|
Modifier and Type | Interface and Description |
---|---|
interface |
IlpObjectInteractionContext
An object interaction context is used to store contextual information
about the events that occur over a single object.
|
interface |
IlpViewInteractionContext
Describes the context of a user interaction that can occur anywhere
in a view.
|
Modifier and Type | Class and Description |
---|---|
class |
IlpDefaultInteractionContext
Default implementation for
IlpInteractionContext . |
class |
IlpDefaultObjectInteractionContext
Provides a default implementation of
IlpObjectInteractionContext . |
class |
IlpDefaultViewInteractionContext
Provides a default implementation of
IlpViewInteractionContext
A view interaction context is used to store contextual information
about the events that occur over a graphic view. |
Modifier and Type | Method and Description |
---|---|
IlpInteractionContext |
IlpAbstractPopupMenuFactory.getInteractionContext()
Returns the interaction context containing information needed to create
the pop-up menu.
|
Modifier and Type | Method and Description |
---|---|
ActionEvent |
IlpActionEventFactory.create(Action action,
IlpInteractionContext ctxt,
IlpInteractionState state,
int modifiers)
Returns an action event.
|
protected ActionEvent |
IlpAbstractInteractor.createActionEvent(Action action,
IlpInteractionContext ctxt,
IlpInteractionState state,
int modifiers)
Returns a new
ActionEvent . |
protected ActionEvent |
IlpDefaultViewInteractor.createActionEvent(IlpInteractionContext ctxt,
IlpInteractionState state,
int modifiers)
Deprecated.
Please use
IlpActionEventFactory instead. |
protected ActionEvent |
IlpDefaultObjectInteractor.createActionEvent(IlpInteractionContext ctxt,
IlpInteractionState state,
int modifiers)
Deprecated.
Please use
IlpActionEventFactory instead. |
protected ActionEvent |
IlpAbstractInteractor.createActionEvent(IlpInteractionContext ctxt,
IlpInteractionState state,
int modifiers)
Deprecated.
Please use
IlpActionEventFactory instead. |
JPopupMenu |
IlpPopupMenuFactory.createPopupMenu(IlpInteractionContext context)
Creates a pop-up menu for the specified
IlpInteractionContext . |
JPopupMenu |
IlpDefaultPopupMenuFactory.createPopupMenu(IlpInteractionContext context)
Creates a pop-up menu for the specified
IlpInteractionContext . |
JPopupMenu |
IlpAbstractPopupMenuFactory.createPopupMenu(IlpInteractionContext ctxt)
Delegates the menu creation to the method
IlpAbstractPopupMenuFactory.createPopupMenu(IlpRepresentationObjectSelectionModel) after
having retrieved the selection model used by the view. |
protected boolean |
IlpDefaultViewInteractor.delegateEvent(IlpInteractionContext ctxt,
MouseEvent e)
Redefined to delegate event management to an object interactor.
|
protected boolean |
IlpAbstractInteractor.delegateEvent(IlpInteractionContext ctxt,
MouseEvent e)
This method may be redefined by subclasses if the event process
needs to be delegated to a sub-interactor.
|
protected boolean |
IlpAbstractInteractor.displayPopupMenu(IlpInteractionContext ctxt,
MouseEvent e)
Displays a pop-up menu on the source and at the location given by
the specified mouse event if this
event corresponds to a pop-up trigger and a pop-up menu factory is set
for this interactor and if this factory does not return
null . |
protected IlpInteractionState |
IlpDefaultViewInteractor.getInteractionState(IlpInteractionContext ctxt)
Looks up the interaction state corresponding to the given context.
|
protected IlpInteractionState |
IlpDefaultObjectInteractor.getInteractionState(IlpInteractionContext ctxt)
Looks up the interaction state corresponding to the given context.
|
protected abstract IlpInteractionState |
IlpAbstractInteractor.getInteractionState(IlpInteractionContext ctxt)
Looks up the interaction state corresponding to the given context.
|
protected boolean |
IlpAbstractInteractor.isSelectable(IlpInteractionContext ctx,
IlpRepresentationObject ro)
Identifies whether an object can be selected or not, this method is
used in conjunction with
IlpAbstractInteractor.manageSelection(IlpInteractionContext, IlpRepresentationObjectSelectionModel, IlpRepresentationObject) . |
protected void |
IlpAbstractInteractor.manageSelection(IlpInteractionContext ctxt,
IlpRepresentationObjectSelectionModel selectionModel,
IlpRepresentationObject ro)
This method is called before displaying a pop-up menu to update the
selection.
|
boolean |
IlpInteractor.processEvent(IlpInteractionContext context,
AWTEvent event)
Manages the events occurring on a view, translating atomic input events
into Swing action invocations
in a given context, recognizing higher-level gestures when applicable,
and invoking the associated Swing actions.
|
boolean |
IlpDefaultViewInteractor.processEvent(IlpInteractionContext ctxt,
AWTEvent event)
Processes the events applying to the view that this interactor is attached to.
|
boolean |
IlpDefaultObjectInteractor.processEvent(IlpInteractionContext ctxt,
AWTEvent event)
Processes the events applying to the object this interactor is attached to.
|
boolean |
IlpAbstractInteractor.processEvent(IlpInteractionContext ctxt,
AWTEvent event)
This method is called by an
IlpGraphicController
each time an event occurs on the IlpGraphicView
this controller is attached to. |
protected boolean |
IlpAbstractInteractor.processGesture(IlpGesture gesture,
IlpInteractionContext ctxt,
IlpInteractionState state,
AWTEvent e)
Manages a completely recognized gesture, trying to trigger the
associated action.
|
protected boolean |
IlpAbstractInteractor.processKeyEvent(IlpInteractionContext ctxt,
KeyEvent event)
Manages the key events occurring on the entity to which this interactor
is attached.
|
protected boolean |
IlpAbstractInteractor.processMouseOrFocusEvent(IlpInteractionContext ctxt,
AWTEvent event)
This method recognizes gestures from mouse or focus events and tries to
trigger the associated action, if any.
|
Modifier and Type | Class and Description |
---|---|
class |
IlpTableHeaderInteractionContext
This class handles the context of an interaction occurring in a table header.
|
class |
IlpTableViewInteractionContext
Provides a default implementation of
IlpViewInteractionContext
for the Table component. |
Modifier and Type | Method and Description |
---|---|
protected ActionEvent |
IlpDefaultTableHeaderInteractor.createActionEvent(IlpInteractionContext ctxt,
IlpInteractionState state,
int modifiers)
Deprecated.
Please use
IlpActionEventFactory instead. |
protected boolean |
IlpDefaultTableViewInteractor.delegateEvent(IlpInteractionContext ctxt,
MouseEvent e)
Redefined to delegate mouse events which occur in the table header to
IlpDefaultTableHeaderInteractor . |
protected boolean |
IlpDefaultTableHeaderInteractor.displayPopupMenu(IlpInteractionContext ctxt,
MouseEvent e)
Displays a pop-up menu on the source and at the location given by
the specified mouse event if this
event corresponds to a pop-up trigger and a pop-up menu factory is set
for this interactor and if this factory does not return
null . |
protected IlpInteractionState |
IlpDefaultTableHeaderInteractor.getInteractionState(IlpInteractionContext ctxt)
Looks up the interaction state corresponding to the given context.
|
protected void |
IlpDefaultTableViewInteractor.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).
|
© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.