public abstract class FieldLabel extends AbstractComponent
IFormComponent. Because such fields know their displayName
(user-presentable name), there's no reason to hard code the label in a page's HTML template (this
also helps with localization). [ Component Reference ]| Constructor and Description |
|---|
FieldLabel() |
| Modifier and Type | Method and Description |
|---|---|
abstract java.lang.String |
getDisplayName()
displayName parameter
|
abstract IFormComponent |
getField()
field parameter
|
abstract boolean |
getRaw()
raw parameter
|
abstract boolean |
isPrerender() |
protected void |
renderComponent(IMarkupWriter writer,
IRequestCycle cycle)
|
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, toStringpublic FieldLabel()
public abstract boolean isPrerender()
protected void renderComponent(IMarkupWriter writer, IRequestCycle cycle)
IForm and delegate, then renders the
label obtained from the field. Does nothing when rewinding.renderComponent in class AbstractComponentpublic abstract java.lang.String getDisplayName()
public abstract IFormComponent getField()
public abstract boolean getRaw()