becker.robots.icons
Class WallIcon
java.lang.Object
becker.robots.icons.Icon
becker.robots.icons.ShapeIcon
becker.robots.icons.WallIcon
- All Implemented Interfaces:
- IColor
public class WallIcon
- extends ShapeIcon
An icon to display a wall.
- Author:
- Byron Weber Becker
|
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. |
| 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 |
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).