public class MDIApplicationProperties
extends java.lang.Object
| Modifier and Type | Field and Description | 
|---|---|
| SwingMessageArea | globalMessageAreaThe global message area (may be null). | 
| java.awt.Component | globalParentThe global parent component. | 
| MDIMenuFactory | mfactoryThe menu factory. | 
| Constructor and Description | 
|---|
| MDIApplicationProperties() | 
| 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 | 
|---|---|
| SwingMessageArea | createGlobalMessageArea(java.awt.Component parent)Create a message area. | 
| SwingMessageArea | createMessageArea(java.awt.Component parent,
                 boolean isEditable)Create a message area.By default it will create a  DefaultMessageArea. | 
| int | getMessageAreaSize()Return the message area size. | 
| short | getMessageAreaType()Return the messge area type. | 
| boolean | hasGlobalMessageArea()Return true if there is a global message area for all tabs. | 
| boolean | hasPerTabMessageArea()Return true if there is a message area for each tab. | 
| boolean | hasStatusBar()Return true if there is a status bar. | 
| boolean | hasToolBar()Return true if there is a toolbar. | 
| boolean | isMessageAreaEditable()Return true if the message area is editable. | 
| boolean | isMessageAreaPerTabEditable()Return true if the message area is editable per each tab. | 
| boolean | isSavingAreaLines()Return true if the message area lines are saved. | 
public java.awt.Component globalParent
public SwingMessageArea globalMessageArea
public MDIMenuFactory mfactory
public MDIApplicationProperties()
public MDIApplicationProperties(int messageAreaSize,
                                boolean hasStatusbar,
                                boolean hasToolBar,
                                MDIMenuFactory mfactory)
messageAreaSize - the message area sizehasStatusbar - true if there is a status barhasToolBar - true if there is a tool barmfactory - the mmenu factorypublic MDIApplicationProperties(int messageAreaSize,
                                int messageAreaType,
                                boolean hasStatusbar,
                                boolean hasToolBar,
                                MDIMenuFactory mfactory)
messageAreaSize - the message area sizemessageAreaType - the message area type. See MessageAreaType.hasStatusbar - true if there is a status barhasToolBar - true if there is a tool barmfactory - the mmenu factorypublic MDIApplicationProperties(java.awt.Component parent,
                                int messageAreaType,
                                int messageAreaSize,
                                boolean hasStatusbar,
                                boolean hasToolBar,
                                MDIMenuFactory mfactory)
parent - the parent componentmessageAreaSize - the message area sizemessageAreaType - the message area type. See MessageAreaType.hasStatusbar - true if there is a status barhasToolBar - true if there is a tool barmfactory - the mmenu factorypublic int getMessageAreaSize()
public boolean hasToolBar()
public boolean hasStatusBar()
public boolean isSavingAreaLines()
public short getMessageAreaType()
MessageAreaTypepublic boolean isMessageAreaEditable()
public boolean isMessageAreaPerTabEditable()
public final boolean hasGlobalMessageArea()
MessageAreaTypepublic final boolean hasPerTabMessageArea()
MessageAreaTypepublic SwingMessageArea createGlobalMessageArea(java.awt.Component parent)
DefaultMessageArea.parent - the parent componentpublic SwingMessageArea createMessageArea(java.awt.Component parent, boolean isEditable)
DefaultMessageArea.parent - the parent componentisEditable - true if the asssociated tab is editable