net.sf.tapfx.components
Class TapFXBaseComponent

java.lang.Object
  extended by org.apache.hivemind.impl.BaseLocatable
      extended by org.apache.tapestry.AbstractComponent
          extended by org.apache.tapestry.BaseComponent
              extended by net.sf.tapfx.components.TapFXBaseComponent
All Implemented Interfaces:
org.apache.hivemind.Locatable, org.apache.hivemind.LocationHolder, org.apache.tapestry.IComponent, org.apache.tapestry.IRender, org.apache.tapestry.ITemplateComponent
Direct Known Subclasses:
MachoBar, MachoItem, OutlookBar, OutlookLink, OutlookPane

public class TapFXBaseComponent
extends org.apache.tapestry.BaseComponent

A utility base class.

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

Version:
$Id: TapFXBaseComponent.java,v 1.2 2005/11/04 23:32:54 andyhot Exp $
Author:
Joshua Long (josh@joshlong.com), andyhot

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, 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, 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

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)
Overrides:
prepareForRender in class org.apache.tapestry.AbstractComponent

setupComponent

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

error

protected void error(java.lang.Throwable thr)


Copyright © 2005 Andreas Andreou. All Rights Reserved.