|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.hivemind.impl.BaseLocatable
org.apache.tapestry.AbstractComponent
org.apache.tapestry.form.AbstractFormComponent
org.apache.tapestry.form.ListEdit
ForBean
public abstract class ListEdit
A specialized component used to edit a list of items within a form; it is similar to a
Foreach
but leverages hidden inputs within the
<form> to store the items in the list. [ Component Reference ]
Constructor Summary | |
---|---|
ListEdit()
Deprecated. |
Method Summary | |
---|---|
protected boolean |
getCanTakeFocus()
Deprecated. Returns false; ListEdit components can't take focus. |
java.lang.String |
getClientId()
Deprecated. Returns the component's client-side element id. |
abstract DataSqueezer |
getDataSqueezer()
Deprecated. |
java.lang.String |
getDisplayName()
Deprecated. May be implemented to return a user-presentable, localized name for the component, which is used in labels or error messages. |
abstract java.lang.String |
getElement()
Deprecated. |
abstract IActionListener |
getListener()
Deprecated. |
abstract ListenerInvoker |
getListenerInvoker()
Deprecated. Injected. |
abstract java.util.Iterator |
getSource()
Deprecated. |
abstract ValueConverter |
getValueConverter()
Deprecated. |
boolean |
isDisabled()
Deprecated. Returns true if the component is disabled. |
protected void |
render(IMarkupWriter writer,
IRequestCycle cycle,
java.util.Iterator i)
Deprecated. |
protected void |
renderFormComponent(IMarkupWriter writer,
IRequestCycle cycle)
Deprecated. |
protected void |
rewindFormComponent(IMarkupWriter writer,
IRequestCycle cycle)
Deprecated. |
abstract void |
setIndex(int index)
Deprecated. |
abstract void |
setValue(java.lang.Object value)
Deprecated. |
Methods inherited from class org.apache.tapestry.form.AbstractFormComponent |
---|
getAlwaysRenderBodyOnRewind, getForm, getIdParameter, getName, isRequired, renderComponent, renderDelegateAttributes, renderDelegatePrefix, renderDelegateSuffix, renderIdAttribute, setClientId, setForm, setName, setName |
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.tapestry.IComponent |
---|
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 |
Methods inherited from interface org.apache.tapestry.IRender |
---|
render |
Methods inherited from interface org.apache.hivemind.LocationHolder |
---|
setLocation |
Methods inherited from interface org.apache.hivemind.Locatable |
---|
getLocation |
Constructor Detail |
---|
public ListEdit()
Method Detail |
---|
protected void renderFormComponent(IMarkupWriter writer, IRequestCycle cycle)
renderFormComponent
in class AbstractFormComponent
AbstractFormComponent.renderFormComponent(org.apache.tapestry.IMarkupWriter,
org.apache.tapestry.IRequestCycle)
protected void rewindFormComponent(IMarkupWriter writer, IRequestCycle cycle)
rewindFormComponent
in class AbstractFormComponent
AbstractFormComponent.rewindFormComponent(org.apache.tapestry.IMarkupWriter,
org.apache.tapestry.IRequestCycle)
protected void render(IMarkupWriter writer, IRequestCycle cycle, java.util.Iterator i)
public abstract java.lang.String getElement()
public abstract IActionListener getListener()
public boolean isDisabled()
IFormComponent
public abstract java.util.Iterator getSource()
public abstract void setValue(java.lang.Object value)
public abstract void setIndex(int index)
public abstract DataSqueezer getDataSqueezer()
public abstract ValueConverter getValueConverter()
public abstract ListenerInvoker getListenerInvoker()
protected boolean getCanTakeFocus()
getCanTakeFocus
in class AbstractFormComponent
public java.lang.String getClientId()
IFormComponent
IRequestCycle.getUniqueId(String)
to ensure that it is unique.
The component is expected to write an id attribute (if it has a non null id). As with
IFormComponent.getName()
, if a component renders more than once (such as inside a loop) then on
each render it will have a different clientId.
public java.lang.String getDisplayName()
IFormComponent
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |