net.sf.tapfx.components.outlookbar
Class OutlookLink

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
                  extended by net.sf.tapfx.components.outlookbar.OutlookLink
All Implemented Interfaces:
org.apache.hivemind.Locatable, org.apache.hivemind.LocationHolder, org.apache.tapestry.IComponent, org.apache.tapestry.IDirect, org.apache.tapestry.IRender, org.apache.tapestry.ITemplateComponent

public abstract class OutlookLink
extends TapFXBaseComponent
implements org.apache.tapestry.IDirect

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.

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

Field Summary
static java.lang.String SELECTED_OUTLOOK_LINK_ID
           
 
Constructor Summary
OutlookLink()
           
 
Method Summary
abstract  org.apache.tapestry.engine.IEngineService getDirectService()
           
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, 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, finishLoad, 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
 

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)

getDirectService

public abstract org.apache.tapestry.engine.IEngineService getDirectService()

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()
Specified by:
isStateful in interface org.apache.tapestry.IDirect

getPrefix

public java.lang.String getPrefix()

trigger

public void trigger(org.apache.tapestry.IRequestCycle cycle)
Specified by:
trigger in interface org.apache.tapestry.IDirect

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.