jcckit.plot
Class SquareSymbolFactory

java.lang.Object
  |
  +--jcckit.plot.AbstractSymbolFactory
        |
        +--jcckit.plot.SquareSymbolFactory
All Implemented Interfaces:
SymbolFactory

public class SquareSymbolFactory
extends AbstractSymbolFactory

A factory of square symbols.

Author:
Franz-Josef Elmer

Fields inherited from class jcckit.plot.AbstractSymbolFactory
_attributes, _size
 
Fields inherited from interface jcckit.plot.SymbolFactory
ATTRIBUTES_KEY, DEFAULT_SIZE, SIZE_KEY
 
Constructor Summary
SquareSymbolFactory(ConfigParameters config)
          Creates an instance from the specfied configuration parameters.
 
Method Summary
protected  GraphicalElement createPlainSymbol(GraphPoint centerPosition, double size, GraphicAttributes attributes)
          Creates a Rectangle.
 
Methods inherited from class jcckit.plot.AbstractSymbolFactory
createLegendSymbol, createSymbol, createSymbol
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SquareSymbolFactory

public SquareSymbolFactory(ConfigParameters config)
Creates an instance from the specfied configuration parameters. For the configuration parameters see the constructor of the superclass AbstractSymbolFactory.
Method Detail

createPlainSymbol

protected GraphicalElement createPlainSymbol(GraphPoint centerPosition,
                                             double size,
                                             GraphicAttributes attributes)
Creates a Rectangle.
Overrides:
createPlainSymbol in class AbstractSymbolFactory
Parameters:
centerPosition - Position of the center of the rectangle.
size - Diameter of the rectangle.
attributes - Rectangle attributes.