com.arsdigita.cms.ui
Class FlatItemList

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.SegmentedPanel
                          extended bycom.arsdigita.cms.ui.FlatItemList
All Implemented Interfaces:
com.arsdigita.bebop.event.ActionListener, com.arsdigita.bebop.util.BebopConstants, com.arsdigita.bebop.event.ChangeListener, Cloneable, com.arsdigita.bebop.Component, com.arsdigita.bebop.Container, EventListener, com.arsdigita.bebop.event.FormProcessListener, com.arsdigita.bebop.event.FormSubmissionListener, com.arsdigita.util.Lockable, com.arsdigita.bebop.Resettable

public class FlatItemList
extends com.arsdigita.bebop.SegmentedPanel
implements com.arsdigita.bebop.event.FormProcessListener, com.arsdigita.bebop.event.ChangeListener, com.arsdigita.bebop.event.FormSubmissionListener, com.arsdigita.bebop.Resettable, com.arsdigita.bebop.event.ActionListener

Encapsulates a FolderManipulator in order to create a flat item listing. Also contains a new item form.

Version:
$Revision: #17 $ $DateTime: 2004/04/07 16:07:11 $
Author:
Stanislav Freidin

Nested Class Summary
 
Nested classes inherited from class com.arsdigita.bebop.SegmentedPanel
com.arsdigita.bebop.SegmentedPanel.Segment
 
Field Summary
static int LIST_SIZE
           
static String versionId
           
 
Fields inherited from class com.arsdigita.bebop.SegmentedPanel
HEADER_CLASS
 
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.util.BebopConstants
BEBOP_BORDER, BEBOP_BOXPANEL, BEBOP_CELL, BEBOP_CHECKBOX, BEBOP_CHECKBOXGROUP, BEBOP_COLUMNPANEL, BEBOP_DATE, BEBOP_DATETIME, BEBOP_DHTMLEDITOR, BEBOP_FORMERRORS, BEBOP_FORMWIDGET, BEBOP_GRIDPANEL, BEBOP_LIST, BEBOP_MULTISELECT, BEBOP_OPTION, BEBOP_PAD, BEBOP_PADFRAME, BEBOP_PANELROW, BEBOP_PORTAL, BEBOP_PORTLET, BEBOP_RADIO, BEBOP_RADIOGROUP, BEBOP_SEG_BODY, BEBOP_SEG_HEADER, BEBOP_SEG_PANEL, BEBOP_SEGMENT, BEBOP_SELECT, BEBOP_TABLE, BEBOP_TABLEBODY, BEBOP_TABLEROW, BEBOP_TEXTAREA
 
Fields inherited from interface com.arsdigita.bebop.Component
BEBOP_XML_NS, CLASS, ID, ON_CLICK, STYLE
 
Constructor Summary
FlatItemList(FolderRequestLocal folder, FolderSelectionModel model)
          Construct a new item listing pane.
 
Method Summary
 void actionPerformed(com.arsdigita.bebop.event.ActionEvent e)
           
 FolderManipulator getManipulator()
           
 CMSPermissionsPane getPermissionsPane()
           
 void process(com.arsdigita.bebop.event.FormSectionEvent e)
           
 void register(com.arsdigita.bebop.Page p)
           
 void reset(com.arsdigita.bebop.PageState s)
           
 void setPermissionLinkVis(com.arsdigita.bebop.PageState state)
           
 void stateChanged(com.arsdigita.bebop.event.ChangeEvent e)
           
 void submitted(com.arsdigita.bebop.event.FormSectionEvent e)
           
 
Methods inherited from class com.arsdigita.bebop.SegmentedPanel
addSegment, addSegment, addSegment, addSegment, generateXML
 
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, respond, 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, respond, 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

LIST_SIZE

public static int LIST_SIZE
Constructor Detail

FlatItemList

public FlatItemList(FolderRequestLocal folder,
                    FolderSelectionModel model)
Construct a new item listing pane. The provided folder selection model is used to keep track of the currently displayed folder.

Method Detail

register

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

submitted

public void submitted(com.arsdigita.bebop.event.FormSectionEvent e)
               throws com.arsdigita.bebop.FormProcessException
Specified by:
submitted in interface com.arsdigita.bebop.event.FormSubmissionListener
Throws:
com.arsdigita.bebop.FormProcessException

process

public void process(com.arsdigita.bebop.event.FormSectionEvent e)
Specified by:
process in interface com.arsdigita.bebop.event.FormProcessListener

stateChanged

public void stateChanged(com.arsdigita.bebop.event.ChangeEvent e)
Specified by:
stateChanged in interface com.arsdigita.bebop.event.ChangeListener

actionPerformed

public void actionPerformed(com.arsdigita.bebop.event.ActionEvent e)
Specified by:
actionPerformed in interface com.arsdigita.bebop.event.ActionListener

reset

public void reset(com.arsdigita.bebop.PageState s)
Specified by:
reset in interface com.arsdigita.bebop.Resettable

getManipulator

public final FolderManipulator getManipulator()

getPermissionsPane

public final CMSPermissionsPane getPermissionsPane()

setPermissionLinkVis

public void setPermissionLinkVis(com.arsdigita.bebop.PageState state)


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