All Packages Class Hierarchy This Package Previous Next Index
Class fi.helsinki.cs.MapDrawer.RectLayout
java.lang.Object
|
+----fi.helsinki.cs.MapDrawer.LayoutObject
|
+----fi.helsinki.cs.MapDrawer.RectLayout
- public class RectLayout
- extends LayoutObject
With this Layout, custom rectangle-sized layouts can be made.
-
s
-
-
RectLayout()
-
-
RectLayout(RectLayout)
-
-
RectLayout(RelRect)
-
-
getBoundRect()
-
Gives the bounding rectangle of this RectLayout.
-
scalePoint(RelPoint)
- Scales a RelPoint to the RelRect.
-
setProperty(MapDProp)
- Parse properties.
-
toPolygon()
- Give the shape of this area as a Polygon.
s
protected RelRect s
RectLayout
public RectLayout()
RectLayout
public RectLayout(RelRect o)
RectLayout
public RectLayout(RectLayout orig)
scalePoint
public RelPoint scalePoint(RelPoint org)
- Scales a RelPoint to the RelRect.
- Overrides:
- scalePoint in class LayoutObject
getBoundRect
public RelRect getBoundRect()
- Gives the bounding rectangle of this RectLayout.
- Overrides:
- getBoundRect in class LayoutObject
toPolygon
public Vector toPolygon()
- Give the shape of this area as a Polygon.
- Overrides:
- toPolygon in class LayoutObject
setProperty
public int setProperty(MapDProp p)
- Parse properties. Properties supported:
left, right, top, bottom
- Overrides:
- setProperty in class LayoutObject
All Packages Class Hierarchy This Package Previous Next Index