Class LayoutEditor

All Implemented Interfaces:
ActionListener, ComponentListener, ItemListener, KeyListener, MouseListener, MouseMotionListener, MouseWheelListener, WindowListener, ImageObserver, MenuContainer, VetoableChangeListener, Serializable, EventListener, Accessible, RootPaneContainer, WindowConstants, BeanInterface, LayoutModels, ModifiedFlag, WindowInterface

public final class LayoutEditor
extends PanelEditor
implements MouseWheelListener, LayoutModels
Provides a scrollable Layout Panel and editor toolbars (that can be hidden)

This module serves as a manager for the LayoutTurnout, Layout Block, PositionablePoint, Track Segment, LayoutSlip and LevelXing objects which are integral subparts of the LayoutEditor class.

All created objects are put on specific levels depending on their type (higher levels are in front): Note that higher numbers appear behind lower numbers.

The "contents" List keeps track of all text and icon label objects added to the target frame for later manipulation. Other Lists keep track of drawn items.

Based in part on (Bob Jacobsen (c) 2002, 2003). In particular, text and icon label items are copied from Panel editor, as well as some of the control design.

See Also:
Serialized Form