|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.arsdigita.bebop.Completable
com.arsdigita.bebop.SimpleComponent
com.arsdigita.bebop.List
com.arsdigita.cms.ui.SortableList
com.arsdigita.cms.ui.category.SortableCategoryList
com.arsdigita.cms.ui.category.CategorizedObjectsList
com.arsdigita.cms.ui.category.OrderedCategorizedObjectsList
This list offers the option for the code to provide the developer with links to sort the given categories. NOTE: This UI currently does not scale well with large numbers of items since it just lists all of them. It would probably be nice to integrate a paginator as well to as to allow the user to move an item in large distances and to insert an item in the middle. Right now, when you add an item it is just placed at the end. However, if you want the item to appear in the middle then you must hit the "up" arrow n/2 times where n is the number of items in the list. This clearly is not a good setup.
Field Summary | |
static String |
versionId
|
Fields inherited from class com.arsdigita.cms.ui.category.CategorizedObjectsList |
CATEGORIZED_OBJECTS, CHILDREN |
Fields inherited from class com.arsdigita.bebop.List |
EMPTY_MODEL, HORIZONTAL, SELECTED, VERTICAL |
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 | |
OrderedCategorizedObjectsList(CategoryRequestLocal category)
This just makes a standard OrderedCategorizedObjectsList |
Method Summary | |
void |
generateXML(com.arsdigita.bebop.PageState state,
com.arsdigita.xml.Element parent)
This geneates the XML as specified by the arguments pass in to the constructor. |
void |
respond(com.arsdigita.bebop.PageState ps)
This actually performs the sorting |
Methods inherited from class com.arsdigita.cms.ui.category.CategorizedObjectsList |
getCategory, getSwapID |
Methods inherited from class com.arsdigita.cms.ui.SortableList |
generateLabelXML |
Methods inherited from class com.arsdigita.bebop.List |
addActionListener, addChangeListener, clearSelection, createChangeListener, fireActionEvent, fireStateChanged, getCellRenderer, getEmptyView, getLayout, getModel, getModelBuilder, getSelectedKey, getSelectionModel, getStateParamsAreRegistered, isSelected, register, removeActionListener, removeChangeListener, setCellRenderer, setEmptyView, setLayout, setListData, setListData, setModelBuilder, setSelectedKey, setSelectionModel, setStateParamsAreRegistered |
Methods inherited from class com.arsdigita.bebop.SimpleComponent |
children, 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 |
Field Detail |
public static final String versionId
Constructor Detail |
public OrderedCategorizedObjectsList(CategoryRequestLocal category)
OrderedCategorizedObjectsList
Method Detail |
public void generateXML(com.arsdigita.bebop.PageState state, com.arsdigita.xml.Element parent)
generateXML
in interface com.arsdigita.bebop.Component
generateXML
in class SortableList
public void respond(com.arsdigita.bebop.PageState ps) throws javax.servlet.ServletException
CategorizedObjectsList
respond
in interface com.arsdigita.bebop.Component
respond
in class CategorizedObjectsList
javax.servlet.ServletException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |