com.arsdigita.cms.contenttypes.ui.mparticle
Class ArticleSectionPanel
java.lang.Object
com.arsdigita.bebop.Completable
com.arsdigita.bebop.SimpleComponent
com.arsdigita.cms.contenttypes.ui.mparticle.ArticleSectionPanel
- All Implemented Interfaces:
- Cloneable, com.arsdigita.bebop.Component, com.arsdigita.util.Lockable
- public class ArticleSectionPanel
- extends com.arsdigita.bebop.SimpleComponent
This ContentPanel
component fetches
the XMLGenerator
for the content
section.
- Version:
- $Revision: #6 $ $Date: 2004/04/07 $
- Author:
- Michael Pih (pihman@arsdigita.com)
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 |
Method Summary |
protected void |
generateSectionXML(com.arsdigita.bebop.PageState state,
com.arsdigita.xml.Element parent,
com.arsdigita.cms.ContentItem section,
com.arsdigita.cms.dispatcher.XMLGenerator xmlGenerator)
|
void |
generateXML(com.arsdigita.bebop.PageState state,
com.arsdigita.xml.Element parent)
Generates XML that represents a content item. |
protected com.arsdigita.cms.ContentItem |
getContentItem(com.arsdigita.bebop.PageState state)
|
protected ArticleSection[] |
getSections(com.arsdigita.bebop.PageState state)
|
protected ArticleSection[] |
getSections(com.arsdigita.bebop.PageState state,
Integer number)
|
protected com.arsdigita.cms.dispatcher.XMLGenerator |
getXMLGenerator(com.arsdigita.bebop.PageState state)
|
void |
register(com.arsdigita.bebop.Page p)
|
void |
setShowAllSections(boolean showAll)
|
Methods inherited from class com.arsdigita.bebop.SimpleComponent |
children, clone, exportAttributes, getAttribute, getClassAttr, getIdAttr, getKey, getMetaDataAttribute, getStyleAttr, hasAttributes, isLocked, isVisible, lock, register, respond, setAttribute, setClassAttr, setIdAttr, setKey, setMetaDataAttribute, setStyleAttr, setVisible |
Methods inherited from class com.arsdigita.bebop.Completable |
addCompletionListener, fireCompletionEvent |
PAGE_NUMBER_PARAM
public static final String PAGE_NUMBER_PARAM
- See Also:
- Constant Field Values
versionId
public static final String versionId
- See Also:
- Constant Field Values
ArticleSectionPanel
public ArticleSectionPanel()
register
public void register(com.arsdigita.bebop.Page p)
getXMLGenerator
protected com.arsdigita.cms.dispatcher.XMLGenerator getXMLGenerator(com.arsdigita.bebop.PageState state)
setShowAllSections
public void setShowAllSections(boolean showAll)
getContentItem
protected com.arsdigita.cms.ContentItem getContentItem(com.arsdigita.bebop.PageState state)
getSections
protected ArticleSection[] getSections(com.arsdigita.bebop.PageState state)
getSections
protected ArticleSection[] getSections(com.arsdigita.bebop.PageState state,
Integer number)
generateXML
public void generateXML(com.arsdigita.bebop.PageState state,
com.arsdigita.xml.Element parent)
- Generates XML that represents a content item.
- Parameters:
state
- The page stateparent
- The parent DOM element- See Also:
XMLGenerator
generateSectionXML
protected void generateSectionXML(com.arsdigita.bebop.PageState state,
com.arsdigita.xml.Element parent,
com.arsdigita.cms.ContentItem section,
com.arsdigita.cms.dispatcher.XMLGenerator xmlGenerator)
Copyright (c) 2004 Red Hat, Inc. Corporation. All Rights Reserved. Generated at July 21 2004:0019 UTC