|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnl.javel.gisbeans.map.AbstractAttribute
public abstract class AbstractAttribute
This class defines the attribute.
Constructor Summary | |
---|---|
AbstractAttribute(LayerInterface layer)
constructs a new AbstractAttribute |
Method Summary | |
---|---|
abstract double |
getAngle(int shapeIndex)
returns the angle of the attribute |
Font |
getFont()
|
Color |
getFontColor()
|
LayerInterface |
getLayer()
returns the layer |
double |
getMaxScale()
|
double |
getMinScale()
|
int |
getPosition()
|
abstract String |
getValue(int shapeIndex)
|
void |
setFont(Font font)
|
void |
setFontColor(Color fontColor)
|
void |
setMaxScale(double maxScale)
sets the maxScale of the attribute |
void |
setMinScale(double minScale)
sets the minScale of the attribute |
void |
setPosition(int position)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractAttribute(LayerInterface layer)
layer
- the layer of this attributeMethod Detail |
---|
public void setFont(Font font)
setFont
in interface AttributeInterface
AttributeInterface.setFont(java.awt.Font)
public Font getFont()
getFont
in interface AttributeInterface
AttributeInterface.getFont()
public Color getFontColor()
getFontColor
in interface AttributeInterface
AttributeInterface.getFontColor()
public void setFontColor(Color fontColor)
setFontColor
in interface AttributeInterface
AttributeInterface.setFontColor(java.awt.Color)
public abstract String getValue(int shapeIndex)
getValue
in interface AttributeInterface
shapeIndex
- the shapeIndex
AttributeInterface.getValue(int)
public abstract double getAngle(int shapeIndex)
AttributeInterface
getAngle
in interface AttributeInterface
shapeIndex
- the shapeIndex
AttributeInterface.getAngle(int)
public int getPosition()
getPosition
in interface AttributeInterface
AttributeInterface.getPosition()
public void setPosition(int position)
setPosition
in interface AttributeInterface
AttributeInterface.setPosition(int)
public LayerInterface getLayer()
AttributeInterface
getLayer
in interface AttributeInterface
AttributeInterface.getLayer()
public double getMaxScale()
getMaxScale
in interface AttributeInterface
AttributeInterface.getMaxScale()
public double getMinScale()
getMinScale
in interface AttributeInterface
AttributeInterface.getMinScale()
public void setMaxScale(double maxScale)
AttributeInterface
setMaxScale
in interface AttributeInterface
nl.javel.gisbeans.map.AttributeInterface#setMaxScale(int)
public void setMinScale(double minScale)
AttributeInterface
setMinScale
in interface AttributeInterface
nl.javel.gisbeans.map.AttributeInterface#setMinScale(int)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |