public class DefaultGridTopology extends java.lang.Object implements AreaTopology
| Constructor and Description |
|---|
DefaultGridTopology(DefaultArea area) |
| Modifier and Type | Method and Description |
|---|---|
void |
drawLayout(OutputDisplay disp) |
Area |
getArea() |
int |
getHeight()
Obtains the height the area occupies.
|
int |
getMaxIndent() |
int |
getMinIndent() |
Area |
getNextOnLine() |
Rectangular |
getPosition()
Obtains the position of the area in its parent area.
|
Area |
getPreviousOnLine() |
int |
getTopologyHeight()
Obtains the total height of the topology used for placing the child
areas within this area.
|
int |
getTopologyWidth()
Obtains the total width of the topology used for placing the child
areas within this area.
|
int |
getWidth()
Obtains the width the area occupies.
|
public DefaultGridTopology(DefaultArea area)
public Area getArea()
public int getTopologyWidth()
AreaTopologygetTopologyWidth in interface AreaTopologypublic int getTopologyHeight()
AreaTopologygetTopologyHeight in interface AreaTopologypublic int getWidth()
AreaTopologygetWidth in interface AreaTopologypublic int getHeight()
AreaTopologygetHeight in interface AreaTopologypublic Rectangular getPosition()
AreaTopologygetPosition in interface AreaTopologypublic Area getPreviousOnLine()
getPreviousOnLine in interface AreaTopologypublic Area getNextOnLine()
getNextOnLine in interface AreaTopologypublic int getMinIndent()
getMinIndent in interface AreaTopologypublic int getMaxIndent()
getMaxIndent in interface AreaTopologypublic void drawLayout(OutputDisplay disp)
drawLayout in interface AreaTopology