|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ButtonFactory
This interface defines factory methods that all commands use when creating buttons.
MenuFactory,
ToolbarFactory,
DefaultButtonFactory,
CommandManager.setButtonFactory(org.pietschy.command.ButtonFactory)| Method Summary | |
|---|---|
javax.swing.JButton |
createButton()
? * A factory method for JButtons. |
javax.swing.JCheckBox |
createCheckBox()
A factory method for JCheckBoxs. |
javax.swing.JRadioButton |
createRadioButton()
A factory method for JRadioButtons. |
javax.swing.AbstractButton |
createToggleButton()
A factory method for ToggleButtons. |
| Method Detail |
|---|
javax.swing.JButton createButton()
JButtons.
JButton.javax.swing.AbstractButton createToggleButton()
DefaultButtonFactory creates instances of
JToggleButtons. Other factories may create non-standard implementations but are constrained to
ensure that ItemListener notifications is consistent
with that of JToggleButtons.
JToggleButton.javax.swing.JCheckBox createCheckBox()
JCheckBoxs.
JCheckBox.javax.swing.JRadioButton createRadioButton()
JRadioButtons.
JRadioButton.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||