public abstract class Select extends AbstractFormComponent implements ValidatableField
PropertySelection
component. [ Component Reference ]
Otherwise, this component is very similar to RadioGroup
.
As of 4.0, this component can be validated.
Constructor and Description |
---|
Select() |
Modifier and Type | Method and Description |
---|---|
protected void |
cleanupAfterRender(IRequestCycle cycle)
Invoked by
AbstractComponent.render(IMarkupWriter, IRequestCycle) after the component renders. |
static Select |
get(IRequestCycle cycle) |
java.lang.String |
getNextOptionId() |
abstract ValidatableFieldSupport |
getValidatableFieldSupport()
Injected.
|
abstract boolean |
isMultiple() |
boolean |
isRequired()
Returns false.
|
boolean |
isRewinding() |
boolean |
isSelected(java.lang.String value) |
protected void |
prepareForRender(IRequestCycle cycle)
Invoked by
AbstractComponent.render(IMarkupWriter, IRequestCycle) to prepare the component to render. |
protected void |
renderFormComponent(IMarkupWriter writer,
IRequestCycle cycle) |
protected void |
rewindFormComponent(IMarkupWriter writer,
IRequestCycle cycle) |
getAlwaysRenderBodyOnRewind, getCanTakeFocus, getForm, getIdParameter, getName, renderComponent, renderDelegateAttributes, renderDelegatePrefix, renderDelegateSuffix, renderIdAttribute, setClientId, setForm, setName, setName
addAsset, addBody, addComponent, checkActiveLock, 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, render, renderBody, renderInformalParameters, setBinding, setContainedComponent, setContainer, setId, setNamespace, setPage, setProperty, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getValidators
getClientId, getDisplayName, getForm, getName, isDisabled, setName
addAsset, addBody, addComponent, enterActiveState, finishLoad, getAsset, getAssets, getBeans, getBinding, getBindingNames, getBindings, getComponent, getComponents, getContainedComponent, getContainer, getExtendedId, getId, getIdPath, getListeners, getMessage, getMessages, getNamespace, getPage, getProperty, getSpecification, isRendering, renderBody, setBinding, setContainedComponent, setContainer, setId, setNamespace, setPage, setProperty
public Select()
public static Select get(IRequestCycle cycle)
public abstract boolean isMultiple()
public boolean isRewinding()
public java.lang.String getNextOptionId()
public boolean isSelected(java.lang.String value)
protected void prepareForRender(IRequestCycle cycle)
AbstractComponent
AbstractComponent.render(IMarkupWriter, IRequestCycle)
to prepare the component to render.
This implementation sets JavaBeans properties from matching bound parameters. This
implementation does nothing.prepareForRender
in class AbstractComponent
AbstractComponent.prepareForRender(org.apache.tapestry.IRequestCycle)
protected void cleanupAfterRender(IRequestCycle cycle)
AbstractComponent
AbstractComponent.render(IMarkupWriter, IRequestCycle)
after the component renders. This
implementation does nothing.cleanupAfterRender
in class AbstractComponent
AbstractComponent.cleanupAfterRender(org.apache.tapestry.IRequestCycle)
protected void renderFormComponent(IMarkupWriter writer, IRequestCycle cycle)
protected void rewindFormComponent(IMarkupWriter writer, IRequestCycle cycle)
public abstract ValidatableFieldSupport getValidatableFieldSupport()
public boolean isRequired()
AbstractFormComponent
isRequired
in interface IFormComponent
isRequired
in class AbstractFormComponent
AbstractFormComponent.isRequired()