Example usage for Java org.apache.wicket.markup.html.list ListView fields, constructors, methods, implement or subclass
The text is from its open source code.
ListView(final String id, final IModel extends List | |
ListView(final String id, final List | |
ListView(final String id) |
MarkupContainer | add(final Component... children) Adds the child component(s) to this container. |
void | configure() Triggers #onConfigure() to be invoked on this component if it has not already during this request. |
Component | get(String path) Get a child component by looking it up with the given path. |
Object | getDefaultModelObject() Gets the backing model object. |
String | getDefaultModelObjectAsString() Gets a model object as a string. |
List | getList() Gets the list of items in the listView. |
List | getModelObject() Gets model object |
MarkupContainer | getParent() Gets any parent container, or null if there is none. |
boolean | isVisible() Gets whether this component and any children are visible. |
Iterator | iterator() Gives an iterator that allow you to iterate through the children of this markup container in the order the children were added. |
void | modelChanged() Called to indicate that the model content for this component has been changed |
MarkupContainer | removeAll() Removes all children from this container. |
MarkupContainer | setDefaultModel(final IModel> model) |
Component | setDefaultModelObject(final Object object) Sets the backing model object. |
ListView | setList(List Sets the model as the provided list and removes all children, so that the next render will be using the contents of the model. |
void | setModel(IModel extends List Sets model |
void | setModelObject(List Sets model object |
Component | setOutputMarkupId(final boolean output) Sets whether or not component will output id attribute into the markup. |
Component | setOutputMarkupPlaceholderTag(final boolean outputTag) Render a placeholder tag when the component is not visible. |
Component | setRenderBodyOnly(final boolean renderTag) If false the component's tag will be printed as well as its body (which is default). |
ListView | setReuseItems(boolean reuseItems) If true re-rendering the list view is more efficient if the windows doesn't get changed at all or if it gets scrolled (compared to paging). |
ListView | setViewSize(final int size) Define the maximum number of items to render. |
Component | setVisibilityAllowed(boolean allowed) Sets whether or not this component is allowed to be visible. |
Component | setVisible(final boolean visible) Sets whether this component and any children are visible. |
int | size() Get the number of children in this container. |
R | visitChildren(final IVisitor Traverses all child components in this container, calling the visitor's visit method at each one. |