com.arsdigita.cms.contenttypes.ui.mparticle
Class SectionTable

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.Table
                      extended bycom.arsdigita.cms.contenttypes.ui.mparticle.SectionTable
All Implemented Interfaces:
com.arsdigita.bebop.util.BebopConstants, Cloneable, com.arsdigita.bebop.Component, com.arsdigita.util.Lockable

public class SectionTable
extends com.arsdigita.bebop.Table

A table that displays the sections for the currently selected MultiPartArticle.

Version:
$Id: //cms/content-types/mparticle/dev/src/com/arsdigita/cms/contenttypes/ui/mparticle/SectionTable.java#3 $
Author:
Dave Turner

Nested Class Summary
 class SectionTable.SectionTableCellRenderer
           
protected  class SectionTable.SectionTableModel
           
protected  class SectionTable.SectionTableModelBuilder
          The model builder to generate a suitable model for the SectionTable
 
Nested classes inherited from class com.arsdigita.bebop.Table
com.arsdigita.bebop.Table.MatrixTableModelBuilder
 
Field Summary
static String COL_DEL
           
static String COL_EDIT
           
static String COL_MOVE
           
static String COL_TITLE
           
 
Fields inherited from class com.arsdigita.bebop.Table
CELL_EVENT, EMPTY_MODEL, SEP, 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.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
SectionTable(com.arsdigita.cms.ItemSelectionModel selArticle, com.arsdigita.cms.ItemSelectionModel moveSection)
          Constructor.
 
Method Summary
 void setSectionModel(com.arsdigita.cms.ItemSelectionModel selSection)
           
 
Methods inherited from class com.arsdigita.bebop.Table
addTableActionListener, children, clearSelection, createTableActionListener, fireCellSelected, fireHeadSelected, generateExtraXMLAttributes, generateXML, getBorder, getCellPadding, getCellSpacing, getColumn, getColumnModel, getColumnSelectionModel, getControler, getDefaultCellRenderer, getEmptyView, getHeader, getModelBuilder, getRowSelectionModel, getStriped, getTableModel, getWidth, isSelectedCell, isSelectedColumn, isSelectedRow, lock, register, removeTableActionListener, respond, setBorder, setCellPadding, setCellSpacing, setColumn, setColumnModel, setColumnSelectionModel, setDefaultCellRenderer, setEmptyView, setHeader, setModelBuilder, setRowSelectionModel, setStriped, setWidth
 
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, 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
 

Field Detail

COL_TITLE

public static final String COL_TITLE
See Also:
Constant Field Values

COL_EDIT

public static final String COL_EDIT
See Also:
Constant Field Values

COL_MOVE

public static final String COL_MOVE
See Also:
Constant Field Values

COL_DEL

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

SectionTable

public SectionTable(com.arsdigita.cms.ItemSelectionModel selArticle,
                    com.arsdigita.cms.ItemSelectionModel moveSection)
Constructor.

Parameters:
selArticle - a selection model that returns the MultiPartArticle which holds the sections to display.
Method Detail

setSectionModel

public void setSectionModel(com.arsdigita.cms.ItemSelectionModel selSection)


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