|
NextApp Echo App Container 1.1.4 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object nextapp.echoservlet.ComponentPeer nextapp.echoservlet.ui.AbstractButtonUI nextapp.echoservlet.ui.ToggleButtonUI nextapp.echoservlet.ui.RadioButtonUI
A peer for RadioButton
components.
Field Summary | |
static Service |
SERVICE_RADIO_BUTTON_OFF
A service that renders the default deselected radio button image. |
static Service |
SERVICE_RADIO_BUTTON_ON
A service that renders the default selected radio button image. |
Fields inherited from class nextapp.echoservlet.ui.ToggleButtonUI |
ROLLOVER_SELECTED_ICON_IMAGE, SELECTED_ICON_IMAGE, SERVICE_TOGGLE_BUTTON_SCRIPT, TOGGLE_IMAGE_PREFIX |
Fields inherited from class nextapp.echoservlet.ui.AbstractButtonUI |
ICON_IMAGE, imageManager, renderedActive, ROLLOVER_ICON_IMAGE |
Constructor Summary | |
RadioButtonUI()
|
Method Summary | |
void |
clientInput(java.lang.String input)
Called when a client sends an input string through an input field. |
java.lang.String |
getControllerFieldValue()
Returns the value that will be rendered in the component's hidden state element in the controller form. |
java.lang.String |
getDefaultStateImageUri(RenderingContext rc,
boolean selected)
Returns the URI of the default image used to represent the toggle button's state. |
java.lang.String |
getScriptAction(RenderingContext rc)
Returns JavaScript code that will be executed when the button is clicked. |
Id |
getStateId()
Returns the Id of the controller input field in which the
ToggleButton 's state is to be stored. |
Methods inherited from class nextapp.echoservlet.ui.ToggleButtonUI |
getScriptCustomStateIconToggleRollover, getStateImageUri, propertyChange, registered, unregistered |
Methods inherited from class nextapp.echoservlet.ui.AbstractButtonUI |
clientAction, getHorizontalAlignment, getVerticalAlignment, imageUpdate, render |
Methods inherited from class nextapp.echoservlet.ComponentPeer |
addAncillaryService, generateId, getBackground, getChildCount, getChildren, getComponent, getFocusedElementId, getFont, getForeground, getId, getInstancePeer, getParent, getPeer, getTabIndex, redraw, removeAncillaryService |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface nextapp.echoservlet.ClientInputProducer |
getId |
Field Detail |
public static final Service SERVICE_RADIO_BUTTON_OFF
public static final Service SERVICE_RADIO_BUTTON_ON
Constructor Detail |
public RadioButtonUI()
Method Detail |
public void clientInput(java.lang.String input)
ClientInputProducer
clientInput
in interface ClientInputProducer
input
- The data in the hidden input field in the controller form
as last known.ClientInputProducer.clientInput(String)
public java.lang.String getControllerFieldValue()
ControllerFieldInitialState
getControllerFieldValue
in interface ControllerFieldInitialState
ControllerFieldInitialState.getControllerFieldValue()
public java.lang.String getDefaultStateImageUri(RenderingContext rc, boolean selected)
ToggleButtonUI
getDefaultStateImageUri
in class ToggleButtonUI
rc
- The RenderingContext
to which the button is being
rendered.selected
- True if the selected state image is being requested.
ToggleButtonUI.getDefaultStateImageUri(RenderingContext, boolean)
public java.lang.String getScriptAction(RenderingContext rc)
AbstractButtonUI
Button
s, this will normally
send input to the server. On ToggleButton
s, the
selection state will change and input may also be sent to the
server if desired by the application.
getScriptAction
in class AbstractButtonUI
rc
- The RenderingContext
being used for the
rendering of the button.
AbstractButtonUI.getScriptAction(RenderingContext)
public Id getStateId()
ToggleButtonUI
Id
of the controller input field in which the
ToggleButton
's state is to be stored. In the case where
multiple RadioButton
s are in a ButtonGroup
,
the state will be stored in only one field, specified by this
method.Id
of this peer.
getStateId
in class ToggleButtonUI
Id
of the controller input field used to
store the ToggleButton
's state.ToggleButtonUI.getStateId()
|
NextApp Echo App Container 1.1.4 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |