physicon.graphLib
Class CircleMarkerDrawer

java.lang.Object
  |
  +--physicon.graphLib.DrawerBase
        |
        +--physicon.graphLib.MarkerDrawerBase
              |
              +--physicon.graphLib.CircleMarkerDrawer

public class CircleMarkerDrawer
extends MarkerDrawerBase

Represents circular marker drawer object.


Constructor Summary
CircleMarkerDrawer(java.awt.Color _c)
          Constructor.
CircleMarkerDrawer(java.awt.Color _c, boolean f)
           
CircleMarkerDrawer(java.awt.Color _c, java.awt.Color _bkg)
           
CircleMarkerDrawer(java.awt.Color _c, java.awt.Color _bkg, boolean f)
           
CircleMarkerDrawer(java.awt.Color _c, java.awt.Color _bkg, boolean f, int _size)
           
 
Method Summary
 void drawLocal(java.awt.Graphics g)
          Draws rectangular marker.
 java.awt.Rectangle getLocalRoughRect()
          Returns rough rect of the marker. markers have standart sise defined at GraphLibData class.
 void setFilled(boolean f)
           
 
Methods inherited from class physicon.graphLib.MarkerDrawerBase
getBkgColor, getColor, setBkgColor, setColor
 
Methods inherited from class physicon.graphLib.DrawerBase
contains, getGlobalLevel, getGlobalRefPoint, reset, setGlobalLevel, setGlobalRefPoint
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CircleMarkerDrawer

public CircleMarkerDrawer(java.awt.Color _c)
Constructor.
Parameters:
_c - - the color of the marker.

CircleMarkerDrawer

public CircleMarkerDrawer(java.awt.Color _c,
                          java.awt.Color _bkg)

CircleMarkerDrawer

public CircleMarkerDrawer(java.awt.Color _c,
                          boolean f)

CircleMarkerDrawer

public CircleMarkerDrawer(java.awt.Color _c,
                          java.awt.Color _bkg,
                          boolean f)

CircleMarkerDrawer

public CircleMarkerDrawer(java.awt.Color _c,
                          java.awt.Color _bkg,
                          boolean f,
                          int _size)
Method Detail

getLocalRoughRect

public java.awt.Rectangle getLocalRoughRect()
Returns rough rect of the marker. markers have standart sise defined at GraphLibData class.
Overrides:
getLocalRoughRect in class DrawerBase
See Also:
GraphLibData

setFilled

public void setFilled(boolean f)

drawLocal

public void drawLocal(java.awt.Graphics g)
Draws rectangular marker. To draw the inside of the marker standart background color is used, or if var "filled" is true oval just filled with current color.
Parameters:
g - - given Graphics object
Overrides:
drawLocal in class DrawerBase