public class IltFacesDefaultObjectAction extends Object
IltFacesDefaultObjectAction
implements the default behavior
for object actions supported by the clientSelectInteractor
JSF
component. The supported actions are:
You may override or extend the object action behavior by setting
a method binding to the objectActionMethodBinding
tag
attribute of the clientSelectInteractor
tag. This method
binding should have the following signature:
boolean method_name(IlpGraphView view, int xPos, int yPos)The items in the signature have the following meanings:
method_name
: the method nameview
: the graph view containing the objectxPos
: the x
component of the point
clickedyPos
: the y
component of the point
clickedtrue
, no selection will be processed
and a new image will be generated.Constructor and Description |
---|
IltFacesDefaultObjectAction()
Creates a new
IltFacesDefaultObjectAction instance. |
Modifier and Type | Method and Description |
---|---|
boolean |
processObjectAction(IlpGraphView view,
int xPos,
int yPos)
Processes the following supported object actions:
expand subnetworks
collapse subnetworks
expand information icons
collapse information windows
expand system icons
collapse system windows
|
public IltFacesDefaultObjectAction()
IltFacesDefaultObjectAction
instance.public boolean processObjectAction(IlpGraphView view, int xPos, int yPos)
view
- The graph view containing the visible objects.xPos
- The x
component in view coordinates.yPos
- The y
component in view coordinates.true
is
returned.© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.