gishur.x2.gui
Class FancyPointStyle
java.lang.Object
|
+--gishur.gui2.Style
|
+--gishur.x2.gui.FancyPointStyle
- public class FancyPointStyle
- extends Style
The Style
-class for points containig an image. Objects of this class
manage the drawing and calculation of all DisplayXPoints
of a group of DisplayXObjects
giving them their
appropiate appearance. It creates FancyPointPainters
to perform the drawing operation.
- Version:
- 1.0
- Author:
- Christoph Sachse
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FancyPointStyle
public FancyPointStyle()
- Empty constructor setting grey as the default color for this
FancyPointStyle
.
FancyPointStyle
public FancyPointStyle(java.awt.Color color)
- Constructor defining the points' further color.
setColor
public void setColor(java.awt.Color color)
- Sets the image of this
Style's
points to the argument.
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.