Class SelectButton
java.lang.Object
com.marginallyclever.donatello.select.Select
com.marginallyclever.donatello.select.SelectButton
A button that does nothing until you attach an observer.
- Since:
- 7.24.0
- Author:
- Dan Royer
-
Constructor Summary
ConstructorsConstructorDescriptionSelectButton
(String internalName, String labelText) SelectButton
(String internalName, AbstractAction action) -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
attach
(JComponent panel, GridBagConstraints gbc) void
doClick()
void
void
void
setEnabled
(boolean b) void
setForeground
(Color fg) void
setReadOnly
(boolean state) void
Methods inherited from class com.marginallyclever.donatello.select.Select
addSelectListener, getName, removeSelectListener, setName
-
Constructor Details
-
SelectButton
-
SelectButton
-
-
Method Details
-
attach
-
setReadOnly
public void setReadOnly(boolean state) - Specified by:
setReadOnly
in classSelect
-
doClick
public void doClick() -
setText
-
setEnabled
public void setEnabled(boolean b) -
setForeground
-
addActionListener
-
removeActionListener
-
fireActionEvent
public void fireActionEvent() -
getButton
-