Class TurnoutIcon

All Implemented Interfaces:
ImageObserver, MenuContainer, PropertyChangeListener, Serializable, Cloneable, EventListener, Accessible, SwingConstants, Positionable
Direct Known Subclasses:
IndicatorTurnoutIcon

public class TurnoutIcon
extends PositionableIcon
implements PropertyChangeListener
An icon to display a status of a turnout.

This responds to only KnownState, leaving CommandedState to some other graphic representation later.

A click on the icon will command a state change. Specifically, it will set the CommandedState to the opposite (THROWN vs CLOSED) of the current KnownState.

The default icons are for a left-handed turnout, facing point for east-bound traffic.

See Also:
Serialized Form