net.sf.tapfx.components
Class TapFXBaseComponent

java.lang.Object
  extended byorg.apache.tapestry.spec.BaseLocatable
      extended byorg.apache.tapestry.AbstractComponent
          extended byorg.apache.tapestry.BaseComponent
              extended bynet.sf.tapfx.components.TapFXBaseComponent
All Implemented Interfaces:
org.apache.tapestry.IComponent, org.apache.tapestry.ILocatable, org.apache.tapestry.ILocationHolder, org.apache.tapestry.IRender
Direct Known Subclasses:
MachoBar, MachoItem, OutlookBar, OutlookLink, OutlookPane

public class TapFXBaseComponent
extends org.apache.tapestry.BaseComponent

Author:
Joshua Long (josh@joshlong.com)

A utility base class.

Should this be a third class? Yes. But either way you'd be stuck with an extra dependency...


Constructor Summary
TapFXBaseComponent()
           
 
Method Summary
protected  void error(java.lang.Throwable thr)
           
 java.text.DateFormat getDateFormatter()
           
 java.text.NumberFormat getNumberFormatter()
           
 java.text.NumberFormat getPercentFormatter()
           
protected  java.util.Map getSymbolsForAssets(java.util.Map assets, org.apache.tapestry.IRequestCycle cycle)
           
 java.text.DateFormat getTimeFormatter()
           
protected  void prepareForRender(org.apache.tapestry.IRequestCycle cycle)
           
 void setDateFormatter(java.text.DateFormat dateFormatter)
           
 void setNumberFormatter(java.text.NumberFormat numberFormatter)
           
 void setPercentFormatter(java.text.NumberFormat percentFormatter)
           
 void setTimeFormatter(java.text.DateFormat timeFormatter)
           
protected  void setupComponent(org.apache.tapestry.IRequestCycle cycle)
           
 
Methods inherited from class org.apache.tapestry.BaseComponent
addOuter, finishLoad, renderComponent
 
Methods inherited from class org.apache.tapestry.AbstractComponent
addAsset, addBody, addComponent, cleanupAfterRender, finishLoad, fireObservedChange, fireObservedChange, fireObservedChange, fireObservedChange, fireObservedChange, fireObservedChange, fireObservedChange, fireObservedChange, fireObservedChange, format, format, format, format, formatString, formatString, formatString, formatString, generateAttributes, getAsset, getAssets, getBeans, getBinding, getBindingNames, getBindings, getBody, getBodyCount, getChangeObserver, getComponent, getComponents, getContainer, getExtendedId, getId, getIdPath, getListeners, getMessage, getMessages, getNamespace, getPage, getProperty, getSpecification, getString, pageEndRender, render, renderBody, renderInformalParameters, setBinding, setContainer, setId, setNamespace, setPage, setProperty, setSpecification, toString
 
Methods inherited from class org.apache.tapestry.spec.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.ILocationHolder
setLocation
 
Methods inherited from interface org.apache.tapestry.ILocatable
getLocation
 

Constructor Detail

TapFXBaseComponent

public TapFXBaseComponent()
Method Detail

getTimeFormatter

public java.text.DateFormat getTimeFormatter()

setTimeFormatter

public void setTimeFormatter(java.text.DateFormat timeFormatter)

getDateFormatter

public java.text.DateFormat getDateFormatter()

setDateFormatter

public void setDateFormatter(java.text.DateFormat dateFormatter)

getNumberFormatter

public java.text.NumberFormat getNumberFormatter()

setNumberFormatter

public void setNumberFormatter(java.text.NumberFormat numberFormatter)

getPercentFormatter

public java.text.NumberFormat getPercentFormatter()

setPercentFormatter

public void setPercentFormatter(java.text.NumberFormat percentFormatter)

getSymbolsForAssets

protected java.util.Map getSymbolsForAssets(java.util.Map assets,
                                            org.apache.tapestry.IRequestCycle cycle)

prepareForRender

protected void prepareForRender(org.apache.tapestry.IRequestCycle cycle)

setupComponent

protected void setupComponent(org.apache.tapestry.IRequestCycle cycle)

error

protected void error(java.lang.Throwable thr)


Copyright © 2005 Andreas Andreou. All Rights Reserved.