|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object wicket.Component wicket.MarkupContainer wicket.markup.html.WebMarkupContainer wicket.markup.html.WebMarkupContainerWithAssociatedMarkup wicket.markup.html.panel.Panel wicket.extensions.ajax.markup.html.AjaxEditableLabel wicket.extensions.ajax.markup.html.AjaxEditableMultiLineLabel
public class AjaxEditableMultiLineLabel
And inplace editor much like AjaxEditableLabel
, but now with support
for multi line content and a text area
as its editor.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class wicket.extensions.ajax.markup.html.AjaxEditableLabel |
---|
AjaxEditableLabel.EditorAjaxBehavior, AjaxEditableLabel.LabelAjaxBehavior |
Nested classes/interfaces inherited from class wicket.markup.html.WebMarkupContainerWithAssociatedMarkup |
---|
wicket.markup.html.WebMarkupContainerWithAssociatedMarkup.HeaderPartContainer |
Nested classes/interfaces inherited from class wicket.Component |
---|
wicket.Component.ComponentModelChange, wicket.Component.EnabledChange, wicket.Component.IVisitor, wicket.Component.VisibilityChange |
Field Summary |
---|
Fields inherited from class wicket.Component |
---|
ENABLE, FLAG_RESERVED1, FLAG_RESERVED2, FLAG_RESERVED3, FLAG_RESERVED4, FLAG_RESERVED5, FLAG_RESERVED6, FLAG_RESERVED7, FLAG_RESERVED8, PATH_SEPARATOR, RENDER |
Constructor Summary | |
---|---|
AjaxEditableMultiLineLabel(java.lang.String id)
Construct. |
|
AjaxEditableMultiLineLabel(java.lang.String id,
wicket.model.IModel model)
Construct. |
Method Summary | |
---|---|
protected java.lang.String |
defaultNullLabel()
Override this to display a different value when the model object is null. |
int |
getCols()
Gets text area's number of columns. |
int |
getRows()
Gets text area's number of rows. |
protected wicket.markup.html.form.FormComponent |
newEditor(wicket.MarkupContainer parent,
java.lang.String componentId,
wicket.model.IModel model)
Create a new form component instance to serve as editor. |
protected wicket.Component |
newLabel(wicket.MarkupContainer parent,
java.lang.String componentId,
wicket.model.IModel model)
Create a new form component instance to serve as editor. |
void |
setCols(int cols)
Sets text area's number of columns. |
void |
setRows(int rows)
Sets text area's number of rows. |
Methods inherited from class wicket.extensions.ajax.markup.html.AjaxEditableLabel |
---|
add, getEditor, getLabel, internalOnAttach, onCancel, onEdit, onError, onSubmit, setLabel, setModel, setRequired, setType |
Methods inherited from class wicket.markup.html.panel.Panel |
---|
onComponentTag, onComponentTagBody, renderHead |
Methods inherited from class wicket.markup.html.WebMarkupContainerWithAssociatedMarkup |
---|
newHeaderPartContainer, renderHeadFromAssociatedMarkupFile |
Methods inherited from class wicket.markup.html.WebMarkupContainer |
---|
getMarkupType, getWebPage |
Methods inherited from class wicket.MarkupContainer |
---|
add, autoAdd, contains, findMarkupStream, get, getAssociatedMarkupStream, getMarkupStream, internalAdd, internalAttach, internalDetach, isTransparentResolver, iterator, iterator, newMarkupResourceStream, onRender, remove, remove, removeAll, renderAll, renderAssociatedMarkup, renderComponentTagBody, replace, setMarkupStream, size, toString, toString, visitChildren, visitChildren |
Methods inherited from class wicket.Component |
---|
add, addStateChange, checkComponentTag, checkComponentTagAttribute, continueToOriginalDestination, debug, detachBehaviors, detachModel, detachModels, error, exceptionMessage, fatal, findPage, findParent, findParentWithAssociatedMarkup, getApplication, getApplicationPages, getApplicationSettings, getBehaviors, getBehaviors, getClassRelativePath, getConverter, getEscapeModelStrings, getFeedbackMessage, getFlag, getFlag, getId, getLocale, getLocalizer, getMarkupAttributes, getMarkupId, getMetaData, getModel, getModelComparator, getModelObject, getModelObjectAsString, getOutputMarkupId, getPage, getPageFactory, getPageRelativePath, getParent, getPath, getRenderBodyOnly, getRequest, getRequestCycle, getResponse, getSession, getSizeInBytes, getString, getString, getString, getStyle, getVariation, hasErrorMessage, hasFeedbackMessage, info, initModel, internalOnDetach, internalOnModelChanged, isActionAuthorized, isAncestorOf, isBehaviorAccepted, isEnableAllowed, isEnabled, isHeadRendered, isIgnoreAttributeModifier, isRenderAllowed, isVersioned, isVisible, isVisibleInHierarchy, modelChanged, modelChanging, newPage, newPage, onAfterRender, onAttach, onBeforeRender, onBeginRequest, onDetach, onEndRequest, onModelChanged, onModelChanging, onRender, redirectToInterceptPage, remove, render, render, renderComponent, renderComponent, renderComponentTag, rendered, renderedBehaviors, replaceComponentTagBody, replaceWith, resetHeadRendered, sameRootModel, sameRootModel, setAuto, setEnabled, setEscapeModelStrings, setFlag, setFlag, setIgnoreAttributeModifier, setMetaData, setModelObject, setOutputMarkupId, setRedirect, setRenderBodyOnly, setResponsePage, setResponsePage, setResponsePage, setVersioned, setVisible, urlFor, urlFor, urlFor, urlFor, urlFor, visitParents, warn |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AjaxEditableMultiLineLabel(java.lang.String id)
id
- The component idpublic AjaxEditableMultiLineLabel(java.lang.String id, wicket.model.IModel model)
id
- The component idmodel
- The modelMethod Detail |
---|
protected wicket.Component newLabel(wicket.MarkupContainer parent, java.lang.String componentId, wicket.model.IModel model)
AjaxEditableLabel
newLabel
in class AjaxEditableLabel
parent
- The parent componentcomponentId
- Id that should be used by the componentmodel
- The model
AjaxEditableLabel.newLabel(wicket.MarkupContainer, java.lang.String, wicket.model.IModel)
protected wicket.markup.html.form.FormComponent newEditor(wicket.MarkupContainer parent, java.lang.String componentId, wicket.model.IModel model)
AjaxEditableLabel
newEditor
in class AjaxEditableLabel
parent
- The parent componentcomponentId
- Id that should be used by the componentmodel
- The model
AjaxEditableLabel.newEditor(wicket.MarkupContainer, java.lang.String, wicket.model.IModel)
public final int getCols()
public final void setCols(int cols)
cols
- text area's number of columnspublic final int getRows()
public final void setRows(int rows)
rows
- text area's number of rowsprotected java.lang.String defaultNullLabel()
...
defaultNullLabel
in class AjaxEditableLabel
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |