nl.javel.gisbeans.map
Interface AttributeInterface

All Superinterfaces:
Serializable
All Known Implementing Classes:
AbstractAttribute, Attribute, StaticAttribute

public interface AttributeInterface
extends Serializable

This class defines the attribute interface

Since:
JDK 1.0
Version:
1.0
Author:
Paul Jacobs

Method Summary
 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()
           
 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)
           
 

Method Detail

getAngle

double getAngle(int shapeIndex)
returns the angle of the attribute

Parameters:
shapeIndex - the shapeIndex
Returns:
the angle

getFont

Font getFont()
Returns:

getFontColor

Color getFontColor()
Returns:

getPosition

int getPosition()
Returns:

getValue

String getValue(int shapeIndex)
Parameters:
shapeIndex - the shapeIndex
Returns:
the value of the attribute

setFont

void setFont(Font font)
Parameters:
font -

setFontColor

void setFontColor(Color fontColor)
Parameters:
fontColor -

setPosition

void setPosition(int position)
Parameters:
position -

getLayer

LayerInterface getLayer()
returns the layer

Returns:
the layer of this attribute

getMaxScale

double getMaxScale()
Returns:
the maxScale

getMinScale

double getMinScale()
Returns:
the minScale

setMinScale

void setMinScale(double minScale)
sets the minScale of the attribute

Parameters:
minScale -

setMaxScale

void setMaxScale(double maxScale)
sets the maxScale of the attribute

Parameters:
maxScale -