public class ButtonEntry extends EntryItem
Constructor and Description |
---|
ButtonEntry(java.lang.String text)
Creates a push button with given button text.
|
Modifier and Type | Method and Description |
---|---|
javax.swing.JButton |
getButton()
Returns the underlaying JButton.
|
boolean |
getValue()
Returns the current state of the button.
|
boolean |
isTouched()
Returns true, if the button was hit by the mouse until the last call if this method.
|
void |
setEnabled(boolean enable)
Enable/disable the button.
|
public ButtonEntry(java.lang.String text)
text
- the button textpublic javax.swing.JButton getButton()
public boolean getValue()
public void setEnabled(boolean enable)
public boolean isTouched()