net.sf.tapfx.components.outlookbar
Class OutlookLink

java.lang.Object
  extended by org.apache.tapestry.spec.BaseLocatable
      extended by org.apache.tapestry.AbstractComponent
          extended by org.apache.tapestry.BaseComponent
              extended by net.sf.tapfx.components.TapFXBaseComponent
                  extended by net.sf.tapfx.components.outlookbar.OutlookLink
All Implemented Interfaces:
org.apache.tapestry.IComponent, org.apache.tapestry.ILocatable, org.apache.tapestry.ILocationHolder, org.apache.tapestry.IRender

public abstract class OutlookLink
extends TapFXBaseComponent

This provides many services and renders an icon as well as its label. You might imagine this where the Mail, or Calendar icons in Outlook are.

Yuck.. I know this could be prettier.

Author:
Joshua Long (josh@joshlong.com)

Field Summary
static java.lang.String SELECTED_OUTLOOK_LINK_ID
           
 
Constructor Summary
OutlookLink()
           
 
Method Summary
abstract  java.lang.String getDirectUrl()
           
abstract  org.apache.tapestry.IAsset getImage()
           
abstract  java.lang.String getImageUrl()
           
abstract  org.apache.tapestry.IActionListener getListener()
           
abstract  java.lang.String getPageName()
           
abstract  java.lang.Object getParameters()
           
 java.lang.String getPrefix()
           
abstract  java.lang.String getSelectedId()
           
 void gotoPageAction(org.apache.tapestry.IRequestCycle cycle)
           
abstract  boolean isRestart()
           
 boolean isStateful()
           
abstract  void setDirectUrl(java.lang.String directUrl)
           
abstract  void setImage(org.apache.tapestry.IAsset asset)
           
abstract  void setImageUrl(java.lang.String imageUrl)
           
abstract  void setListener(org.apache.tapestry.IActionListener directLink)
           
abstract  void setPageName(java.lang.String page)
           
abstract  void setParameters(java.lang.Object parameters)
           
abstract  void setRestart(boolean restart)
           
abstract  void setSelectedId(java.lang.String selectedId)
           
protected  void setupComponent(org.apache.tapestry.IRequestCycle cycle)
           
 void trigger(org.apache.tapestry.IRequestCycle cycle)
           
 
Methods inherited from class net.sf.tapfx.components.TapFXBaseComponent
error, getDateFormatter, getNumberFormatter, getPercentFormatter, getSymbolsForAssets, getTimeFormatter, prepareForRender, setDateFormatter, setNumberFormatter, setPercentFormatter, setTimeFormatter
 
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
 

Field Detail

SELECTED_OUTLOOK_LINK_ID

public static final java.lang.String SELECTED_OUTLOOK_LINK_ID
See Also:
Constant Field Values
Constructor Detail

OutlookLink

public OutlookLink()
Method Detail

getPageName

public abstract java.lang.String getPageName()

setPageName

public abstract void setPageName(java.lang.String page)

getDirectUrl

public abstract java.lang.String getDirectUrl()

setDirectUrl

public abstract void setDirectUrl(java.lang.String directUrl)

getListener

public abstract org.apache.tapestry.IActionListener getListener()

setListener

public abstract void setListener(org.apache.tapestry.IActionListener directLink)

getImage

public abstract org.apache.tapestry.IAsset getImage()

setImage

public abstract void setImage(org.apache.tapestry.IAsset asset)

getImageUrl

public abstract java.lang.String getImageUrl()

setImageUrl

public abstract void setImageUrl(java.lang.String imageUrl)

getParameters

public abstract java.lang.Object getParameters()

setParameters

public abstract void setParameters(java.lang.Object parameters)

getSelectedId

public abstract java.lang.String getSelectedId()

setSelectedId

public abstract void setSelectedId(java.lang.String selectedId)

isRestart

public abstract boolean isRestart()

setRestart

public abstract void setRestart(boolean restart)

isStateful

public boolean isStateful()

getPrefix

public java.lang.String getPrefix()

trigger

public void trigger(org.apache.tapestry.IRequestCycle cycle)

gotoPageAction

public void gotoPageAction(org.apache.tapestry.IRequestCycle cycle)

setupComponent

protected void setupComponent(org.apache.tapestry.IRequestCycle cycle)
Overrides:
setupComponent in class TapFXBaseComponent


Copyright © 2005 Andreas Andreou. All Rights Reserved.