Example usage for Java org.apache.wicket MarkupContainer 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 | autoAdd(final Component component, MarkupStream markupStream) This method allows a component to be added by an auto-resolver such as AutoLinkResolver. |
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. |
Application | getApplication() Gets interface to application that this component is a part of. |
List extends Behavior> | getBehaviors() Gets the currently coupled Behavior s as a unmodifiable list. |
IModel> | getDefaultModel() Gets the model. |
Object | getDefaultModelObject() Gets the backing model object. |
String | getId() Gets the id of this component. |
Locale | getLocale() Gets the locale for this component. |
Localizer | getLocalizer() Convenience method to provide easy access to the localizer object within any component. |
IMarkupFragment | getMarkup() Get the Markup associated with the Component. |
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. |
M | getMetaData(final MetaDataKey Gets metadata for this component using the given key. |
boolean | getOutputMarkupId() Gets whether or not component will output id attribute into the markup. |
boolean | getOutputMarkupPlaceholderTag() Gets whether or not an invisible component will render a placeholder tag. |
Page | getPage() Gets the page holding this component. |
String | getPageRelativePath() Gets the path to this component relative to its containing page, i.e. |
MarkupContainer | getParent() Gets any parent container, or null if there is none. |
String | getPath() Gets this component's path. |
boolean | getRenderBodyOnly() If false the component's tag will be printed as well as its body (which is default). |
String | getString(final String key) |
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 | replace(final Component child) Replaces a child component of this container with another |
Component | setEnabled(final boolean enabled) Sets whether this component is enabled. |
Component | setEscapeModelStrings(final boolean escapeMarkup) Sets whether model strings should be escaped. |
Component | setMetaData(final MetaDataKey Sets the metadata for this component using the given key. |
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 | 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 Class Returns a bookmarkable URL that references a given page class using a given set of page parameters. |
R | visitChildren(final Class> clazz, final IVisitor Traverses all child components of the given class in this container, calling the visitor's visit method at each one. |
R | visitChildren(final IVisitor Traverses all child components in this container, calling the visitor's visit method at each one. |