|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.hivemind.impl.BaseLocatable org.apache.tapestry.AbstractComponent net.sf.tacos.ajax.components.Radio
public abstract class Radio
Implements a component that manages an HTML <input type=radio> form element.
Such a component must be wrapped (possibly indirectly)
inside a RadioGroup
component.
[Component Reference]
Radio
and RadioGroup
are generally not used (except
for very special cases). Instead, a PropertySelection
component is used.
Constructor Summary | |
---|---|
Radio()
|
Method Summary | |
---|---|
abstract AjaxWebRequest |
getAjaxRequest()
Injected ajax request |
abstract org.apache.tapestry.services.ExpressionEvaluator |
getExpressionEvaluator()
Injected ognl parser |
abstract String |
getIdParameter()
Should be connected to a parameter named "id" (annotations would be helpful here!). |
abstract Object |
getValue()
The value selected |
abstract boolean |
isDisabled()
Whether or not disabled in form |
protected void |
renderComponent(org.apache.tapestry.IMarkupWriter writer,
org.apache.tapestry.IRequestCycle cycle)
Renders the form element, or responds when the form containing the element is submitted (by checking Form#isRewinding() . |
Methods inherited from class org.apache.tapestry.AbstractComponent |
---|
addAsset, addBody, addComponent, checkActiveLock, cleanupAfterRender, enterActiveState, finishLoad, finishLoad, format, format, format, format, getAsset, getAssets, getBeans, getBinding, getBindingNames, getBindings, getBody, getBodyCount, getComponent, getComponents, getContainedComponent, getContainer, getExtendedId, getId, getIdPath, getListeners, getMessage, getMessages, getNamespace, getPage, getProperty, getSpecification, isInActiveState, isParameterBound, isRendering, pageEndRender, prepareForRender, render, renderBody, renderInformalParameters, setBinding, setContainedComponent, setContainer, setId, setNamespace, setPage, setProperty, toString |
Methods inherited from class org.apache.hivemind.impl.BaseLocatable |
---|
getLocation, setLocation |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.apache.hivemind.LocationHolder |
---|
setLocation |
Methods inherited from interface org.apache.hivemind.Locatable |
---|
getLocation |
Constructor Detail |
---|
public Radio()
Method Detail |
---|
public abstract AjaxWebRequest getAjaxRequest()
ajaxRequest
- public abstract org.apache.tapestry.services.ExpressionEvaluator getExpressionEvaluator()
expressionEvaluator
- public abstract String getIdParameter()
protected void renderComponent(org.apache.tapestry.IMarkupWriter writer, org.apache.tapestry.IRequestCycle cycle)
Form#isRewinding()
.
renderComponent
in class org.apache.tapestry.AbstractComponent
public abstract boolean isDisabled()
public abstract Object getValue()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |