| Package | Description |
|---|---|
| org.mdi.app.swing |
Specific Swing classes for the Main package of the framework.
|
| org.mdi.bootstrap.swing |
Specific Swing Bootstrap interfaces for the framework.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractMDIMenuFactory
This class creates the Menus for an
AbstractMDIApplication. |
| Modifier and Type | Field and Description |
|---|---|
protected MDIMenuFactory |
AbstractMDIApplication.mfactory
The MDIApplication associated Menu Factory.
|
MDIMenuFactory |
MDIApplicationProperties.mfactory
The menu factory.
|
| Modifier and Type | Method and Description |
|---|---|
MDIMenuFactory |
AbstractMDIApplication.getMenuFactory()
Return the associated menu factory.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
AbstractMDIApplication.preparePanels(boolean hasStatusbar,
boolean hasToolBar,
MDIMenuFactory mfactory)
Prepare the various panels of the MDIApplication, without any Message Area.
|
protected void |
AbstractMDIApplication.preparePanels(int messageAreaSize,
boolean hasStatusbar,
boolean hasToolBar,
MDIMenuFactory mfactory)
Prepare the various panels of the MDIApplication.
|
protected void |
AbstractMDIApplication.preparePanels(int messageAreaSize,
int messageAreaType,
boolean hasStatusbar,
boolean hasToolBar,
MDIMenuFactory mfactory)
Prepare the various panels of the MDIApplication.The application window present:
A Menu bar
An optional toolbar
The main panel of the application, presenting the various files opened and/or created by the application itself or plugins
An optional message area
An optional status bar
This is necessary to add all GUI elements in the application, and can be configured in a number of ways:
the initial size of the message area can be set.Note that the application comes with a default message area (see
DefaultMessageArea), but that any specific message area implementation can be provided (see
SwingMessageArea). |
protected void |
AbstractMDIApplication.preparePanels(int messageAreaSize,
MDIMenuFactory mfactory)
Prepare the various panels of the MDIApplication, with a message area, a toolbar, and a status bar.
|
protected void |
AbstractMDIApplication.preparePanels(SwingMessageArea area,
boolean hasStatusbar,
boolean hasToolBar,
MDIMenuFactory mfactory)
Prepare the various panels of the MDIApplication.
|
void |
AbstractMDIApplication.setMenuFactory(MDIMenuFactory mfactory)
Set the associated menu factory.
|
| Constructor and Description |
|---|
MDIApplicationProperties(java.awt.Component parent,
int messageAreaType,
int messageAreaSize,
boolean hasStatusbar,
boolean hasToolBar,
MDIMenuFactory mfactory)
Constructor.
|
MDIApplicationProperties(int messageAreaSize,
boolean hasStatusbar,
boolean hasToolBar,
MDIMenuFactory mfactory)
Constructor.
|
MDIApplicationProperties(int messageAreaSize,
int messageAreaType,
boolean hasStatusbar,
boolean hasToolBar,
MDIMenuFactory mfactory)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
MDIMenuFactory |
GUIApplication.getMenuFactory()
Return the MDIApplication Menu Factory.
|