becker.robots.icons
Class CircleIcon

java.lang.Object
  extended by becker.robots.icons.Icon
      extended by becker.robots.icons.ShapeIcon
          extended by becker.robots.icons.CircleIcon
All Implemented Interfaces:
IColor

public class CircleIcon
extends ShapeIcon

A circular icon.

Author:
Byron Weber Becker

Field Summary
 
Fields inherited from class becker.robots.icons.Icon
transparent
 
Constructor Summary
CircleIcon(Color c)
          Construct a new CircleIcon.
CircleIcon(Color c, double size)
          Construct a new CircleIcon.
 
Method Summary
 
Methods inherited from class becker.robots.icons.ShapeIcon
renderImage
 
Methods inherited from class becker.robots.icons.Icon
applyTransforms, getColor, getImage, getLabel, getRotation, getSize, getTransparency, hasChanged, markChanged, paintIcon, setColor, setLabel, setSize, setTransparency
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface becker.robots.IColor
getColor, getTransparency, setColor, setTransparency
 

Constructor Detail

CircleIcon

public CircleIcon(Color c)
Construct a new CircleIcon.

Parameters:
c - The icon's color.

CircleIcon

public CircleIcon(Color c,
                  double size)
Construct a new CircleIcon.

Parameters:
c - The icon's color.
size - The relative size of the icon (0.0 < size <= 1.0)