Example usage for Java org.apache.wicket.markup.html.image Image fields, constructors, methods, implement or subclass
The text is from its open source code.
Image(final String id) This constructor can be used if you override #getImageResourceReference() or #getImageResource() | |
Image(final String id, final IModel> model) | |
Image(final String id, final String string) | |
Image(final String id, final ResourceReference resourceReference, final ResourceReference... resourceReferences) Constructs an image from an image resourcereference. | |
Image(final String id, final IResource imageResource, final IResource... imageResources) Constructs an image directly from an image resource. |
Component | add(final Behavior... behaviors) Adds a behavior modifier to the component. |
Component | get(final String path) Gets the component at the given path. |
List extends Behavior> | getBehaviors() Gets the currently coupled Behavior s as a unmodifiable list. |
String | getId() Gets the id of this component. |
String | getMarkupId() Retrieves id by which this component is represented within the markup. |
boolean | isVisible() Gets whether this component and any children are visible. |
void | setImageResource(final IResource imageResource) |
void | setImageResourceReference(final ResourceReference resourceReference) |
void | setImageResourceReference(final ResourceReference resourceReference, final PageParameters parameters) |
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 | setVisible(final boolean visible) Sets whether this component and any children are visible. |