public class FormsSetup
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private static ComponentFactory |
componentFactoryDefault
Holds the global factory that is used as default for the
per-instance component factory.
|
private static java.lang.String |
DEBUG_TOOL_TIPS_ENABLED_KEY |
private static boolean |
debugToolTipsEnabled |
private static boolean |
labelForFeatureEnabledDefault
The global default for the enablement of the setLabelFor feature.
|
private static boolean |
opaqueDefault
Holds the global default opaque state that can be overridden
per builder.
|
| Modifier | Constructor and Description |
|---|---|
private |
FormsSetup() |
| Modifier and Type | Method and Description |
|---|---|
static ComponentFactory |
getComponentFactoryDefault()
Returns the factory that is used as default for new builder's
as they are created.
|
static boolean |
getDebugToolTipsEnabledDefault()
Returns whether the debug tool tips are enabled or not.
|
private static boolean |
getDebugToolTipSystemProperty() |
static boolean |
getLabelForFeatureEnabledDefault()
Returns the global default for the enablement of the setLabelFor feature.
|
static boolean |
getOpaqueDefault() |
static void |
setComponentFactoryDefault(ComponentFactory factory)
Sets the global default that is used to initialize the per-instance
component factory.
|
static void |
setDebugToolTipsEnabled(boolean b)
Enables or disables the debug tool tips.
|
static void |
setLabelForFeatureEnabledDefault(boolean b)
Sets the default value for the setLabelFor feature enablement.
|
static void |
setOpaqueDefault(boolean b)
Sets the global default value for a builder's opaque state
that can be overridden per builder.
|
private static final java.lang.String DEBUG_TOOL_TIPS_ENABLED_KEY
private static ComponentFactory componentFactoryDefault
private static boolean labelForFeatureEnabledDefault
private static boolean opaqueDefault
false,
in other words, panels will not be opaque.private static boolean debugToolTipsEnabled
public static ComponentFactory getComponentFactoryDefault()
DefaultComponentFactory.public static void setComponentFactoryDefault(ComponentFactory factory)
factory - the factory to be used for all new builder instances
that do not override the defaultpublic static boolean getLabelForFeatureEnabledDefault()
#labelForFeatureEnabled(boolean).
The feature is globally disabled by default.public static void setLabelForFeatureEnabledDefault(boolean b)
#labelForFeatureEnabled(boolean).
The default value is used to set the initial PanelBuilder
setting for this feature.
The feature is globally disabled by default.b - true for globally enabled, false for globally disabledpublic static boolean getOpaqueDefault()
public static void setOpaqueDefault(boolean b)
false,
in other words, panels will not be opaque.b - the new valuepublic static boolean getDebugToolTipsEnabledDefault()
public static void setDebugToolTipsEnabled(boolean b)
b - true to enable, false to disableprivate static boolean getDebugToolTipSystemProperty()