becker.robots.icons
Class WallIcon

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

public class WallIcon
extends ShapeIcon

An icon to display a wall.

Author:
Byron Weber Becker

Field Summary
 
Fields inherited from class becker.robots.icons.Icon
transparent
 
Constructor Summary
WallIcon()
          Construct a new black wall icon.
WallIcon(Color color)
          Construct a new icon with the given color at full size.
WallIcon(Color color, double relativeSize)
          Construct a new icon with the given color and size.
 
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

WallIcon

public WallIcon()
Construct a new black wall icon.


WallIcon

public WallIcon(Color color)
Construct a new icon with the given color at full size.

Parameters:
color - The icon's color.

WallIcon

public WallIcon(Color color,
                double relativeSize)
Construct a new icon with the given color and size.

Parameters:
color - The icon's color.
relativeSize - A value between 0.0 (very small) and 1.0 (large).