|
|||||||||
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 JButton s. |
javax.swing.JCheckBox |
createCheckBox()
A factory method for JCheckBox s. |
javax.swing.JRadioButton |
createRadioButton()
A factory method for JRadioButton s. |
javax.swing.AbstractButton |
createToggleButton()
A factory method for ToggleButtons. |
Method Detail |
---|
javax.swing.JButton createButton()
JButton
s.
JButton
.javax.swing.AbstractButton createToggleButton()
DefaultButtonFactory
creates instances of
JToggleButton
s. Other factories may create non-standard implementations but are constrained to
ensure that ItemListener
notifications is consistent
with that of JToggleButton
s.
JToggleButton
.javax.swing.JCheckBox createCheckBox()
JCheckBox
s.
JCheckBox
.javax.swing.JRadioButton createRadioButton()
JRadioButton
s.
JRadioButton
.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |