|
||||||||||
| 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 attribute| Method Detail |
|---|
public void setFont(Font font)
setFont in interface AttributeInterfaceAttributeInterface.setFont(java.awt.Font)public Font getFont()
getFont in interface AttributeInterfaceAttributeInterface.getFont()public Color getFontColor()
getFontColor in interface AttributeInterfaceAttributeInterface.getFontColor()public void setFontColor(Color fontColor)
setFontColor in interface AttributeInterfaceAttributeInterface.setFontColor(java.awt.Color)public abstract String getValue(int shapeIndex)
getValue in interface AttributeInterfaceshapeIndex - the shapeIndex
AttributeInterface.getValue(int)public abstract double getAngle(int shapeIndex)
AttributeInterface
getAngle in interface AttributeInterfaceshapeIndex - the shapeIndex
AttributeInterface.getAngle(int)public int getPosition()
getPosition in interface AttributeInterfaceAttributeInterface.getPosition()public void setPosition(int position)
setPosition in interface AttributeInterfaceAttributeInterface.setPosition(int)public LayerInterface getLayer()
AttributeInterface
getLayer in interface AttributeInterfaceAttributeInterface.getLayer()public double getMaxScale()
getMaxScale in interface AttributeInterfaceAttributeInterface.getMaxScale()public double getMinScale()
getMinScale in interface AttributeInterfaceAttributeInterface.getMinScale()public void setMaxScale(double maxScale)
AttributeInterface
setMaxScale in interface AttributeInterfacenl.javel.gisbeans.map.AttributeInterface#setMaxScale(int)public void setMinScale(double minScale)
AttributeInterface
setMinScale in interface AttributeInterfacenl.javel.gisbeans.map.AttributeInterface#setMinScale(int)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||