public class DynamicLayoutConfig
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private boolean |
dynamicLayoutEnabled |
private static ContextLocal<DynamicLayoutConfig> |
instance
Context class instance
|
private boolean |
optimalSizeEnabled
When the flag enabled dynamic layout will determine the optimal size of the widgets in a window
and will increase the window size accordingly.
|
private static java.lang.String |
ROOT_DESKTOP_CFG_NODE
The root configuration node name for the desktop mode
|
private static java.lang.String |
ROOT_EMBEDDED_CFG_NODE
The root configuration node name for the embedded mode
|
private boolean |
windowMaximize
Flag indicating that the window must be maximized when the desktop size has changed.
|
Constructor and Description |
---|
DynamicLayoutConfig()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
static DynamicLayoutConfig |
getInstance()
Returns the class context instance.
|
boolean |
isDynamicLayoutEnabled()
Returns the dynamic layout enabled flag read from directory.
|
boolean |
isOptimalSizeEnabled()
Returns the optimal size enabled flag read from directory.
|
boolean |
isWindowMaximize()
Returns the state of the
windowMaximize flag, from the directory. |
private static final java.lang.String ROOT_EMBEDDED_CFG_NODE
private static final java.lang.String ROOT_DESKTOP_CFG_NODE
private static ContextLocal<DynamicLayoutConfig> instance
private boolean dynamicLayoutEnabled
private boolean optimalSizeEnabled
private boolean windowMaximize
public static DynamicLayoutConfig getInstance()
public boolean isDynamicLayoutEnabled()
public boolean isOptimalSizeEnabled()
public boolean isWindowMaximize()
windowMaximize
flag, from the directory.