|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.EventObject
wt.clients.beans.query.WTQueryEvent
The query event emitted by WTQuery
objects when an
item is selected, a status message is available or a button is
clicked.
Supported API: true
Extendable: false
WTQuery
,
Serialized FormField Summary | |
static String |
CLOSE
For internal use only. |
static String |
COMMAND
The command type. |
static String |
DESELECT
The deselect type. |
private WTObject |
myDetail
|
private WTQuery |
myQuery
|
private String |
myString
|
private String |
myType
|
static String |
NULL
For internal use only. |
static String |
OPEN
For internal use only. |
static String |
SELECT
The select type. |
static String |
STATUS
The status type. |
private static String |
versionID
|
Fields inherited from class java.util.EventObject |
source |
Constructor Summary | |
WTQueryEvent(WTQuery aQuery,
String aType,
String a_string)
Constructs a WTQueryEvent object with the specified source component,
type, and value. |
|
WTQueryEvent(WTQuery aQuery,
String aType,
WTObject aDetail)
Constructs a WTQueryEvent object with the specified source component,
type, and object. |
Method Summary | |
String |
getCommand()
Returns the button clicked. |
WTObject |
getDetail()
Returns the target object. |
WTQuery |
getQuery()
For internal use only. |
String |
getStatus()
Returns the status message. |
String |
getType()
Returns the type of WTQueryEvent . |
void |
setCommand(String aValue)
For internal use only. |
void |
setDetail(WTObject aValue)
For internal use only. |
void |
setQuery(WTQuery aValue)
For internal use only. |
void |
setStatus(String aValue)
For internal use only. |
void |
setType(String aValue)
For internal use only. |
String |
toString()
Returns a string representation of this object. |
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 |
private static final String versionID
public static final String COMMAND
public static final String SELECT
public static final String DESELECT
public static final String STATUS
public static final String OPEN
public static final String NULL
public static final String CLOSE
private WTQuery myQuery
private WTObject myDetail
private String myType
private String myString
Constructor Detail |
public WTQueryEvent(WTQuery aQuery, String aType, String a_string)
WTQueryEvent
object with the specified source component,
type, and value. For COMMAND
type events, the value will be a button
as defined in WTQuery
. For STATUS
type events, the value
will be the status message string.
aQuery
- The WTQuery
object where the event originated.aType
- The COMMAND or STATUS event type.a_string
- The value represented by the specified type.public WTQueryEvent(WTQuery aQuery, String aType, WTObject aDetail)
WTQueryEvent
object with the specified source component,
type, and object.
aQuery
- The WTQuery
object where the event originated.aType
- The event type.aDetail
- The object affected by the event.Method Detail |
public WTQuery getQuery()
public void setQuery(WTQuery aValue)
public String getType()
WTQueryEvent
.
WTQueryEvent
.public void setType(String aValue)
public String getCommand()
WTQuery
public void setCommand(String aValue)
public String getStatus()
public void setStatus(String aValue)
public WTObject getDetail()
public void setDetail(WTObject aValue)
public String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |