Example usage for Java org.apache.wicket.markup.html WebMarkupContainer fields, constructors, methods, implement or subclass
The text is from its open source code.
MarkupContainer | add(final Component... children) Adds the child component(s) to this container. |
MarkupContainer | addOrReplace(final Component... children) Replaces a child component of this container with another or just adds it in case no child with the same id existed yet. |
boolean | contains(final Component component, final boolean recurse) |
Z | findParent(final Class Finds the first container parent of this component of the given class. |
Component | get(String path) Get a child component by looking it up with the given path. |
List extends Behavior> | getBehaviors() Gets the currently coupled Behavior s as a unmodifiable list. |
Object | getDefaultModelObject() Gets the backing model object. |
String | getId() Gets the id of this component. |
IModel> | getInnermostModel() |
String | getMarkupId() Retrieves id by which this component is represented within the markup. |
String | getMarkupId(boolean createIfDoesNotExist) Retrieves id by which this component is represented within the markup. |
MarkupContainer | getParent() Gets any parent container, or null if there is none. |
RequestCycle | getRequestCycle() Gets the active request cycle for this component |
Session | getSession() Gets the current Session object. |
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. |
MarkupContainer | remove(final Component component) Removes a component from the children identified by the component.getId() |
MarkupContainer | removeAll() Removes all children from this container. |
MarkupContainer | replace(final Component child) Replaces a child component of this container with another |
Component | replaceWith(Component replacement) Replaces this component with another. |
MarkupContainer | setDefaultModel(final IModel> model) |
Component | setDefaultModelObject(final Object object) Sets the backing model object. |
Component | setEnabled(final boolean enabled) Sets whether this component is enabled. |
void | setMarkupId(Component comp) Copy markupId |
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). |
Component | setVersioned(boolean versioned) |
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. |
CharSequence | urlFor(final IRequestHandler requestHandler) Returns a URL that references the given request target. |
R | visitChildren(final IVisitor Traverses all child components in this container, calling the visitor's visit method at each one. |