|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnl.javel.gisbeans.map.AbstractAttribute
nl.javel.gisbeans.map.Attribute
public class Attribute
An attribute.
(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
Field Summary | |
---|---|
static short |
DEGREES
DEGREES |
static short |
RADIANS
RADIANS |
Constructor Summary | |
---|---|
Attribute(LayerInterface layer,
short mode,
int angleColumn,
int valueColumn)
constructs a new Attribute |
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 |
Field Detail |
---|
public static final short RADIANS
public static final short DEGREES
Constructor Detail |
---|
public Attribute(LayerInterface layer, short mode, int angleColumn, int valueColumn)
layer
- mode
- the mode (degrees or radians)angleColumn
- the angleColumnvalueColumn
- the valueColumnMethod Detail |
---|
public double getAngle(int shapeIndex)
AttributeInterface
getAngle
in interface AttributeInterface
getAngle
in class AbstractAttribute
shapeIndex
- the shapeIndex
AttributeInterface.getAngle(int)
public String getValue(int shapeIndex)
getValue
in interface AttributeInterface
getValue
in class AbstractAttribute
shapeIndex
- the shapeIndex
AttributeInterface.getValue(int)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |