|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.partnersoft.gui.ButtonControl
public class ButtonControl
A wrapper for JButton.
| Constructor Summary | |
|---|---|
ButtonControl()
|
|
ButtonControl(java.lang.String text)
|
|
| Method Summary | |
|---|---|
void |
doAction()
Subclasses should override this to take action whenever the toggle changes state. |
javax.swing.JButton |
getButton()
|
javax.swing.JComponent |
getGUI()
|
java.lang.String |
getText()
|
void |
setText(java.lang.String newText)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ButtonControl()
public ButtonControl(java.lang.String text)
| Method Detail |
|---|
public java.lang.String getText()
public void setText(java.lang.String newText)
public javax.swing.JButton getButton()
public javax.swing.JComponent getGUI()
getGUI in interface GUIControlpublic void doAction()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||