net.sf.tacos.demo.pages.core
Class MasksExample

java.lang.Object
  extended by org.apache.hivemind.impl.BaseLocatable
      extended by org.apache.tapestry.AbstractComponent
          extended by org.apache.tapestry.BaseComponent
              extended by org.apache.tapestry.AbstractPage
                  extended by org.apache.tapestry.html.BasePage
                      extended by net.sf.tacos.demo.pages.core.MasksExample
All Implemented Interfaces:
Locatable, LocationHolder, org.apache.tapestry.IComponent, org.apache.tapestry.IPage, org.apache.tapestry.IRender, org.apache.tapestry.ITemplateComponent

public abstract class MasksExample
extends org.apache.tapestry.html.BasePage

Demonstrates using masks and formatters in field components.

Author:
lquijano

Constructor Summary
MasksExample()
           
 
Method Summary
abstract  String getDateAmerican()
          A date, formatted by American standards.
abstract  String getDateEuropean()
          A date, formatted by European standards.
abstract  String getDateNoSeparators()
          A date, with no separators.
abstract  Date getDatePicker()
          A date picker.
abstract  String getNumberAmerican()
          A number, formatted by American standards.
abstract  String getNumberEuropean()
          A number, formatted by European standards.
abstract  String getNumberNoDecimals()
          A number, with no decimals.
abstract  String getNumberNoRounding()
          A number, with no rounding of decimals.
abstract  String getPhone()
          A phone number.
abstract  String getSsn()
          A SSN.
 
Methods inherited from class org.apache.tapestry.html.BasePage
getResponseContentType
 
Methods inherited from class org.apache.tapestry.AbstractPage
addPageAttachListener, addPageBeginRenderListener, addPageDetachListener, addPageEndRenderListener, addPageRenderListener, addPageValidateListener, attach, beginPageRender, beginResponse, detach, endPageRender, firePageAttached, firePageBeginRender, firePageDetached, firePageEndRender, firePageValidate, getChangeObserver, getEngine, getExtendedId, getGlobal, getIdPath, getLocale, getNestedComponent, getOutputEncoding, getPageName, getRequestCycle, getVisit, initialize, removePageAttachListener, removePageBeginRenderListener, removePageDetachListener, removePageEndRenderListener, removePageRenderListener, removePageValidateListener, renderPage, setChangeObserver, setLocale, setPageName, validate
 
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, getId, 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, getId, 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

MasksExample

public MasksExample()
Method Detail

getNumberAmerican

public abstract String getNumberAmerican()
A number, formatted by American standards.


getNumberEuropean

public abstract String getNumberEuropean()
A number, formatted by European standards.


getNumberNoDecimals

public abstract String getNumberNoDecimals()
A number, with no decimals.


getNumberNoRounding

public abstract String getNumberNoRounding()
A number, with no rounding of decimals.


getDateAmerican

public abstract String getDateAmerican()
A date, formatted by American standards.


getDateEuropean

public abstract String getDateEuropean()
A date, formatted by European standards.


getDateNoSeparators

public abstract String getDateNoSeparators()
A date, with no separators.


getDatePicker

public abstract Date getDatePicker()
A date picker.


getPhone

public abstract String getPhone()
A phone number.


getSsn

public abstract String getSsn()
A SSN.