| java.lang.Object com.jgoodies.forms.builder.AbstractFormBuilder com.jgoodies.forms.builder.PanelBuilder com.jgoodies.forms.builder.AbstractI15dPanelBuilder com.jgoodies.forms.builder.I15dPanelBuilder
All known Subclasses: com.jgoodies.forms.builder.DefaultFormBuilder,
I15dPanelBuilder | public class I15dPanelBuilder extends AbstractI15dPanelBuilder (Code) | | A general purpose panel builder that uses the
FormLayout
to lay out JPanel s. In addition to its superclass
PanelBuilder this class provides convenience behavior to map
resource keys to their associated internationalized (i15d) strings
when adding labels, titles and titled separators.
The localized texts used in methods #addI15dLabel
and #addI15dTitle can contain an optional mnemonic marker.
The mnemonic and mnemonic index are indicated by a single ampersand
(&). For example "&Save", or
"Save &as". To use the ampersand itself,
duplicate it, for example "Look&&Feel".
author: Karsten Lentzsch version: $Revision: 1.5 $ since: 1.0.3 See Also: ResourceBundle |
Method Summary | |
protected String | getI15dString(String resourceKey) Looks up and returns the internationalized (i15d) string for the given
resource key from the ResourceBundle . |
I15dPanelBuilder | public I15dPanelBuilder(FormLayout layout, ResourceBundle bundle)(Code) | | Constructs an I15dPanelBuilder for the given
layout and resource bundle. Uses an instance of JPanel
as layout container.
Parameters: layout - the FormLayout used to layout the container Parameters: bundle - the ResourceBundle used to lookup i15d strings |
I15dPanelBuilder | public I15dPanelBuilder(FormLayout layout, ResourceBundle bundle, JPanel panel)(Code) | | Constructs an I15dPanelBuilder
for the given FormLayout, resource bundle, and layout container.
Parameters: layout - the FormLayout used to layout the container Parameters: bundle - the ResourceBundle used to lookup i15d strings Parameters: panel - the layout container |
getI15dString | protected String getI15dString(String resourceKey)(Code) | | Looks up and returns the internationalized (i15d) string for the given
resource key from the ResourceBundle .
Parameters: resourceKey - the key to look for in the resource bundle the associated internationalized string, or the resource keyitself in case of a missing resource throws: IllegalStateException - if no ResourceBundle has been set |
Methods inherited from com.jgoodies.forms.builder.PanelBuilder | final public JLabel add(JLabel label, CellConstraints labelConstraints, Component component, CellConstraints componentConstraints)(Code)(Java Doc) final public JLabel addLabel(String textWithMnemonic)(Code)(Java Doc) final public JLabel addLabel(String textWithMnemonic, CellConstraints constraints)(Code)(Java Doc) final public JLabel addLabel(String textWithMnemonic, String encodedConstraints)(Code)(Java Doc) final public JLabel addLabel(String textWithMnemonic, CellConstraints labelConstraints, Component component, CellConstraints componentConstraints)(Code)(Java Doc) final public JComponent addSeparator(String textWithMnemonic)(Code)(Java Doc) final public JComponent addSeparator(String textWithMnemonic, CellConstraints constraints)(Code)(Java Doc) final public JComponent addSeparator(String textWithMnemonic, String encodedConstraints)(Code)(Java Doc) final public JComponent addSeparator(String textWithMnemonic, int columnSpan)(Code)(Java Doc) final public JLabel addTitle(String textWithMnemonic)(Code)(Java Doc) final public JLabel addTitle(String textWithMnemonic, CellConstraints constraints)(Code)(Java Doc) final public JLabel addTitle(String textWithMnemonic, String encodedConstraints)(Code)(Java Doc) final public ComponentFactory getComponentFactory()(Code)(Java Doc) final public JPanel getPanel()(Code)(Java Doc) final public void setBackground(Color background)(Code)(Java Doc) final public void setBorder(Border border)(Code)(Java Doc) final public void setComponentFactory(ComponentFactory newFactory)(Code)(Java Doc) final public void setDefaultDialogBorder()(Code)(Java Doc) final public void setOpaque(boolean b)(Code)(Java Doc)
|
|
|