|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.AbstractButton
javax.swing.JMenuItem
javax.swing.JMenu
jmri.jmrit.display.PanelMenu
public class PanelMenu
Create the default "Panels" menu for use in a menubar. Also manages the Show Panel menu for both PanelEditor panels and LayoutEditor panels.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class javax.swing.JMenu |
|---|
JMenu.AccessibleJMenu, JMenu.WinListener |
| Nested classes/interfaces inherited from class javax.swing.JMenuItem |
|---|
JMenuItem.AccessibleJMenuItem |
| Nested classes/interfaces inherited from class javax.swing.AbstractButton |
|---|
AbstractButton.AccessibleAbstractButton, AbstractButton.ButtonChangeListener |
| Nested classes/interfaces inherited from class javax.swing.JComponent |
|---|
JComponent.AccessibleJComponent |
| Nested classes/interfaces inherited from class java.awt.Container |
|---|
Container.AccessibleAWTContainer |
| Nested classes/interfaces inherited from class java.awt.Component |
|---|
Component.AccessibleAWTComponent, Component.BltBufferStrategy, Component.FlipBufferStrategy |
| Field Summary |
|---|
| Fields inherited from class javax.swing.JMenu |
|---|
popupListener |
| Fields inherited from class javax.swing.JComponent |
|---|
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
| Fields inherited from class java.awt.Component |
|---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface javax.swing.SwingConstants |
|---|
BOTTOM, CENTER, EAST, HORIZONTAL, LEADING, LEFT, NEXT, NORTH, NORTH_EAST, NORTH_WEST, PREVIOUS, RIGHT, SOUTH, SOUTH_EAST, SOUTH_WEST, TOP, TRAILING, VERTICAL, WEST |
| Fields inherited from interface java.awt.image.ImageObserver |
|---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
|---|---|
PanelMenu()
|
|
| Method Summary | |
|---|---|
void |
addLayoutEditorPanel(LayoutEditor panel)
Add LayoutEditor type panel to Show Panels sub menu |
void |
addPanelEditorPanel(PanelEditor panel)
Add PanelEditor type panel to Show Panels sub menu |
void |
deletePanel(Object panel)
Delete a panel from Show Panel sub menu |
LayoutEditor |
getLayoutEditorByName(String name)
|
ArrayList |
getLayoutEditorPanelList()
|
int |
getNumberOfPanels()
Utility routine for getting the number of panels in the Panels sub menu |
PanelEditor |
getPanelEditorByName(String name)
|
static PanelMenu |
instance()
Provide method to reference this panel menu |
boolean |
isPanelNameUsed(String name)
Determine if named panel already exists returns true if named panel already loaded |
void |
renameLayoutEditorPanel(LayoutEditor panel)
Rename LayoutEditor type panel in Show Panels sub menu |
void |
renamePanelEditorPanel(PanelEditor panel)
Rename PanelEditor type panel in Show Panels sub menu |
void |
updateLayoutEditorPanel(LayoutEditor panel)
Update LayoutEditor type panel in Show Panels sub menu |
void |
updatePanelEditorPanel(PanelEditor panel)
Update PanelEditor type panel in Show Panels sub menu |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface javax.swing.MenuElement |
|---|
processKeyEvent, processMouseEvent |
| Constructor Detail |
|---|
public PanelMenu()
| Method Detail |
|---|
public static PanelMenu instance()
public int getNumberOfPanels()
public void deletePanel(Object panel)
public void addLayoutEditorPanel(LayoutEditor panel)
public void updateLayoutEditorPanel(LayoutEditor panel)
public void renameLayoutEditorPanel(LayoutEditor panel)
public void addPanelEditorPanel(PanelEditor panel)
public void updatePanelEditorPanel(PanelEditor panel)
public void renamePanelEditorPanel(PanelEditor panel)
public boolean isPanelNameUsed(String name)
public LayoutEditor getLayoutEditorByName(String name)
public PanelEditor getPanelEditorByName(String name)
public ArrayList getLayoutEditorPanelList()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||