|
|||||||||||
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
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 | |
protected static String |
NEXT_EVENT
|
protected static String |
PREV_EVENT
|
static String |
versionId
|
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 | |
SortableList(com.arsdigita.bebop.ParameterSingleSelectionModel model)
This just makes a standard SortableList |
Method Summary | |
protected void |
generateLabelXML(com.arsdigita.bebop.PageState state,
com.arsdigita.xml.Element parent,
com.arsdigita.bebop.Label label,
String key)
|
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. |
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, respond, 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
protected static final String PREV_EVENT
protected static final String NEXT_EVENT
Constructor Detail |
public SortableList(com.arsdigita.bebop.ParameterSingleSelectionModel model)
SortableList
Method Detail |
public void generateXML(com.arsdigita.bebop.PageState state, com.arsdigita.xml.Element parent)
protected void generateLabelXML(com.arsdigita.bebop.PageState state, com.arsdigita.xml.Element parent, com.arsdigita.bebop.Label label, String key)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |