com.arsdigita.forum.ui
Class ForumComponent

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.ModalContainer
                          extended bycom.arsdigita.forum.ui.ForumComponent
All Implemented Interfaces:
Cloneable, com.arsdigita.bebop.Component, Constants, com.arsdigita.bebop.Container, com.arsdigita.util.Lockable, com.arsdigita.bebop.Resettable

public class ForumComponent
extends com.arsdigita.bebop.ModalContainer
implements Constants

The Bebop Page which provides the complete UI for the bboard application

Version:
$Revision: #10 $ $Author: sskracic $ $Date: 2004/06/03 $
Author:
Kevin Scaldeferri (kevin@arsdigita.com)

Field Summary
static String MODE_ALERTS
           
static String MODE_MODERATION
           
static String MODE_THREADS
           
static String MODE_TOPICS
           
 
Fields inherited from class com.arsdigita.bebop.ModalContainer
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.forum.ui.Constants
FORUM_MODE_POST, FORUM_MODE_VIEW, FORUM_XML_NS, MODE_PARAM, PAGINATOR_PARAM, THREAD_PARAM, TOPIC_ANY, TOPIC_NONE, TOPIC_PARAM
 
Fields inherited from interface com.arsdigita.bebop.Component
BEBOP_XML_NS, CLASS, ID, ON_CLICK, STYLE
 
Constructor Summary
ForumComponent()
           
 
Method Summary
protected  void generateModeXML(com.arsdigita.bebop.PageState state, com.arsdigita.xml.Element parent, String mode)
           
 void generateXML(com.arsdigita.bebop.PageState state, com.arsdigita.xml.Element parent)
           
 void register(com.arsdigita.bebop.Page p)
           
 void respond(com.arsdigita.bebop.PageState state)
           
 
Methods inherited from class com.arsdigita.bebop.ModalContainer
addModeChangeListener, getDefaultComponent, getVisibleComponent, next, previous, reset, setDefaultComponent, setVisibleComponent
 
Methods inherited from class com.arsdigita.bebop.SimpleContainer
add, 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

MODE_THREADS

public static final String MODE_THREADS
See Also:
Constant Field Values

MODE_TOPICS

public static final String MODE_TOPICS
See Also:
Constant Field Values

MODE_ALERTS

public static final String MODE_ALERTS
See Also:
Constant Field Values

MODE_MODERATION

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

ForumComponent

public ForumComponent()
Method Detail

register

public void register(com.arsdigita.bebop.Page p)
Specified by:
register in interface com.arsdigita.bebop.Component

respond

public void respond(com.arsdigita.bebop.PageState state)
             throws javax.servlet.ServletException
Specified by:
respond in interface com.arsdigita.bebop.Component
Throws:
javax.servlet.ServletException

generateXML

public void generateXML(com.arsdigita.bebop.PageState state,
                        com.arsdigita.xml.Element parent)
Specified by:
generateXML in interface com.arsdigita.bebop.Component

generateModeXML

protected void generateModeXML(com.arsdigita.bebop.PageState state,
                               com.arsdigita.xml.Element parent,
                               String mode)


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