Class GbPanelBuilderFactory
- java.lang.Object
-
- io.codeworth.panelmatic.impl.gridbagpanelbuilder.GbPanelBuilderFactory
-
- All Implemented Interfaces:
PanelBuilderFactory
public class GbPanelBuilderFactory extends Object implements PanelBuilderFactory
CreatesGbPanelBuilders.- Author:
- michael
-
-
Constructor Summary
Constructors Constructor Description GbPanelBuilderFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GbPanelBuilderbuild()voidsetComponentOrientation(ComponentOrientation anOrientation)Sets the component orientation of the to-be-created panels.voidsetLocalizationBundle(ResourceBundle aBundle)Sets the localization resource bundle for the to-be-created builders.
-
-
-
Method Detail
-
build
public GbPanelBuilder build()
- Specified by:
buildin interfacePanelBuilderFactory- Returns:
- A new panel builder.
-
setLocalizationBundle
public void setLocalizationBundle(ResourceBundle aBundle)
Description copied from interface:PanelBuilderFactorySets the localization resource bundle for the to-be-created builders. IfaBundleis notnull, the string parameter ofPanelBuilder's variousaddXXXmethods is interpreted as a key for a string in the passed bundle. IfaBundleisnull, that string parameter is passed as-is.- Specified by:
setLocalizationBundlein interfacePanelBuilderFactory- Parameters:
aBundle- the localization resource bundle, may benull.
-
setComponentOrientation
public void setComponentOrientation(ComponentOrientation anOrientation)
Description copied from interface:PanelBuilderFactorySets the component orientation of the to-be-created panels.- Specified by:
setComponentOrientationin interfacePanelBuilderFactory- Parameters:
anOrientation- orientation of the panels created.
-
-