Class LayoutEditor

  • All Implemented Interfaces:
    java.awt.event.ActionListener, java.awt.event.ComponentListener, java.awt.event.ItemListener, java.awt.event.KeyListener, java.awt.event.MouseWheelListener, java.awt.event.WindowListener, java.awt.image.ImageObserver, java.awt.MenuContainer, java.beans.VetoableChangeListener,, java.util.EventListener, javax.accessibility.Accessible, javax.swing.RootPaneContainer, javax.swing.WindowConstants, BeanInterface, LayoutModels, ModifiedFlag, JmriMouseListener, JmriMouseMotionListener, WindowInterface

    public final class LayoutEditor
    extends PanelEditor
    implements java.awt.event.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