com.arsdigita.cms.ui
Class BackButton

java.lang.Object
  extended bycom.arsdigita.bebop.Completable
      extended bycom.arsdigita.bebop.SimpleComponent
          extended bycom.arsdigita.bebop.TextStylable
              extended bycom.arsdigita.bebop.BlockStylable
                  extended bycom.arsdigita.bebop.SimpleContainer
                      extended bycom.arsdigita.bebop.ColumnPanel
                          extended bycom.arsdigita.cms.ui.BackButton
All Implemented Interfaces:
Cloneable, com.arsdigita.bebop.Component, com.arsdigita.bebop.Container, com.arsdigita.util.Lockable

public class BackButton
extends com.arsdigita.bebop.ColumnPanel

Sticks a back button in the upper right hand corner of the component. Just override the back(PageState s) method to use.

Version:
$Revision: #6 $ $Date: 2004/04/07 $
Author:
Michael Pih (pihman@arsdigita.com)

Field Summary
static String versionId
           
 
Fields inherited from class com.arsdigita.bebop.BlockStylable
ABSBOTTOM, ABSMIDDLE, BASELINE, BOTTOM, CENTER, FULL_WIDTH, INSERT, LEFT, MIDDLE, RIGHT, TEXTTOP, TOP
 
Fields inherited from class com.arsdigita.bebop.SimpleComponent
m_attr
 
Fields inherited from interface com.arsdigita.bebop.Component
BEBOP_XML_NS, CLASS, ID, ON_CLICK, STYLE
 
Constructor Summary
BackButton(com.arsdigita.bebop.Component child)
           
 
Method Summary
protected  void back(com.arsdigita.bebop.PageState state)
          Called whenever the back button is clicked.
 void register(com.arsdigita.bebop.Page p)
          Register the control event listener to this page.
 void respond(com.arsdigita.bebop.PageState state)
          Remove the selected member from the selected group.
 
Methods inherited from class com.arsdigita.bebop.ColumnPanel
add, generateXML, getNumCols, isInserted, setBorder, setBorderColor, setBorderWidth, setColumnWidth, setConstraint, setInserted, setPadBorder, setPadCellPadding, setPadColor, setPadFrameWidth, setWidth
 
Methods inherited from class com.arsdigita.bebop.SimpleContainer
add, children, contains, generateChildrenXML, generateParent, get, getNamespace, getTag, indexOf, isEmpty, setNamespace, setTag, size
 
Methods inherited from class com.arsdigita.bebop.BlockStylable
setBorder, setBorder, setBorderColor, setHorizontalAlignment, setMargin, setMargin, setPadding, setPadding, setVerticalAlignment
 
Methods inherited from class com.arsdigita.bebop.TextStylable
setBackgroundColor, setColor
 
Methods inherited from class com.arsdigita.bebop.SimpleComponent
clone, exportAttributes, getAttribute, getClassAttr, getIdAttr, getKey, getMetaDataAttribute, getStyleAttr, hasAttributes, isLocked, isVisible, lock, register, setAttribute, setClassAttr, setIdAttr, setKey, setMetaDataAttribute, setStyleAttr, setVisible
 
Methods inherited from class com.arsdigita.bebop.Completable
addCompletionListener, fireCompletionEvent
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.arsdigita.bebop.Component
getClassAttr, getIdAttr, getKey, getStyleAttr, isVisible, register, setClassAttr, setIdAttr, setKey, setStyleAttr, setVisible
 
Methods inherited from interface com.arsdigita.util.Lockable
isLocked, lock
 

Field Detail

versionId

public static final String versionId
See Also:
Constant Field Values
Constructor Detail

BackButton

public BackButton(com.arsdigita.bebop.Component child)
Method Detail

respond

public void respond(com.arsdigita.bebop.PageState state)
             throws javax.servlet.ServletException
Remove the selected member from the selected group.

Throws:
javax.servlet.ServletException

back

protected void back(com.arsdigita.bebop.PageState state)
Called whenever the back button is clicked. Override this method.

Parameters:
state - The page state

register

public void register(com.arsdigita.bebop.Page p)
Register the control event listener to this page.



Copyright (c) 2004 Red Hat, Inc. Corporation. All Rights Reserved. Generated at July 19 2004:2352 UTC