nl.javel.gisbeans.map
Class StaticAttribute
java.lang.Object
nl.javel.gisbeans.map.AbstractAttribute
nl.javel.gisbeans.map.StaticAttribute
- All Implemented Interfaces:
- Serializable, AttributeInterface
public class StaticAttribute
- extends AbstractAttribute
(c) copyright 2003 Delft
University of Technology , the Netherlands.
See for project information www.simulation.tudelft.nl
License of use: General Public
License (GPL) , no warranty
- Since:
- 1.4
- Version:
- 1.2 Jun 22, 2004
- Author:
- Peter
Jacobs
- See Also:
- Serialized Form
Method Summary |
double |
getAngle(int shapeIndex)
returns the angle of the attribute |
String |
getValue(int shapeIndex)
|
Methods inherited from class nl.javel.gisbeans.map.AbstractAttribute |
getFont, getFontColor, getLayer, getMaxScale, getMinScale, getPosition, setFont, setFontColor, setMaxScale, setMinScale, setPosition |
StaticAttribute
public StaticAttribute(LayerInterface layer,
double angle,
String value)
- constructs a new StaticAttribute
- Parameters:
layer
- the layerangle
- the anglevalue
- the value
getAngle
public double getAngle(int shapeIndex)
- Description copied from interface:
AttributeInterface
- returns the angle of the attribute
- Specified by:
getAngle
in interface AttributeInterface
- Specified by:
getAngle
in class AbstractAttribute
- Parameters:
shapeIndex
- the shapeIndex
- Returns:
- the angle
- See Also:
AttributeInterface.getAngle(int)
getValue
public String getValue(int shapeIndex)
- Specified by:
getValue
in interface AttributeInterface
- Specified by:
getValue
in class AbstractAttribute
- Parameters:
shapeIndex
- the shapeIndex
- Returns:
- the value of the attribute
- See Also:
AttributeInterface.getValue(int)