Package 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
-
-
Field Summary
-
Fields inherited from class jcckit.plot.AbstractSymbolFactory
_attributes, _size
-
Fields inherited from interface jcckit.plot.SymbolFactory
ATTRIBUTES_KEY, DEFAULT_SIZE, SIZE_KEY
-
-
Constructor Summary
Constructors Constructor Description SquareSymbolFactory(ConfigParameters config)
Creates an instance from the specified configuration parameters.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected GraphicalElement
createPlainSymbol(GraphPoint centerPosition, double size, GraphicAttributes attributes)
Creates aRectangle
.-
Methods inherited from class jcckit.plot.AbstractSymbolFactory
createLegendSymbol, createSymbol, createSymbol
-
-
-
-
Constructor Detail
-
SquareSymbolFactory
public SquareSymbolFactory(ConfigParameters config)
Creates an instance from the specified configuration parameters. For the configuration parameters see the constructor of the superclassAbstractSymbolFactory
.
-
-
Method Detail
-
createPlainSymbol
protected GraphicalElement createPlainSymbol(GraphPoint centerPosition, double size, GraphicAttributes attributes)
Creates aRectangle
.- Specified by:
createPlainSymbol
in classAbstractSymbolFactory
- Parameters:
centerPosition
- Position of the center of the rectangle.size
- Diameter of the rectangle.attributes
- Rectangle attributes.
-
-