|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.tensegrity.gui.LNFConfiguration
Global configuration settings for the LNF.
This class determines whether to use the dock-mdi. The dock-mdi is provided
by DockMDIComponent and implements
MDIComponent.
The dock-mdi can be enabled in a nunber of ways.
tensegrity.lnf.newmdistyle to true (eg.
-Dtensegrity.lnf.newmdistyle=true).
static
{
LNFConfiguration.getInstance().setMDIStyle (LNFConfiguration.MDISTYLE_DOCK);
}
.
| Field Summary | |
static int |
MDISTYLE_CLASSIC
Enumeration of MDI styles. |
static int |
MDISTYLE_DOCK
Enumeration of MDI styles. |
static boolean |
USE_OLDSTYLE_ICONS_FOR_DOCK_GUI
If this is true, the "old" triangle icons are used for slide panels even if the MDI style DOCK is chosen. |
| Method Summary | |
static LNFConfiguration |
getInstance()
Instance access. |
int |
getMDIStyle()
Gets the mdi-style. |
void |
setDefaultMDIStyle(int mdistyle)
Sets the default mdi style which will only be used, if there is no call to the setMDIStyle() method and no property. |
void |
setMDIStyle(int mdistyle)
Sets the mdi-style. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static boolean USE_OLDSTYLE_ICONS_FOR_DOCK_GUI
public static final int MDISTYLE_CLASSIC
public static final int MDISTYLE_DOCK
| Method Detail |
public static final LNFConfiguration getInstance()
GuiConfig instance.public final int getMDIStyle()
public final void setDefaultMDIStyle(int mdistyle)
mdistyle - The style to setpublic final void setMDIStyle(int mdistyle)
mdistyle - the mdi style to use, must be one of the constants
declared in this class, illegal values silently are mapped to
MDISTYLE_CLASSIC.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||