|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PartRequest
The partRequest contains the direct connection to the current processed field or action (action not in the Swing sence)
Field Summary | |
---|---|
static int |
ACTION_CANCEL_REQUEST
The user pressed cancel |
static int |
ACTION_OK_REQUEST
The user pressed ok |
static int |
ACTION_VALUE_CHANGED
Field changed |
static int |
NEW_PART_VALUE
The part value has changed |
static int |
NO_ACTION
No action, just felt the need to call you |
Method Summary | |
---|---|
java.lang.Object |
clone()
|
java.lang.String |
getName()
|
IPart |
getPart()
|
ISession |
getSession()
Returns the session of the originating part (the part which you can acquire by using getPart() |
int |
getType()
|
java.lang.Object |
getValue()
Returns the current value of the part |
java.lang.Object |
getValue(java.lang.String field)
THIS RETURNS THE GUI VALUE!!! Returns the value of the specified field Fields in format partname.fieldname will return null when the part or field is null |
IWidget |
getWidget()
|
IWidget |
getWidget(java.lang.String name)
|
void |
setValue(java.lang.Object value)
Sets the current value to a new value |
Field Detail |
---|
static final int NO_ACTION
static final int ACTION_OK_REQUEST
static final int ACTION_CANCEL_REQUEST
static final int ACTION_VALUE_CHANGED
static final int NEW_PART_VALUE
Method Detail |
---|
java.lang.Object getValue()
java.lang.Object getValue(java.lang.String field)
field
- the name of the field
void setValue(java.lang.Object value)
value
- set the value of the requesting widgetIPart getPart()
int getType()
java.lang.String getName()
IWidget getWidget()
IWidget getWidget(java.lang.String name)
name
- - the name of the widget to fetch.
java.lang.Object clone()
ISession getSession()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |