public class FormsSetup extends Object
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.
|
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.
|
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 disableCopyright © 2002-2014 JGoodies Software GmbH. All Rights Reserved.