|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.hivemind.impl.BaseLocatable org.apache.tapestry.AbstractComponent org.apache.tapestry.form.AbstractFormComponent net.sf.tacos.ajax.components.DatePicker
public abstract class DatePicker
Provides a Form java.util.Date field component for selecting dates. [ Component Reference ] As of 4.0, DatePicker can indicate that it is required, use a custom translator (e.g. for java.sql.Date), and perform validation on the submitted date.
As of 4.0, this component can be configurably translated and validated.
Constructor Summary | |
---|---|
DatePicker()
|
Method Summary | |
---|---|
protected void |
finishLoad()
|
abstract AjaxWebRequest |
getAjaxWebRequest()
Injected ajax request |
abstract org.apache.tapestry.IAsset |
getIcon()
gets icon |
abstract boolean |
getIncludeWeek()
should include week |
abstract org.apache.tapestry.engine.IScriptSource |
getScriptSource()
Injected |
abstract org.apache.tapestry.form.TranslatedFieldSupport |
getTranslatedFieldSupport()
Injected. |
abstract org.apache.tapestry.form.ValidatableFieldSupport |
getValidatableFieldSupport()
Injected. |
abstract Date |
getValue()
gets value |
abstract boolean |
isDisabled()
whether disabled |
boolean |
isRequired()
|
protected void |
renderFormComponent(org.apache.tapestry.IMarkupWriter writer,
org.apache.tapestry.IRequestCycle cycle)
|
protected void |
rewindFormComponent(org.apache.tapestry.IMarkupWriter writer,
org.apache.tapestry.IRequestCycle cycle)
|
abstract void |
setValue(Date value)
sets value |
Methods inherited from class org.apache.tapestry.form.AbstractFormComponent |
---|
getAlwaysRenderBodyOnRewind, getCanTakeFocus, getForm, getIdParameter, getName, renderComponent, renderDelegateAttributes, renderDelegatePrefix, renderDelegateSuffix, renderIdAttribute, setClientId, setForm, setName, setName |
Methods inherited from class org.apache.tapestry.AbstractComponent |
---|
addAsset, addBody, addComponent, checkActiveLock, cleanupAfterRender, enterActiveState, 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.form.TranslatedField |
---|
getTranslator |
Methods inherited from interface org.apache.tapestry.form.ValidatableField |
---|
getValidators |
Methods inherited from interface org.apache.tapestry.form.IFormComponent |
---|
getClientId, getDisplayName, getForm, getName, setName |
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 DatePicker()
Method Detail |
---|
public abstract Date getValue()
public abstract void setValue(Date value)
public abstract boolean isDisabled()
isDisabled
in interface org.apache.tapestry.form.IFormComponent
public abstract boolean getIncludeWeek()
public abstract org.apache.tapestry.IAsset getIcon()
public abstract org.apache.tapestry.engine.IScriptSource getScriptSource()
protected void finishLoad()
finishLoad
in class org.apache.tapestry.AbstractComponent
AbstractComponent.finishLoad()
protected void renderFormComponent(org.apache.tapestry.IMarkupWriter writer, org.apache.tapestry.IRequestCycle cycle)
renderFormComponent
in class org.apache.tapestry.form.AbstractFormComponent
AbstractFormComponent.renderFormComponent(org.apache.tapestry.IMarkupWriter, org.apache.tapestry.IRequestCycle)
protected void rewindFormComponent(org.apache.tapestry.IMarkupWriter writer, org.apache.tapestry.IRequestCycle cycle)
rewindFormComponent
in class org.apache.tapestry.form.AbstractFormComponent
AbstractFormComponent.rewindFormComponent(org.apache.tapestry.IMarkupWriter, org.apache.tapestry.IRequestCycle)
public abstract org.apache.tapestry.form.ValidatableFieldSupport getValidatableFieldSupport()
public abstract org.apache.tapestry.form.TranslatedFieldSupport getTranslatedFieldSupport()
public abstract AjaxWebRequest getAjaxWebRequest()
public boolean isRequired()
isRequired
in interface org.apache.tapestry.form.IFormComponent
isRequired
in class org.apache.tapestry.form.AbstractFormComponent
AbstractFormComponent.isRequired()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |