public class IlpCircularLayoutParameters extends IlpGraphLayoutParameters
To customize per-object properties, the graph layout renderer must be enabled and configured to customize per-object properties.
IlvCircularLayout
Constructor and Description |
---|
IlpCircularLayoutParameters()
Default constructor
|
Modifier and Type | Method and Description |
---|---|
boolean |
apply(IlvGraphLayout layout,
IlpRepresentationObject ro,
IlvGraphic layoutProxy)
Applies the configuration that is stored in this bean into
the given layout for the given node.
|
IlvClusterId[] |
getClusterIds()
Returns the cluster identifiers for the clusters to which node
belongs.
|
IlvClusterId |
getClusterIds(int index)
Returns the cluster identifier of the given index
for the cluster to which this node belongs
|
int[] |
getIndex()
Returns the index for the node.
|
int |
getIndex(int i)
Returns the index to which the node belongs in the unique
cluster.
|
boolean |
isStarCenter()
Returns if the bean applies to the star center object.
|
void |
reset()
Resets the configuration in this bean.
|
void |
setClusterIds(IlvClusterId[] ids)
Sets the cluster identifiers to which node belongs.
|
void |
setClusterIds(int index,
IlvClusterId id)
Allows you to add a cluster identifier id to the list of cluster
identifiers to which node belongs.
|
void |
setIndex(int[] values)
Allows you to specify that node belongs to a unique cluster
of a given identifier id and is associated with the integer
value index
|
void |
setIndex(int i,
int value)
Allows you to specify that node belongs to a unique cluster of
a given identifier id and is associated with the integer value
index.
|
void |
setStarCenter(boolean flag)
Indicates that the object being configured by this bean will
become or not the star center in the circular layout.
|
isFixed, isLayoutIgnored, setFixed, setLayoutIgnored
public IlpCircularLayoutParameters()
public void reset()
reset
in class IlpGraphLayoutParameters
public boolean apply(IlvGraphLayout layout, IlpRepresentationObject ro, IlvGraphic layoutProxy)
apply
in class IlpGraphLayoutParameters
layout
- Graph Layoutro
- Object to which the configuration will be appliedlayoutProxy
- Layout graphic object for a node or linkpublic void setStarCenter(boolean flag)
flag
- Start center flagIlvCircularLayout.setStarCenter(java.lang.Object, boolean)
public boolean isStarCenter()
IlvCircularLayout.isStarCenter(java.lang.Object)
public void setClusterIds(IlvClusterId[] ids)
ids
- Cluster identifiersIlvCircularLayout.getClusterIds(java.lang.Object)
public void setClusterIds(int index, IlvClusterId id)
index
- Indexid
- Cluster identifierIlvCircularLayout.getClusterIds(java.lang.Object)
public IlvClusterId[] getClusterIds()
IlvCircularLayout.getClusterIds(java.lang.Object)
public IlvClusterId getClusterIds(int index)
index
- Index of the cluster identifier being queried.IlvCircularLayout.getClusterIds(java.lang.Object)
public void setIndex(int[] values)
values
- Node indexIlvCircularLayout.getIndex(java.lang.Object, ilog.views.graphlayout.circular.IlvClusterId)
public void setIndex(int i, int value)
i
- Indexvalue
- Node indexIlvCircularLayout.getIndex(java.lang.Object, ilog.views.graphlayout.circular.IlvClusterId)
public int[] getIndex()
IlvCircularLayout.getIndex(java.lang.Object, ilog.views.graphlayout.circular.IlvClusterId)
public int getIndex(int i)
i
- indexIlvCircularLayout.getIndex(java.lang.Object, ilog.views.graphlayout.circular.IlvClusterId)
© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.