gishur.gui2.painter
Class SquarePointStyle

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

public class SquarePointStyle
extends Style

The Style-class for points of a square shape. Objects of this class manage the drawing and calculation of all DisplayXPoints of a group of DisplayXObjects giving them square shape. It creates SquarePointPainters to perform the drawing operation.

Version:
1.0
Author:
Christoph Sachse

Constructor Summary
SquarePointStyle()
           
 
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

SquarePointStyle

public SquarePointStyle()
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.