|
JIDE 3.5.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.EventObject com.jidesoft.dialog.ButtonEvent
public class ButtonEvent
An EventObject used to change the state of any button.
Field Summary | |
---|---|
static int |
BUTTON_EVENT_FIRST
The first number in the range of IDs used for ButtonEvent . |
static int |
BUTTON_EVENT_LAST
The last number in the range of IDs used for DockableFrame events. |
static int |
CHANGE_BUTTON_FOCUS
This event is fired when you want to set focus to the button. |
static int |
CHANGE_BUTTON_MNEMONIC
This event is fired when you want to change the mnemonic of the button. |
static int |
CHANGE_BUTTON_TEXT
This event is fired when you want to change the text of the button. |
static int |
CHANGE_BUTTON_TOOLTIP
This event is fired when you want to change the tooltip of the button. |
static int |
CLEAR_DEFAULT_BUTTON
This event is fired when you want to clear the default button from a root pane. |
static int |
DISABLE_BUTTON
This event is fired when you want to disable the button. |
static int |
ENABLE_BUTTON
This event is fired when you want to enable the button. |
static int |
HIDE_BUTTON
This event is fired when you want to hide the button. |
static int |
SET_DEFAULT_BUTTON
This event is fired when you want to set the button to the default button in a root pane. |
static int |
SHOW_BUTTON
This event is fired when you want to show the button. |
Fields inherited from class java.util.EventObject |
---|
source |
Constructor Summary | |
---|---|
ButtonEvent(Object source,
int id,
String buttonName)
Creates a ButtonEvent with source, id and the button name. |
|
ButtonEvent(Object source,
int id,
String buttonName,
String userObject)
Creates a ButtonEvent with source, id, the button name and a user object. |
Method Summary | |
---|---|
String |
getButtonName()
Gets the button name of this event object. |
int |
getID()
Returns the event id. |
String |
getUserObject()
Gets the user object of this event object. |
String |
paramString()
Returns a parameter string identifying this event. |
void |
setButtonName(String buttonName)
Sets the button name. |
void |
setID(int id)
Sets the event id. |
void |
setUserObject(String userObject)
Sets the user object. |
Methods inherited from class java.util.EventObject |
---|
getSource, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int BUTTON_EVENT_FIRST
ButtonEvent
.
public static final int BUTTON_EVENT_LAST
DockableFrame
events.
public static final int SHOW_BUTTON
public static final int HIDE_BUTTON
public static final int ENABLE_BUTTON
public static final int DISABLE_BUTTON
public static final int CHANGE_BUTTON_TEXT
public static final int CHANGE_BUTTON_MNEMONIC
public static final int CHANGE_BUTTON_TOOLTIP
public static final int CHANGE_BUTTON_FOCUS
public static final int SET_DEFAULT_BUTTON
public static final int CLEAR_DEFAULT_BUTTON
Constructor Detail |
---|
public ButtonEvent(Object source, int id, String buttonName)
source
- id
- buttonName
- public ButtonEvent(Object source, int id, String buttonName, String userObject)
source
- id
- buttonName
- userObject
- Method Detail |
---|
public int getID()
public void setID(int id)
id
- public String getButtonName()
public void setButtonName(String buttonName)
buttonName
- public String getUserObject()
public void setUserObject(String userObject)
userObject
- public String paramString()
|
JIDE 3.5.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |