|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.util.EventObject
java.awt.AWTEvent
com.ibm.as400.ui.framework.java.HelpEvent
public class HelpEvent extends AWTEvent
An event that indicates that help has been requested for a PDML panel. The event may represent a request for panel help, or context help for a single control on the panel.
PanelManager,
HelpListener,
Serialized Form| Modifier and Type | Field and Description |
|---|---|
static int |
CONTEXT_HELP_REQUESTED
This event id indicates that context help was requested for a component. |
static int |
HELP_FIRST
The first number in the range of ids used for help events. |
static int |
HELP_LAST
The last number in the range of ids used for help events. |
static int |
PANEL_HELP_REQUESTED
This event id indicates that help was requested for the entire panel. |
| Fields inherited from class java.util.EventObject |
|---|
source |
| Constructor and Description |
|---|
HelpEvent(Object source,
int id,
String panelName,
String controlName)
Constructs a HelpEvent object. |
| Modifier and Type | Method and Description |
|---|---|
String |
getControlName()
Returns the name of the component that generated this help event. |
String |
getPanelName()
Returns the name of the panel that generated this help event. |
void |
setControlName(String controlName)
Sets the name of the component that generated this help event. |
void |
setPanelName(String panelName)
Sets the name of the panel that generated this help event. |
String |
toString()
|
| Methods inherited from class java.awt.AWTEvent |
|---|
consume, getID, isConsumed, paramString, setSource |
| Methods inherited from class java.util.EventObject |
|---|
getSource |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int PANEL_HELP_REQUESTED
public static final int CONTEXT_HELP_REQUESTED
public static final int HELP_FIRST
public static final int HELP_LAST
| Constructor Detail |
|---|
public HelpEvent(Object source,
int id,
String panelName,
String controlName)
HelpEvent object.
source - The object that originated the event.id - An integer that identifies the event.panelName - The name of the panel, as specified on the PANEL tag in the PDML.controlName - The name of the component as specified in the panel definition.| Method Detail |
|---|
public void setPanelName(String panelName)
panelName - The name of the panel, as specified on the PANEL tag in the PDML.public void setControlName(String controlName)
controlName - The name of the component, as specified in the panel definition.public String getPanelName()
PANEL tag in the PDML.public String getControlName()
PANEL_HELP_REQUESTED event, null will be returned.public String toString()
toString in class AWTEvent
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||