Package jmri.util.swing.multipane
Class PanedInterface
java.lang.Object
jmri.util.swing.multipane.PanedInterface
- All Implemented Interfaces:
WindowInterface
Display a JComponent in a specific paned window.
- Since:
- 2.9.4
-
Nested Class Summary
Nested classes/interfaces inherited from interface jmri.util.swing.WindowInterface
WindowInterface.Hint -
Field Summary
FieldsModifier and TypeFieldDescription(package private) HashSet<JmriAbstractAction>(package private) MultiPaneWindow -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddispose()Dispose when associated window is completegetFrame()Returns the WindowInterface as a Frame or null.booleanReturn the same instance for multiple requestsvoidshow(JmriPanel child, JmriAbstractAction act) Show, in whatever way is appropriate, a specific JmriPanelvoidshow(JmriPanel child, JmriAbstractAction act, WindowInterface.Hint hint) Show, in whatever way is appropriate, a specific JmriPanel, in a hinted location
-
Field Details
-
frame
-
actions
-
-
Constructor Details
-
PanedInterface
-
-
Method Details
-
show
Description copied from interface:WindowInterfaceShow, in whatever way is appropriate, a specific JmriPanel, in a hinted location- Specified by:
showin interfaceWindowInterface- Parameters:
child- new JmriPanel to showact- JmriAbstractAction making the requesthint- suggestion on where to put the content
-
show
Description copied from interface:WindowInterfaceShow, in whatever way is appropriate, a specific JmriPanel- Specified by:
showin interfaceWindowInterface- Parameters:
child- new JmriPanel to showact- JmriAbstractAction making the request
-
multipleInstances
Return the same instance for multiple requests- Specified by:
multipleInstancesin interfaceWindowInterface- Returns:
- true if multiple instances should be provided, false if only one should be provided
-
dispose
Dispose when associated window is complete- Specified by:
disposein interfaceWindowInterface
-
getFrame
Description copied from interface:WindowInterfaceReturns the WindowInterface as a Frame or null.- Specified by:
getFramein interfaceWindowInterface- Returns:
- a Frame or null
-