com.arsdigita.portalserver
Class CWPage

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.Page
                      extended bycom.arsdigita.portalserver.CWPage
All Implemented Interfaces:
Cloneable, com.arsdigita.bebop.Component, com.arsdigita.bebop.Container, com.arsdigita.util.Lockable
Direct Known Subclasses:
ApplicationPage

public class CWPage
extends com.arsdigita.bebop.Page

CWPage class This is a common page to be used by all CW pages for consistent styling.

Version:
$Revision: #4 $ $Date: 2003/08/15 $
Author:
Eric Lorenzo

Field Summary
static String PORTAL_BODY_ELEMENT
           
static String PORTAL_FOOTER_ELEMENT
           
static String PORTAL_GLOBAL_ELEMENT
           
static String PORTAL_HEADER_ELEMENT
           
static String PORTAL_XML_NS
           
static String versionId
           
 
Fields inherited from class com.arsdigita.bebop.Page
m_invisible, m_panel
 
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
protected CWPage()
           
 
Method Summary
 void add(com.arsdigita.bebop.Component pc)
          Adds a component to the body.
 com.arsdigita.bebop.Container getBody()
           
 com.arsdigita.bebop.Container getFooter()
           
 com.arsdigita.bebop.Container getGlobal()
           
 com.arsdigita.bebop.Container getHeader()
           
 void goModal(com.arsdigita.bebop.PageState ps, com.arsdigita.bebop.Component c)
          Makes the given component the only visible component between the header and footer of this page.
 void goUnmodal(com.arsdigita.bebop.PageState ps)
          Clears the currently selected modal component if it has been set.
 
Methods inherited from class com.arsdigita.bebop.Page
add, addActionListener, addClientStylesheet, addComponent, addComponentStateParam, addGlobalStateParam, addRequestListener, buildDocument, children, contains, fireActionEvent, fireRequestEvent, generateXML, generateXML, generateXMLHelper, get, getComponent, getComponentParameters, getErrorDisplay, getPanel, getParameters, getStateModel, getTitle, getTitle, indexOf, isEmpty, isUsingHttpSession, isVisibleDefault, lock, parameterName, parameterName, prepare, process, process, removeActionListener, removeRequestListener, respond, setErrorDisplay, setPanel, setStyleSheet, setTitle, setTitle, setUsingHttpSession, setVisibleDefault, size, stateContains, stateIndex, stateSize
 
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, register, 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, register, setClassAttr, setIdAttr, setKey, setStyleAttr, setVisible
 
Methods inherited from interface com.arsdigita.util.Lockable
isLocked
 

Field Detail

versionId

public static final String versionId
See Also:
Constant Field Values

PORTAL_GLOBAL_ELEMENT

public static final String PORTAL_GLOBAL_ELEMENT
See Also:
Constant Field Values

PORTAL_HEADER_ELEMENT

public static final String PORTAL_HEADER_ELEMENT
See Also:
Constant Field Values

PORTAL_BODY_ELEMENT

public static final String PORTAL_BODY_ELEMENT
See Also:
Constant Field Values

PORTAL_FOOTER_ELEMENT

public static final String PORTAL_FOOTER_ELEMENT
See Also:
Constant Field Values

PORTAL_XML_NS

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

CWPage

protected CWPage()
Method Detail

goModal

public void goModal(com.arsdigita.bebop.PageState ps,
                    com.arsdigita.bebop.Component c)
Makes the given component the only visible component between the header and footer of this page.


goUnmodal

public void goUnmodal(com.arsdigita.bebop.PageState ps)
Clears the currently selected modal component if it has been set.


add

public void add(com.arsdigita.bebop.Component pc)
Adds a component to the body.

Parameters:
pc - the component to be added

getGlobal

public com.arsdigita.bebop.Container getGlobal()

getHeader

public com.arsdigita.bebop.Container getHeader()

getBody

public com.arsdigita.bebop.Container getBody()

getFooter

public com.arsdigita.bebop.Container getFooter()


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