jmri.util.swing.mdi
Class JmriJInternalFrameInterface
java.lang.Object
jmri.util.swing.mdi.JmriJInternalFrameInterface
- All Implemented Interfaces:
- WindowInterface
public class JmriJInternalFrameInterface
- extends Object
- implements WindowInterface
Display a JmriPanel in a JInternalFrame of its own.
Dispose() of the panel is invoked when the containing window is fully closed
via a listener installed here.
- Since:
- 2.9.4
- Author:
- Bob Jacobsen Copyright 2010
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JmriJInternalFrameInterface
public JmriJInternalFrameInterface(JmriJFrame mainFrame,
JDesktopPane desktop)
show
public void show(JmriPanel child,
JmriAbstractAction act,
WindowInterface.Hint hint)
- Description copied from interface:
WindowInterface
- Show, in whatever way is appropriate,
a specific JmriPanel
- Specified by:
show in interface WindowInterface
- Parameters:
child - new JmriPanel to showact - JmriAbstractAction making the requesthint - suggestion on where to put the content
show
public void show(JmriPanel child,
JmriAbstractAction act)
- Description copied from interface:
WindowInterface
- Show, in whatever way is appropriate,
a specific JmriPanel
- Specified by:
show in interface WindowInterface
- Parameters:
child - new JmriPanel to showact - JmriAbstractAction making the request
dispose
public void dispose()
- Specified by:
dispose in interface WindowInterface
multipleInstances
public boolean multipleInstances()
- Create new windows on each request
- Specified by:
multipleInstances in interface WindowInterface
- Returns:
- true if multiple instances should be provided,
false if only one should be provided.
Copyright © 1997 - 2011 JMRI Community.
JMRI, DecoderPro, PanelPro, SoundPro, DispatcherPro and associated logos are our trademarks.
Additional information on copyright, trademarks and licenses is linked here.
Site hosted by: