|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.askalon.graph.chart.HierarchyLayout
public class HierarchyLayout
Allows to specify a layout for a level of the hierarchy chart using the ratio of number of elements to be placed on X-axis : number of elements Z-axis.
Field Summary | |
---|---|
static HierarchyLayout |
FOUR_TO_ONE
Layouting of components in 4:1 (X axis : Z axis) ratio |
static HierarchyLayout |
HORIZONTAL
Horizontal layouting of components |
static HierarchyLayout |
ONE_TO_FOUR
Layouting of components in 1:4 (X axis : Z axis) ratio |
static HierarchyLayout |
ONE_TO_TWO
Layouting of components in 1:2 (X axis : Z axis) ratio |
static HierarchyLayout |
SQUARE
Square layouting of components |
static HierarchyLayout |
TWO_TO_ONE
Layouting of components in 2:1 (X axis : Z axis) ratio |
static HierarchyLayout |
VERTICAL
Vertical layouting of components |
Constructor Summary | |
---|---|
HierarchyLayout(int layoutRatioX,
int layoutRatioZ)
Creates a new HierarchyLayout. |
Method Summary | |
---|---|
boolean |
equals(HierarchyLayout hl)
Tests the equality of the ratios of two layouts. |
int |
getLayoutRatioX()
Gets the X-ratio |
int |
getLayoutRatioZ()
Gets the Z-ratio |
String |
toString()
Gets the name of this layout. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final HierarchyLayout HORIZONTAL
public static final HierarchyLayout SQUARE
public static final HierarchyLayout VERTICAL
public static final HierarchyLayout FOUR_TO_ONE
public static final HierarchyLayout TWO_TO_ONE
public static final HierarchyLayout ONE_TO_TWO
public static final HierarchyLayout ONE_TO_FOUR
Constructor Detail |
---|
public HierarchyLayout(int layoutRatioX, int layoutRatioZ)
for a description of parameters
Method Detail |
---|
public int getLayoutRatioX()
getLayoutRatioZ()
public int getLayoutRatioZ()
getLayoutRatioX()
public boolean equals(HierarchyLayout hl)
hl
- the HierarchyLayout to compare this one with
public String toString()
toString
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Part of: |
ASKALON Visualisation Diagrams |