gishur.gui2.painter
Class PolygonStyle

java.lang.Object
  |
  +--gishur.gui2.Style
        |
        +--gishur.gui2.painter.PolygonStyle

public class PolygonStyle
extends Style

The Style-class for the inner area of polygons. It creates PolygonPainters to perform the drawing operation.

Version:
1.0
Author:
Christoph Sachse

Constructor Summary
PolygonStyle()
           
 
Method Summary
protected  Painter createNewPainter()
          Creates a new Painter object.
protected  java.lang.String stylePrefix()
          Returns the style prefix string used for reading properties by all Painters that are created by this Style.
 
Methods inherited from class gishur.gui2.Style
createPainter, validatePainterCreation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PolygonStyle

public PolygonStyle()
Method Detail

stylePrefix

protected java.lang.String stylePrefix()
Returns the style prefix string used for reading properties by all Painters that are created by this Style.
Overrides:
stylePrefix in class Style
Returns:
the style prefix string used for reading properties.

createNewPainter

protected Painter createNewPainter()
Creates a new Painter object.
Overrides:
createNewPainter in class Style
Returns:
new Painter instance.