net.groboclown.gui.pluginapp.v1
Class MainFrame
java.lang.Object
|
+--net.groboclown.gui.pluginapp.v1.MainFrame
- All Implemented Interfaces:
- IElement, Serializable
- public class MainFrame
- extends Object
- implements IElement
The main GUI frame controller.
It has the Frame, the MenuBar, and the Tabbed Pane where everyone plays.
For each primary component, there is a JMenu and JComponent.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait |
NAME
private static final String NAME
FRAME_NAME
private static final String FRAME_NAME
FRAME_BOUNDS
private static final String FRAME_BOUNDS
PRIMARY_COMPONENTS
protected static final String PRIMARY_COMPONENTS
windowFrame
private JFrame windowFrame
menuBar
private JMenuBar menuBar
componentPane
private JTabbedPane componentPane
viewComponentPanesMenu
private JMenu viewComponentPanesMenu
components
private Map components
propertyMgr
protected PropertyManager propertyMgr
elementMgr
private ElementManager elementMgr
merl
private MainFrame.MyElementRemovedListener merl
MainFrame
public MainFrame()
getName
public String getName()
- Specified by:
getName
in interface IElement
getVersion
public int getVersion()
- Specified by:
getVersion
in interface IElement
setup
public void setup(Core core)
- Specified by:
setup
in interface IElement
teardown
public void teardown()
- Specified by:
teardown
in interface IElement
start
public void start()
getComponents
public IPrimaryComponent[] getComponents()
addComponent
public void addComponent(IPrimaryComponent ipc)
removeComponent
public void removeComponent(IPrimaryComponent ipc)
addComponentMenu
protected void addComponentMenu(PrincipalComponentWrapper pcw)
removeComponentMenu
protected void removeComponentMenu(PrincipalComponentWrapper pcw)
addComponentTab
protected void addComponentTab(PrincipalComponentWrapper pcw)
removeComponentTab
protected void removeComponentTab(PrincipalComponentWrapper pcw)
saveProperties
protected void saveProperties()
Written under the LGPL