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()
AreaTopology
getTopologyWidth
in interface AreaTopology
public int getTopologyHeight()
AreaTopology
getTopologyHeight
in interface AreaTopology
public int getWidth()
AreaTopology
getWidth
in interface AreaTopology
public int getHeight()
AreaTopology
getHeight
in interface AreaTopology
public Rectangular getPosition()
AreaTopology
getPosition
in interface AreaTopology
public Area getPreviousOnLine()
getPreviousOnLine
in interface AreaTopology
public Area getNextOnLine()
getNextOnLine
in interface AreaTopology
public int getMinIndent()
getMinIndent
in interface AreaTopology
public int getMaxIndent()
getMaxIndent
in interface AreaTopology
public void drawLayout(OutputDisplay disp)
drawLayout
in interface AreaTopology