public class IlpUniformLengthEdgesLayoutParameters extends IlpGraphLayoutParameters
To customize per-object properties, the graph layout renderer must be enabled and configured to customize per-object properties.
IlvUniformLengthEdgesLayout
Constructor and Description |
---|
IlpUniformLengthEdgesLayoutParameters()
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.
|
double |
getPreferredLength()
Returns the preferred length of a link.
|
void |
reset()
Resets the configuration in this bean.
|
void |
setPreferredLength(double length)
Sets the preferred length of a link.
|
isFixed, isLayoutIgnored, setFixed, setLayoutIgnored
public IlpUniformLengthEdgesLayoutParameters()
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 setPreferredLength(double length)
After having specified a length for a link, you can call the method with a strictly negative value to indicate that the global preferred length must be used again for this link.
By default, no length is specified for the individual links.
public double getPreferredLength()
setPreferredLength(double)
© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.