nl.javel.gisbeans.map
Class StaticAttribute

java.lang.Object
  extended by nl.javel.gisbeans.map.AbstractAttribute
      extended by 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

Constructor Summary
StaticAttribute(LayerInterface layer, double angle, String value)
          constructs a new StaticAttribute
 
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
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StaticAttribute

public StaticAttribute(LayerInterface layer,
                       double angle,
                       String value)
constructs a new StaticAttribute

Parameters:
layer - the layer
angle - the angle
value - the value
Method Detail

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)