Example usage for Java org.apache.wicket.markup.html.link Link 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. |
Component | get(String path) Get a child component by looking it up with the given path. |
String | getId() Gets the id of this component. |
IModel | getModel() Typesafe getter for the model |
MarkupContainer | getParent() Gets any parent container, or null if there is none. |
boolean | isEnabled() |
boolean | isVisible() Gets whether this component and any children are visible. |
Link | setAnchor(Component anchor) Sets an anchor component. |
Link | setAutoEnable(final boolean autoEnable) Sets whether this link should automatically enable/disable based on current page. |
AbstractLink | setBody(final IModel> bodyModel) Sets the link's body model |
Component | setEnabled(final boolean enabled) Sets whether this component is enabled. |
C | setModel(IModel Typesafe setter for the model |
C | setModelObject(T object) Typesafe setter for the 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. |
Link | setPopupSettings(final PopupSettings popupSettings) Sets the popup specification. |
Component | setRenderBodyOnly(final boolean renderTag) If false the component's tag will be printed as well as its body (which is default). |
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. |