SigPath

org.sigpath.tapestry.components
Class Border

java.lang.Object
  extended by org.apache.tapestry.spec.BaseLocatable
      extended by org.apache.tapestry.AbstractComponent
          extended by org.apache.tapestry.BaseComponent
              extended by org.sigpath.tapestry.components.Border
All Implemented Interfaces:
EventListener, PageRenderListener, IComponent, ILocatable, ILocationHolder, IRender

public abstract class Border
extends BaseComponent
implements PageRenderListener

The border component embeddes various tapestry components to create a page. This border is customized for SigPath.


Constructor Summary
Border()
           
 
Method Summary
abstract  IBinding getDatabaseReadBinding()
          true indicates the page requires read access to the database.
abstract  IBinding getDatabaseWriteBinding()
          true indicates the page requires write access to the database.
abstract  IBinding getEditBinding()
           
abstract  IBinding getHeadingBinding()
          optional heading bar to display at the top of the page.
abstract  IBinding getProtectedBinding()
          true indicates that the user must be logged in to access the page.
 String getSeperator()
          Returns " | " if getSeperator() has been called before, otherwise returns ""
abstract  IBinding getTitleBinding()
          text to display on browser title bar.
abstract  String getUserMessage()
           
abstract  boolean getUseSeperator()
           
abstract  IBinding getViewBinding()
           
 boolean isUserAuthenticated()
           
 boolean isXDebugOn()
           
 void pageBeginRender(PageEvent event)
           
abstract  void setUserMessage(String message)
           
abstract  void setUseSeperator(boolean newval)
           
 
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, prepareForRender, 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.event.PageRenderListener
pageEndRender
 
Methods inherited from interface org.apache.tapestry.ILocationHolder
setLocation
 
Methods inherited from interface org.apache.tapestry.ILocatable
getLocation
 

Constructor Detail

Border

public Border()
Method Detail

getTitleBinding

public abstract IBinding getTitleBinding()
text to display on browser title bar.


getProtectedBinding

public abstract IBinding getProtectedBinding()
true indicates that the user must be logged in to access the page.


getDatabaseReadBinding

public abstract IBinding getDatabaseReadBinding()
true indicates the page requires read access to the database.


getDatabaseWriteBinding

public abstract IBinding getDatabaseWriteBinding()
true indicates the page requires write access to the database.


getHeadingBinding

public abstract IBinding getHeadingBinding()
optional heading bar to display at the top of the page.


getViewBinding

public abstract IBinding getViewBinding()

getEditBinding

public abstract IBinding getEditBinding()

getUserMessage

public abstract String getUserMessage()

setUserMessage

public abstract void setUserMessage(String message)

setUseSeperator

public abstract void setUseSeperator(boolean newval)

getUseSeperator

public abstract boolean getUseSeperator()

pageBeginRender

public void pageBeginRender(PageEvent event)
Specified by:
pageBeginRender in interface PageRenderListener

isXDebugOn

public boolean isXDebugOn()

isUserAuthenticated

public boolean isUserAuthenticated()

getSeperator

public String getSeperator()
Returns " | " if getSeperator() has been called before, otherwise returns ""

Returns:
String "" on first call, " | " on subsequent calls.

SigPath

Copyright © 2002-2005 Institute for Computational Biomedicine, All Rights Reserved.