All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class fi.helsinki.cs.MapDrawer.TextElement

java.lang.Object
   |
   +----fi.helsinki.cs.MapDrawer.MapElement
           |
           +----fi.helsinki.cs.MapDrawer.PointElement
                   |
                   +----fi.helsinki.cs.MapDrawer.TextElement

public class TextElement
extends PointElement

Constructor Index

 o TextElement()

Method Index

 o draw(Graphics, MapDrawer, Stack, int)
Draws the icon and the text of this element.
 o getProperty(MapDProp)
Property supported: text.
 o setProperty(MapDProp)
Property supported: text.

Constructors

 o TextElement
 public TextElement()

Methods

 o draw
 public void draw(Graphics g,
                  MapDrawer contr,
                  Stack layout,
                  int level)
Draws the icon and the text of this element.

Overrides:
draw in class PointElement
 o setProperty
 public int setProperty(MapDProp p)
Property supported: text.

Overrides:
setProperty in class PointElement
 o getProperty
 public int getProperty(MapDProp p)
Property supported: text.

Overrides:
getProperty in class MapElement

All Packages  Class Hierarchy  This Package  Previous  Next  Index