|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectilog.cpl.graph.graphlayout.css.IlpGraphLayoutParameters
public class IlpGraphLayoutParameters
This class models the Java Bean used to configure per-object properties that are valid to all graph layouts.
IlvGraphLayout| Constructor Summary | |
|---|---|
IlpGraphLayoutParameters()
Default constructor |
|
| Method Summary | |
|---|---|
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. |
boolean |
isFixed()
Allows you to specify whether a node or a link is fixed. |
boolean |
isLayoutIgnored()
Indicates if the node or link should be ignored by this graph or link layout. |
void |
reset()
Resets the configuration in this bean. |
void |
setFixed(boolean fix)
Allows you to specify whether a node or a link is fixed. |
void |
setLayoutIgnored(boolean ignore)
Allows you to specify whether a node or a link shall be ignored by the graph layout. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IlpGraphLayoutParameters()
| Method Detail |
|---|
public void reset()
If you are subclassing this class or one of its subclasses, you must always call the superclass reset method, as illustrated below:
public void reset() {
super.reset();
// Then add below the code to reset your new properties
}
public boolean apply(IlvGraphLayout layout,
IlpRepresentationObject ro,
IlvGraphic layoutProxy)
If you are subclassing this class or one of its subclasses,
you must always call the superclass apply method,
as illustrated below:
public void apply (...) {
super.apply(...);
// Then add below the code to set your new properties
}
layout - Graph Layoutro - Object to which the configuration will be appliedlayoutProxy - Layout graphic object for a node or linkpublic void setFixed(boolean fix)
IlvGraphLayout.isPreserveFixedNodes()
returns true. By default, no node is fixed.
Fixed links are not reshaped during the layout only if the method
IlvGraphLayout.isPreserveFixedLinks() returns
true. By default, no link is fixed.
fix - Indicates if the node or link shall be fixedpublic boolean isFixed()
IlvGraphLayout.isPreserveFixedNodes()
returns true. By default, no node is fixed.
Fixed links are not reshaped during the layout only if the method
IlvGraphLayout.isPreserveFixedLinks() returns
true. By default, no link is fixed.
public void setLayoutIgnored(boolean ignore)
If this property is set to true, the object will be
completely ignored by the graph model (using an
IlvLayoutGraphicFilter).
ignore - Indicates if the object will be ignored or nodepublic boolean isLayoutIgnored()
|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||