public class IlvSubGraphRenderer extends IlvFilterSDMRenderer
IlvSubGraphRenderer
is a
filtering renderer that displays subgraphs as special
nodes that can be expanded and collapsed.
This renderer is useful when the data model is hierarchical, that is, when some of its nodes contain subgraphs.
Each subgraph is initially displayed with a frame around it. The frame can be collapsed; it is then replaced with a single node (as defined in the style sheet), and the nodes and links of the subgraph become invisible. The collapsed node can be expanded to show the subgraph again.
To expand or collapse a subgraph node in a view, simply click the "expand" or "collapse" icon displayed in the upper-left corner of the subgraph node.
The subgraph renderer can be customized using the following rendering properties:
Expandable : "true"|"false";
InitiallyExpanded : "true"|"false";
FrameMargin : "<double>,<double>,<double>,<double>";
or
FrameMargin : "<double>";
FrameGraphic : "@#<graphic>"
IlvExpandedFrame
is used. You can also use an IlvDefaultManagerFrameGraphic
to get the default look of submanagers, with a title bar displayed at the top of
the submanager. For convenience, you can use the shortcut:
FrameGraphic : "default";which is equivalent to
FrameGraphic : "ilog.views.sdm.graphic.IlvDefaultManagerFrameGraphic";To get the effect of a
IlvConstantModeManagerFrame
you can use the shortcut:
FrameGraphic : "constantmode";which is equivalent to
node { FrameGraphic : "@+FrameGraphic"; DelegateToManagerFrame : "true"; } Subobject#FrameGraphic { class: "ilog.views.sdm.graphic.IlvDefaultManagerFrameGraphic"; managerFrame: "@+Frame"; } Subobject#Frame { class: "ilog.views.IlvConstantModeManagerFrame"; minimumMargin : "5"; }
PlusGraphic : "@#<graphic>"
MinusGraphic : "@#<graphic>"
PlusGraphicPosition : "<position>"
TopLeft
,
TopRight
,
BottomLeft
,
BottomRight
,
Top
,
Bottom
,
Left
,
Right
, and
Center
.
By default, the icon is in the top left corner.
MinusGraphicPosition : "<position>"
TopLeft
,
TopRight
,
BottomLeft
,
BottomRight
,
Top
,
Bottom
,
Left
,
Right
, and
Center
.
By default, the icon is in the top left corner.
PlusGraphicOffsetX : "<double>"
PlusGraphicOffsetY : "<double>"
MinusGraphicOffsetX : "<double>"
MinusGraphicOffsetY : "<double>"
DelegateToManagerFrame : "true"|"false";
IlvDefaultManagerFrameGraphic
encapsulating a manager frame. If the flag is true, it uses the
margin specification of the manager frame instead of the margin
specification specified by FrameMargin
. This is
in particular needed for IlvConstantModeManagerFrame
encapsulated inside IlvDefaultManagerFrameGraphic
.
Examples:
The following rule states that only those nodes whose type
property is equal to "compound"
are expandable.
node[type!="compound"] { Expandable : "false"; }
The following rules say the subgraphs should initially appear collapsed, and define a custom look for the expandable nodes: a different margin, a red rectangle for the frame, and icons instead of labels for the "expand" and "collapse" graphics.
node[type="compound"] { InitiallyExpanded : "false"; FrameMargin : "10"; FrameGraphic : "@#rectangle"; PlusGraphic : "@#plus"; MinusGraphic : "@#minus"; } Subobject#rectangle { class : "ilog.views.sdm.graphic.IlvGraphicFactories$Rectangle"; foreground : "green"; } Subobject#plus { class : "ilog.views.sdm.graphic.IlvGraphicFactories$Icon"; imageLocation : "plus.gif"; } Subobject#minus { class : "ilog.views.sdm.graphic.IlvGraphicFactories$Icon"; imageLocation : "minus.gif"; }
You can also customize the expandable nodes differently depending
on whether they are expanded or collapsed. To do this, you must use
the pseudoclasses "expanded"
and "collapsed"
.
For example, the following rules put different tooltips on the nodes depending on whether they are expanded or collapsed:
node:expanded { toolTipText : "Click on '-' to collapse"; } node:collapsed { toolTipText : "Click on '+' to expand"; }
Since JViews 5.5, the IlvSubGraphRenderer
class provides a new
"load on demand" mode, which lets you create the graphic objects inside a
subgraph only when the subgraph is first expanded. See the setLoadOnDemand(boolean)
method.
Note: The FrameGraphic, PlusGraphic, and MinusGraphic properties are not added in the manager.
Once created, each property change on a subgraph will customize the
grapher and the expanded frame (or collapsed node, according to the
subgraph expanded state).
This class is functionally equivalent to the
class IlvExpandCollapseRenderer
, but it uses the
subgraph functionalities available since Perforce JViews 5.0 to
implement the expandable nodes.
IlvManager
,
Serialized FormModifier and Type | Class and Description |
---|---|
static class |
IlvSubGraphRenderer.CollapsedGraphic
This graphic object encapsulates the collapsed representation of
a subgraph.
|
static class |
IlvSubGraphRenderer.ExpandCollapseIcon
Deprecated.
Since JViews 8.8, this class is no longer needed
|
static class |
IlvSubGraphRenderer.ExpandCollapseInteractor
Since JViews 8.5, this class is the mouse listener that manages to expand/collapse
subgraphes.
|
static class |
IlvSubGraphRenderer.GraphicManagerFrame
This class draws the graphic border of
IlvGrapher
objects that represent subgraphs. |
static class |
IlvSubGraphRenderer.SubGrapher
This class is not intended to be directly used by a user application.
|
Modifier and Type | Field and Description |
---|---|
static String |
GRAPHER |
_renderer
PSEUDOCLASS_PREFIX
Constructor and Description |
---|
IlvSubGraphRenderer()
Creates a new subgraph renderer with a
null
filtered renderer. |
IlvSubGraphRenderer(IlvSDMRenderer renderer)
Creates a new subgraph renderer with a specified
filtered renderer.
|
Modifier and Type | Method and Description |
---|---|
void |
addLinkGraphic(IlvSDMEngine engine,
Object link,
IlvGraphic graphic,
boolean redraw)
If the link is contained in a subgraph, adds the graphic link to the
IlvGrapher representing the subgraph. |
void |
addNodeGraphic(IlvSDMEngine engine,
Object node,
IlvGraphic graphic,
boolean redraw)
If the node is contained in a subgraph, adds the graphic node to the
IlvGrapher representing the subgraph. |
protected void |
addViewListeners(IlvManagerView view)
This method can be overridden to add view listeners on any view attached to an SDM engine.
|
IlvGraphic |
createNodeGraphic(IlvSDMEngine engine,
Object node)
If the node is the parent of a subgraph, creates an
IlvGrapher
that will contain the nodes and links of the subgraph. |
protected IlvManager |
createSubManager()
Factory to create the submanager.
|
void |
customize(IlvSDMEngine engine,
Object object,
IlvGraphic g,
String[] pseudoClass)
If the object is an
IlvGrapher , this method
customizes either the IlvGrapher 's border, or its
collapsed graphic object, depending on whether the grapher is expanded
or collapsed. |
IlvGraphic |
getEncapsulatedGraphic(IlvGraphic g)
If the object is an
IlvGrapher , this method
returns either the IlvGrapher 's border, or its
collapsed graphic object, depending on whether the grapher is expanded
or collapsed. |
Object |
getGraphicProperty(IlvSDMEngine engine,
Object object,
String property,
String[] pseudoClass,
Class<?> targetClass)
Modifies the
Layer rendering property so that
subgraphs are displayed on top of their frames. |
IlvRect |
getLinkConnectionRectangle(IlvSDMEngine engine,
IlvGraphic graphic,
IlvTransformer t,
IlvLinkConnector lc)
This method is overridden to take into account
the special expandable nodes.
|
boolean |
isExpandCollapseEnabled()
Returns
true if the expand/collapse interaction on subgraphs
is enabled. |
boolean |
isExpanded(IlvSDMEngine engine,
Object object)
Tests whether a data node is expanded or collapsed.
|
boolean |
isForcingRenderingOnExpandCollapse() |
boolean |
isFrameZoomable()
Returns
true if the frames and the expand/collapse icons
drawn around subgraphs are zoomable, or false if they are not
zoomable. |
boolean |
isLeafToContainerEnabled()
Returns true whether leaves are automatically converted to container when a first new child is added.
|
boolean |
isLoadOnDemand()
Returns
true if load-on-demand is enabled, or
false otherwise. |
boolean |
isSavingExpandedState()
Returns
true if the expanded state of a subgraph
is saved to the data model, or false otherwise. |
boolean |
isSubObjectsSelectionAllowed()
Returns
true if the user is allowed to select
and edit the subobjects contained in an expanded node, or
false otherwise. |
boolean |
isUpdatingPositionOnExpand()
Deprecated.
replaced by
isUpdatingPositionsOnExpand() |
boolean |
isUpdatingPositionsOnExpand()
Returns
true if the positions of subgraphs and their children
are updated when subgraphs are expanded or collapsed. |
void |
linkGraphicAdded(IlvSDMEngine engine,
Object link,
IlvGraphic graphic,
boolean redraw)
Makes the graphic object unselectable if
setSubObjectsSelectionAllowed(false) was called. |
protected void |
moveResizeNodeGraphic(IlvSDMEngine engine,
Object node,
IlvGraphic graphic,
IlvRect newBBox,
int anchor)
Move the graphic to its final position
|
protected boolean |
needsViewListeners()
This method can be overridden to specify that this renderer
needs to add listeners on all the views attached to the
grapher of the SDM engine.
|
void |
nodeGraphicAdded(IlvSDMEngine engine,
Object node,
IlvGraphic graphic,
boolean redraw)
Makes the graphic object unselectable if
setSubObjectsSelectionAllowed(false) was called. |
void |
nodeGraphicBBoxChanged(IlvSDMEngine engine,
Object node,
IlvGraphic graphic,
IlvRect oldBBox,
IlvRect newBBox,
String[] pseudoClasses)
Updates the location of a node.
|
boolean |
processServerAction(int x,
int y,
IlvManagerView view)
Processes clicks in the expand/collapse icons from the client-side
of a web application.
|
void |
propertiesChanged(IlvSDMEngine engine,
Object object,
Collection<String> propertyNames,
IlvGraphic graphic)
Updates the graphic representation of a data object.
|
protected void |
removeViewListeners(IlvManagerView view)
This method can be overridden to remove view listeners from any view attached to an SDM engine.
|
static void |
setDefaultUpdatingPositionsOnExpand(boolean updating) |
void |
setExpandCollapseEnabled(boolean enabled)
Enables or disables the expand/collapse interaction on subgraphs.
|
void |
setExpanded(IlvSDMEngine engine,
Object object,
boolean expand,
boolean redraw)
Expands or collapses a node.
|
void |
setForcingRenderingOnExpandCollapse(boolean force)
Specifies whether the
renderingDone(IlvSDMEngine engine)
method of the main SDM Renderer must be called, regardless the value of
IlvSDMEngine.getRenderingDoneMode() . |
void |
setFrameZoomable(boolean zoomable)
Specifies whether the frames and the expand/collapse icons drawn around
subgraphs are zoomable or not.
|
void |
setLeafToContainerEnabled(boolean leafToContainerEnabled)
Controls whether leaves are automatically converted to container when
a first new child is added.
|
void |
setLoadOnDemand(boolean loadOnDemand)
Enables or disables load-on-demand.
|
void |
setSavingExpandedState(boolean savingExpandedState)
Specifies whether or not the expanded state of a subgraph
is saved to the data model.
|
void |
setSubObjectsSelectionAllowed(boolean allowed)
Allows or forbids the selection of subobjects
contained in an expanded node.
|
void |
setUpdatingPositionsOnExpand(boolean update)
Specifies whether or not the positions of subgraphs and their children
must be updated when subgraphs are expanded or collapsed.
|
void |
updateObjectProperties(IlvSDMEngine engine,
Object object,
String property,
Object value,
String[] pseudoClasses)
This method converts the
x and y
coordinates of objects contained in subgraphs from absolute
coordinates to relative coordinates in the subgrapher. |
computeBBox, createLinkGraphic, getFilteredRenderer, prepareRendering, removeAll, removeLinkGraphic, removeNodeGraphic, renderingDone, setFilteredRenderer
callMoveResizeNodeGraphic, convert, convert, getAlias, getAuxiliaryBean, getAuxiliaryBeans, getEngine, getLinkConnectionRectangle, getLocation, getParameter, propertyChanged, setAlias, setEngine, setLayerName, setParameter
public static final String GRAPHER
public IlvSubGraphRenderer(IlvSDMRenderer renderer)
renderer
- The filtered renderer.public IlvSubGraphRenderer()
null
filtered renderer.public void setSubObjectsSelectionAllowed(boolean allowed)
allowed
- If true
,
the user will be able to select and edit the subobjects
contained in an expanded node. Otherwise, the subobjects
will not be selectable.public boolean isSubObjectsSelectionAllowed()
true
if the user is allowed to select
and edit the subobjects contained in an expanded node, or
false
otherwise.public void setLoadOnDemand(boolean loadOnDemand)
loadOnDemand
- If true
,
the nodes contained in a collapsed node are not created
at startup, but only when the parent node is first expanded.
If false
, all the nodes are created at startup.public boolean isLoadOnDemand()
true
if load-on-demand is enabled, or
false
otherwise.setLoadOnDemand(boolean)
public void setSavingExpandedState(boolean savingExpandedState)
"InitiallyExpanded"
.
So, for example, if the SDM style sheet contains a rule like the following:
node.process { Expandable : "true"; InitiallyExpanded : "@expanded"; }then, when a process node is expanded or collapsed, the
expanded
property of the node will be updated in the data model.
Note that if the InitiallyExpanded
property is set to a constant
value, for example:
InitiallyExpanded : "false";then the node will still be collapsed the next time the style sheet is applied, even though the data model has been updated.
savingExpandedState
- If true
,
the expanded state of a subgraph is saved to the data model
when the subgraph is expanded or collapsed.public boolean isSavingExpandedState()
true
if the expanded state of a subgraph
is saved to the data model, or false
otherwise.setSavingExpandedState(boolean)
public void setExpandCollapseEnabled(boolean enabled)
enabled
- If true
, clicking in a subgraph (or in the
expand or collapse icon if the SDM view has an interactor attached to it)
toggles the expanded state of the subgraph. If false
, clicking
in a subgraph or in its expand or collapse icon has no effect.public boolean isExpandCollapseEnabled()
true
if the expand/collapse interaction on subgraphs
is enabled.setExpandCollapseEnabled(boolean)
public void setUpdatingPositionsOnExpand(boolean update)
Normally, the position of a subgraph are consistent with the positions of its children. That is to say, the coordinates of the subgraph are such that the subgraph is initially centered with the bounding box of all its children. This ensures that the positions are always up to date when subgraphs are expanded or collapsed.
Normally, if you edit the data model using the built-in editing capabilities of the SDM engine (for example in the Workflow Modeler), this condition is always true.
If the data model is modified directly, though, this condition may not be true any more, and the positions of subgraphs and their children may be inconsistent. This may have unexpected side effects when the nodes are modified. A typical side effect is that subgraphs may be translated when you change one of their properties.
In that case, you can set this property to true
to have the
SDM engine update the positions on every expand or collapse operation.
The property is set to false
by default. Note that setting
the property to true
may slow down expand and collapse operations,
because of the additional update of the data model.
update
- If true
, the positions of a subgraph and
its children will be updated every time the subgraph is expanded or collapsed.
If false
, the positions will not be updated.@Deprecated public boolean isUpdatingPositionOnExpand()
isUpdatingPositionsOnExpand()
true
if the positions of subgraphs and their children
are updated when subgraphs are expanded or collapsed.setUpdatingPositionsOnExpand(boolean)
public boolean isUpdatingPositionsOnExpand()
true
if the positions of subgraphs and their children
are updated when subgraphs are expanded or collapsed.setUpdatingPositionsOnExpand(boolean)
public IlvGraphic createNodeGraphic(IlvSDMEngine engine, Object node)
IlvGrapher
that will contain the nodes and links of the subgraph.createNodeGraphic
in class IlvFilterSDMRenderer
engine
- The SDM engine.node
- The node.protected IlvManager createSubManager()
IlvGrapher
.public boolean isLeafToContainerEnabled()
public void setLeafToContainerEnabled(boolean leafToContainerEnabled)
leafToContainerEnabled
- Automatic conversion of leaves to containers.public void setFrameZoomable(boolean zoomable)
zoomable
- If true
, the frames and the expand/collapse icons
of all subgraphs are zoomable, that is to say they are drawn using the
transformer of the view. If false
, the frames and expand/collapse
icons are not zoomable, that is to say they are always drawn with an identity
transformer.public boolean isFrameZoomable()
true
if the frames and the expand/collapse icons
drawn around subgraphs are zoomable, or false
if they are not
zoomable.setFrameZoomable(boolean)
public void addNodeGraphic(IlvSDMEngine engine, Object node, IlvGraphic graphic, boolean redraw)
IlvGrapher
representing the subgraph.addNodeGraphic
in class IlvFilterSDMRenderer
engine
- The SDM engine associated with the grapher in which
the graphic object will be added.node
- The node that is being translated into an IlvGraphic
.graphic
- The graphic object returned by createNodeGraphic
.redraw
- If true
, the region covered
by the new graphic object must be redrawn.public void addLinkGraphic(IlvSDMEngine engine, Object link, IlvGraphic graphic, boolean redraw)
IlvGrapher
representing the subgraph.addLinkGraphic
in class IlvFilterSDMRenderer
engine
- The SDM engine associated with the grapher in which
the graphic object will be added.link
- The link that is being translated into an IlvGraphic
.graphic
- The graphic object returned by createLinkGraphic
.redraw
- If true
, the region covered by the new
graphic object must be redrawn.public void nodeGraphicAdded(IlvSDMEngine engine, Object node, IlvGraphic graphic, boolean redraw)
setSubObjectsSelectionAllowed(false)
was called.nodeGraphicAdded
in class IlvFilterSDMRenderer
engine
- The SDM engine associated with the grapher in which
the graphic object has been added.node
- The node that is being translated into an IlvGraphic
.graphic
- The graphic object returned by createNodeGraphic
.redraw
- If true
, the region covered by the new
graphic object must be redrawn.setSubObjectsSelectionAllowed(boolean)
public void linkGraphicAdded(IlvSDMEngine engine, Object link, IlvGraphic graphic, boolean redraw)
setSubObjectsSelectionAllowed(false)
was called.linkGraphicAdded
in class IlvFilterSDMRenderer
engine
- The SDM engine associated with the grapher in which
the graphic object has been added.link
- The link that is being translated into an IlvGraphic
.graphic
- The graphic object returned by createLinkGraphic
.redraw
- If true
, the region covered by the new
graphic object must be redrawn.setSubObjectsSelectionAllowed(boolean)
public void customize(IlvSDMEngine engine, Object object, IlvGraphic g, String[] pseudoClass)
IlvGrapher
, this method
customizes either the IlvGrapher
's border, or its
collapsed graphic object, depending on whether the grapher is expanded
or collapsed.customize
in class IlvFilterSDMRenderer
engine
- The SDM engine.object
- The data object that the graphic object represents.g
- The graphic object to customize.pseudoClass
- The pseudo-class of the object. This parameter
can be null
.public void propertiesChanged(IlvSDMEngine engine, Object object, Collection<String> propertyNames, IlvGraphic graphic)
propertiesChanged
in class IlvFilterSDMRenderer
engine
- The SDM engine associated with the grapher in
which the graphic object is displayed.object
- The data object whose property has changed.propertyNames
- The names of the properties that have been modified.graphic
- The graphic object associated with object
.public IlvGraphic getEncapsulatedGraphic(IlvGraphic g)
IlvGrapher
, this method
returns either the IlvGrapher
's border, or its
collapsed graphic object, depending on whether the grapher is expanded
or collapsed.getEncapsulatedGraphic
in class IlvFilterSDMRenderer
g
- A graphic object returned by createNodeGraphic
.public void setExpanded(IlvSDMEngine engine, Object object, boolean expand, boolean redraw)
engine
- The SDM engine.object
- The data node to expand or collapse.expand
- If true
, the
node will be expanded; otherwise the node will be collapsed.redraw
- If true
, the area covered by the
expanded or collapsed node will be redrawn.public void setForcingRenderingOnExpandCollapse(boolean force)
renderingDone(IlvSDMEngine engine)
method of the main SDM Renderer must be called, regardless the value of
IlvSDMEngine.getRenderingDoneMode()
.
This value defaults to true
. If you do not want the
renderingDone
method of the main SDM Renderer to be called
when you set the renderingDoneMode
to
IlvSDMEngine.NEVER
, call this method with
the force
parameter set to false
.force
- true
if renderingDone
is called
regardless the renderingDoneMode
property of
the SDM Engine.public boolean isForcingRenderingOnExpandCollapse()
renderingDone
is called
regardless the renderingDoneMode
property of
the SDM Engine.public boolean isExpanded(IlvSDMEngine engine, Object object)
engine
- The SDM engine.object
- The data node to expand or collapse.true
if object
is a
compound node and if it is expanded, or false
otherwise.public Object getGraphicProperty(IlvSDMEngine engine, Object object, String property, String[] pseudoClass, Class<?> targetClass)
Layer
rendering property so that
subgraphs are displayed on top of their frames.getGraphicProperty
in class IlvFilterSDMRenderer
engine
- The SDM engine.object
- The data object that is being rendered.property
- The name of the graphic property.pseudoClass
- The pseudo-class of the object. This parameter can be null
.targetClass
- The class of the object on which the property will be
set. The method can introspect the class to determine the type
of the property, and convert the value if necessary. If this argument
is null
, the property should be returned without conversion.public void updateObjectProperties(IlvSDMEngine engine, Object object, String property, Object value, String[] pseudoClasses)
x
and y
coordinates of objects contained in subgraphs from absolute
coordinates to relative coordinates in the subgrapher.updateObjectProperties
in class IlvFilterSDMRenderer
engine
- The SDM engine.object
- The data object.property
- The name of the graphic property.value
- The new value of the property.pseudoClasses
- The pseudo-classes of the objects.
This parameter can be null
.public void nodeGraphicBBoxChanged(IlvSDMEngine engine, Object node, IlvGraphic graphic, IlvRect oldBBox, IlvRect newBBox, String[] pseudoClasses)
nodeGraphicBBoxChanged
in class IlvFilterSDMRenderer
engine
- The SDM engine.node
- The data node that the graphic object represents.graphic
- The graphic object that has been moved and/or resized.oldBBox
- The bounding box of the graphic object before
the change.newBBox
- The bounding box of the graphic object after
the change.pseudoClasses
- The pseudo-classes of the object.
This parameter can be null
.public IlvRect getLinkConnectionRectangle(IlvSDMEngine engine, IlvGraphic graphic, IlvTransformer t, IlvLinkConnector lc)
getLinkConnectionRectangle
in class IlvFilterSDMRenderer
engine
- The SDM engine.graphic
- The graphic object.t
- The transformer.lc
- The link connector from which this is called.protected void moveResizeNodeGraphic(IlvSDMEngine engine, Object node, IlvGraphic graphic, IlvRect newBBox, int anchor)
moveResizeNodeGraphic
in class IlvFilterSDMRenderer
engine
- The SDM engine.node
- The data node that the graphic object represents.graphic
- The graphic object that to be moved and/or resized.newBBox
- An IlvRectangle
initialized with the "x"
, "y"
,
"width"
and "height"
graphic properties.
If the width or height of the rectangle are non-zero, the graphic object
is moved and resized, otherwise the graphic object is only moved.
The final position must be stored in this parameter.anchor
- see IlvDirection
for the possible valuespublic boolean processServerAction(int x, int y, IlvManagerView view)
processServerAction
in class IlvFilterSDMRenderer
x
- The X coordinate of the point where the user clicked on the client-side,
in view coordinates.y
- The y coordinate of the point where the user clicked on the client-side,
in view coordinates.view
- The view used to render the graph image.true
if the action was processed,
false
if the action was not processed.protected void addViewListeners(IlvManagerView view)
This method is called only if IlvSDMRenderer.needsViewListeners()
returns true
.
The default implementation does nothing.
addViewListeners
in class IlvSDMRenderer
view
- The manager view.IlvSDMRenderer.needsViewListeners()
protected boolean needsViewListeners()
If this method returns true
, then the SDM renderer
will make sure that the methods IlvSDMRenderer.addViewListeners(ilog.views.IlvManagerView)
and
IlvSDMRenderer.removeViewListeners(ilog.views.IlvManagerView)
are called as appropriate for each view
attached to the SDM engine.
For example, if your renderer needs to install a transformer listener
on all views (for example to adjust the graphic objects when the view
is zoomed or unzoomed), you would override the needsViewListeners
method to return true
and the add/removeViewListener
methods to add/remove your transformer listener.
If this method returns false
, then the methods
IlvSDMRenderer.addViewListeners(ilog.views.IlvManagerView)
and
IlvSDMRenderer.removeViewListeners(ilog.views.IlvManagerView)
are never called.
The default implementation returns false
to indicate
that the basic SDM renderer does not install any listeners on views.
protected void removeViewListeners(IlvManagerView view)
This method is called only if IlvSDMRenderer.needsViewListeners()
returns true
.
The default implementation does nothing.
removeViewListeners
in class IlvSDMRenderer
view
- The manager view.IlvSDMRenderer.needsViewListeners()
public static void setDefaultUpdatingPositionsOnExpand(boolean updating)
updating
- © Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.