public abstract class Option extends AbstractComponent
Select
.
A Select
offers a selection of choices from which usersu may choose one or more items.
The select list is created using a select element which contains a collection of option elements.
A string or text describing the item appears between the opening and closing option tags. In
order to have a dynamic onpick attribute it is better to use a concrete class of
ILinkRenderer
with the OptionRenderer
.Constructor and Description |
---|
Option() |
Modifier and Type | Method and Description |
---|---|
abstract java.lang.String |
getValue() |
protected void |
renderComponent(IMarkupWriter writer,
IRequestCycle cycle)
Invoked by
AbstractComponent.render(IMarkupWriter, IRequestCycle) to actually render the component
(with any parameter values already set). |
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
public Option()
protected void renderComponent(IMarkupWriter writer, IRequestCycle cycle)
AbstractComponent
AbstractComponent.render(IMarkupWriter, IRequestCycle)
to actually render the component
(with any parameter values already set). This is the method that subclasses must implement.renderComponent
in class AbstractComponent
AbstractComponent.renderComponent(IMarkupWriter, IRequestCycle)
public abstract java.lang.String getValue()