java.lang.Object
jac.aspects.gui.web.AbstractView
jac.aspects.gui.web.AbstractCollection
jac.aspects.gui.web.List
- All Implemented Interfaces:
- CollectionListener, HTMLViewer, jac.aspects.gui.View
- public class List
- extends AbstractCollection
- implements HTMLViewer, CollectionListener
| Fields inherited from class jac.aspects.gui.web.AbstractCollection |
addButton, collection, model, removeButton, rowsPerPage, selected, showRowNumbers, sortColumn, split, startIndex, substance |
| Fields inherited from class jac.aspects.gui.web.AbstractView |
closed, column, context, description, factory, height, isCellViewer, javascript, label, message, parameters, parentView, row, style, styleSheet, table, type, viewBorder, width |
|
Method Summary |
void |
genHTML(java.io.PrintWriter out)
Generate the HTML code for the editor. |
void |
sort()
Sorts the collection with the column index stored in the context
if any. |
| Methods inherited from class jac.aspects.gui.web.AbstractCollection |
genAdderAndRemover, genCollectionEvent, getCollectionModel, getField, onAddExistingToCollection, onAddToCollection, onFirst, onLast, onNext, onPrevious, onRemove, onRemoveFromCollection, onTableInvoke, onView, onView, removeLink, setField, setSelected, setSubstance, setValue, sortLink, updateModel, viewLink |
| Methods inherited from class jac.aspects.gui.web.AbstractView |
close, equals, eventURL, eventURL, genBody, genPage, getCloseBorder, getContext, getDescription, getFactory, getId, getId, getLabel, getMessage, getOpenBorder, getParameters, getParentView, getRootView, getStyle, getType, getViewBorder, iconElement, iconElement, isClosed, isInForm, setColumn, setContext, setDescription, setFactory, setFocus, setHeight, setLabel, setMessage, setParameters, setParentView, setRow, setStyle, setStyleSheet, setTable, setType, setViewBorder, setWidth, validate |
List
public List(jac.aspects.gui.ViewFactory factory,
jac.aspects.gui.DisplayContext context,
jac.core.rtti.CollectionItem collection,
java.lang.Object substance,
jac.aspects.gui.CollectionModel model)
sort
public void sort()
- Description copied from class:
AbstractCollection
- Sorts the collection with the column index stored in the context
if any.
- Specified by:
sort in class AbstractCollection
genHTML
public void genHTML(java.io.PrintWriter out)
- Description copied from interface:
HTMLViewer
- Generate the HTML code for the editor.
- Specified by:
genHTML in interface HTMLViewer