|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public WidgetAccessor
Interface representing a WidgetAccessor. Reserved Widget Paramers: "cp" : the reserved paremeter for widget customized state. "h" : the reserved paremeter for widget height. "w" : the reserved paremeter for widget width. "st" : the reserved paremeter for widget window state. "md" : the reserved paremeter for widget mode.
Field Summary | |
---|---|
String |
MIN
"minimize" window state supported by enabler |
String |
MAX
"maximize" window state supported by enabler |
String |
NORMAL
"normal" window state supported by enabler |
Method Summary | |
---|---|
String |
getWidgetID()
Returns the widget id of the Widget |
String[] |
getWidgetStateValues(String key)
Returns the values of the required widget state parameter. |
String |
getWidgetState(String key)
Returns the state of the required widget state parameter |
WidgetAccessor |
setWidgetState(String key,
String[] values)
Set the value of a widget state parameter |
Boolean |
confirmSetWidgetState(String key,
String[] values)
Confirms whether setting the values for the given widget state parameter is possible. |
WidgetAccessor |
setWidgetState(String key,
String value)
Set the value of a widget state parameter |
Boolean |
confirmSetWidgetState(String key,
String value)
Confirms whether setting the value for the given widget state parameter is possible. |
WidgetAccessor |
removeWidgetState(String key)
Remove a widget state parameter |
Boolean |
confirmRemoveWidgetState(String key)
Confirms whether removing a widget state parameter is possible |
String[] |
getWidgetStateNames()
Returns the names of custimized widget state |
String |
getWidgetMode()
Returns the mode of the required widget |
WidgetAccessor |
setWidgetMode(String mode)
Set the mode of a widget |
Boolean |
confirmSetWidgetMode(String mode)
Confirms whether it's possible or not to set the widget to a new mode |
String |
getWindowState()
Returns the window state of the required widget |
WidgetAccessor |
setWindowState(String windowState)
Set the window state of a widget |
Boolean |
confirmSetWindowState(String windowState)
Confirms whether it's possible or not to set the widget to a new window state |
Object |
getSize()
Returns the size of the required widget |
WidgetAccessor |
setSize(String width,
String height)
Set the size of a widget |
Boolean |
confirmSetSize(String width,
String height)
Confirms whether it's possible or not to set the widget to the new width and height |
Field Detail |
---|
String MIN
String MAX
String NORMAL
Method Detail |
---|
String getWidgetID()
String[] getWidgetStateValues(String key)
key
-
The name of the required parameter of Widget Navigation State "cp" is the reserved parameter for widget customized state.
String getWidgetState(String key)
key
-
The name of the required parameter of Widget Navigation State "cp" is the reserved parameter for widget customized state.
WidgetAccessor setWidgetState(String key, String[] values)
key
-
The name of the required parametervalues
-
The values of the required parameter
null
upon failure.Boolean confirmSetWidgetState(String key, String[] values)
key
-
The name of the required parametervalues
-
The values of the required parameter
WidgetAccessor setWidgetState(String key, String value)
key
-
The name of the required parametervalue
-
The value of the required parameter
null
upon failure.Boolean confirmSetWidgetState(String key, String value)
key
-
The name of the required parametervalue
-
The value of the required parameter
WidgetAccessor removeWidgetState(String key)
key
-
The name of the required parameter
null
upon failure.Boolean confirmRemoveWidgetState(String key)
key
-
The name of the required parameter
String[] getWidgetStateNames()
String getWidgetMode()
null
if no mode is set yet.WidgetAccessor setWidgetMode(String mode)
mode
-
of the required widget
null
upon failure.Boolean confirmSetWidgetMode(String mode)
mode
-
of the required widget
String getWindowState()
null
if no windowstate is set yet.WidgetAccessor setWindowState(String windowState)
windowState
-
The window state of the required widget
null
upon failure.Boolean confirmSetWindowState(String windowState)
windowState
-
The window state of the required widget
Object getSize()
{
w:"200",h:"400"}
WidgetAccessor setSize(String width, String height)
width
-
The width of the widgetheight
-
The height of the widget
null
upon failure.Boolean confirmSetSize(String width, String height)
width
-
The width of the widgetheight
-
The height of the widget
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |