|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ComponentFactory
An interface that defines the factory methods as used
by the PanelBuilder
.
DefaultComponentFactory
,
PanelBuilder
Method Summary | |
---|---|
javax.swing.JLabel |
createLabel(java.lang.String textWithMnemonic)
Creates and answers a label with an optional mnemonic. |
javax.swing.JComponent |
createSeparator(java.lang.String text,
int alignment)
Creates and answers a label with separator on the left hand side. |
javax.swing.JLabel |
createTitle(java.lang.String textWithMnemonic)
Creates and answers a label that uses the foreground color and font of a TitledBorder . |
Method Detail |
---|
javax.swing.JLabel createLabel(java.lang.String textWithMnemonic)
textWithMnemonic
- the label's text - may contain a mnemonic
javax.swing.JLabel createTitle(java.lang.String textWithMnemonic)
TitledBorder
.
textWithMnemonic
- the title's text - may contain a mnemonic
javax.swing.JComponent createSeparator(java.lang.String text, int alignment)
TitledBorder
.
text
- the title's textalignment
- text alignment: left, center, right
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |