org.apache.tapestry.contrib.form
Class MaskEdit
java.lang.Object
org.apache.hivemind.impl.BaseLocatable
org.apache.tapestry.AbstractComponent
org.apache.tapestry.BaseComponent
org.apache.tapestry.contrib.form.MaskEdit
- All Implemented Interfaces:
- org.apache.hivemind.Locatable, org.apache.hivemind.LocationHolder, IComponent, IDirectEvent, Component, IRender, ITemplateComponent
public abstract class MaskEdit
- extends BaseComponent
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.
[ Component Reference ]
- Since:
- 2.3
- Author:
- Malcolm Edgar
Methods inherited from class org.apache.tapestry.AbstractComponent |
addAsset, addBody, addComponent, checkActiveLock, cleanupAfterRender, enterActiveState, equals, finishLoad, generateClientId, getAsset, getAssets, getBeans, getBinding, getBindingNames, getBindings, getBody, getBodyCount, getBoundId, getClientId, getComponent, getComponents, getContainedComponent, getContainer, getEventInvoker, getExtendedId, getId, getIdPath, getListeners, getMessages, getNamespace, getPage, getRenderWorker, getSpecification, getSpecifiedId, getTemplateTagName, hasEvents, hashCode, isInActiveState, isParameterBound, isRendering, isStateful, pageEndRender, peekClientId, prepareForRender, render, renderBody, renderIdAttribute, renderInformalParameters, setBinding, setClientId, setContainedComponent, setContainer, setHasEvents, setId, setNamespace, setPage, setTemplateTagName, toString, triggerEvent |
Methods inherited from class org.apache.hivemind.impl.BaseLocatable |
getLocation, setLocation |
Methods inherited from interface org.apache.tapestry.IComponent |
addAsset, addBody, addComponent, enterActiveState, getAsset, getAssets, getBeans, getBinding, getBindingNames, getBindings, getClientId, getComponent, getComponents, getContainedComponent, getContainer, getEventInvoker, getExtendedId, getId, getIdPath, getListeners, getMessages, getNamespace, getPage, getSpecification, getSpecifiedId, getTemplateTagName, isRendering, peekClientId, renderBody, setBinding, setClientId, setContainedComponent, setContainer, setId, setNamespace, setPage, setTemplateTagName |
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 |
MaskEdit
public MaskEdit()
getMask
public abstract String getMask()
setMask
public abstract void setMask(String mask)
getValue
public abstract String getValue()
setValue
public abstract void setValue(String value)
isDisabled
public abstract boolean isDisabled()
setDisabled
public abstract void setDisabled(boolean disabled)
Copyright © 2006-2008 Apache Software Foundation. All Rights Reserved.