ch.epfl.scapetoad
Class SizeErrorStyle
java.lang.Object
ch.epfl.scapetoad.SizeErrorStyle
public class SizeErrorStyle
- extends java.lang.Object
The SizeErrorStyle produces the thematic map based on the SizeError
attribute.
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SizeErrorStyle
public SizeErrorStyle()
clone
public java.lang.Object clone()
- Overrides:
clone
in class java.lang.Object
initialize
public void initialize(Layer layer)
isEnabled
public boolean isEnabled()
paint
public void paint(Feature f,
java.awt.Graphics2D g,
Viewport viewport)
throws java.awt.geom.NoninvertibleTransformException
- Throws:
java.awt.geom.NoninvertibleTransformException
setEnabled
public void setEnabled(boolean enabled)
setDefaultStyle
public void setDefaultStyle(BasicStyle defaultStyle)
getNumberOfColors
public int getNumberOfColors()
getColorAtIndex
public BasicStyle getColorAtIndex(int index)
addColor
public void addColor(BasicStyle color)
setColorAtIndex
public void setColorAtIndex(BasicStyle color,
int index)
getNumberOfLimits
public int getNumberOfLimits()
getLimitAtIndex
public java.lang.Double getLimitAtIndex(int index)
addLimit
public void addLimit(java.lang.Double limit)
setLimitAtIndex
public void setLimitAtIndex(java.lang.Double limit,
int index)
setAttributeName
public void setAttributeName(java.lang.String attrName)