|
||||||||||
| 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.BaseComponent
org.apache.tapestry.contrib.form.MaskEdit
public abstract class MaskEdit
Provides a mask edit HTML <input type="text"> form element.
Mask edit field validates the text the user enters against a mask that encodes the valid forms the text can take. The mask can also format text that is displayed to the user.
| Mask character | Meaning in mask |
|---|---|
| l | Mixed case letter character [a..z, A..Z] |
| L | Upper case letter character [A..Z] |
| a | Mixed case alpha numeric character [a..z, A..Z, 0..1] |
| A | Upper case alpha numeric character [A..Z, 0..9] |
| # | Numeric character [0..9] |
| _ | Reserved character for display, do not use. |
| others | Non editable character for display. |
This component requires JavaScript to be enabled in the client browser.
| Constructor Summary | |
|---|---|
MaskEdit()
|
|
| Method Summary | |
|---|---|
abstract java.lang.String |
getMask()
|
abstract java.lang.String |
getValue()
|
abstract boolean |
isDisabled()
|
abstract void |
setDisabled(boolean disabled)
|
abstract void |
setMask(java.lang.String mask)
|
abstract void |
setValue(java.lang.String value)
|
| Methods inherited from class org.apache.tapestry.BaseComponent |
|---|
addOuter, finishLoad, renderComponent |
| 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.IComponent |
|---|
addAsset, addBody, addComponent, enterActiveState, 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 MaskEdit()
| Method Detail |
|---|
public abstract java.lang.String getMask()
public abstract void setMask(java.lang.String mask)
public abstract java.lang.String getValue()
public abstract void setValue(java.lang.String value)
public abstract boolean isDisabled()
public abstract void setDisabled(boolean disabled)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||