wicket.markup.html.link
Class ImageMap
java.lang.Object
wicket.Component
wicket.MarkupContainer
wicket.markup.html.WebMarkupContainer
wicket.markup.html.link.ImageMap
- All Implemented Interfaces:
- java.io.Serializable
- public final class ImageMap
- extends WebMarkupContainer
An image map holds links with different hot-area shapes.
- Author:
- Jonathan Locke
- See Also:
- Serialized Form
|
Constructor Summary |
ImageMap(java.lang.String id)
Constructor. |
| Methods inherited from class wicket.MarkupContainer |
add, autoAdd, contains, findMarkupStream, get, getMarkupStream, internalAdd, internalBeginRequest, internalEndRequest, iterator, onComponentTagBody, remove, removeAll, renderAssociatedMarkup, renderComponentTagBody, replace, setMarkupStream, setModel, size, toString, toString, visitChildren, visitChildren |
| Methods inherited from class wicket.Component |
add, addStateChange, checkComponentTag, checkComponentTagAttribute, debug, detachModel, error, exceptionMessage, fatal, findPage, findParent, findParentWithAssociatedMarkup, getApplication, getApplicationPages, getApplicationSettings, getClassRelativePath, getConverter, getEscapeModelStrings, getFeedbackMessage, getFlag, getId, getLocale, getLocalizer, getModel, getModelObject, getModelObjectAsString, getPage, getPageFactory, getPageRelativePath, getParent, getPath, getRenderBodyOnly, getRequest, getRequestCycle, getResource, getResponse, getSession, getString, getString, getString, getStyle, hasErrorMessage, hasFeedbackMessage, info, initModel, internalOnBeginRequest, internalOnEndRequest, internalOnModelChanged, internalOnModelChanging, isAncestorOf, isVersioned, isVisible, isVisibleInHierarchy, modelChanged, modelChanging, newPage, newPage, onBeginRequest, onComponentTag, onEndRequest, onModelChanged, onModelChanging, onSessionAttach, redirectTo, remove, render, renderComponent, renderComponentTag, rendered, replaceComponentTagBody, sameRootModel, sameRootModel, setFlag, setModelObject, setRedirect, setRenderBodyOnly, setResponsePage, setShouldEscapeModelStrings, setVersioned, setVisible, urlFor, visitParents, warn |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ImageMap
public ImageMap(java.lang.String id)
- Constructor.
- Parameters:
id - See Component
addCircleLink
public ImageMap addCircleLink(int x1,
int y1,
int radius,
Link link)
- Adds a circle link.
- Parameters:
x1 - top left xy1 - top left yradius - the radiuslink - the link
- Returns:
- This
addPolygonLink
public ImageMap addPolygonLink(int[] coordinates,
Link link)
- Adds a polygon link.
- Parameters:
coordinates - the coordinates for the polygonlink - the link
- Returns:
- This
addRectangleLink
public ImageMap addRectangleLink(int x1,
int y1,
int x2,
int y2,
Link link)
- Adds a rectangular link.
- Parameters:
x1 - top left xy1 - top left yx2 - bottom right xy2 - bottom right ylink -
- Returns:
- This
onRender
protected void onRender()
- Renders this component.
- Overrides:
onRender in class WebMarkupContainer
- See Also:
Component.onRender()
Copyright © 2004-2005 Wicket developers. All Rights Reserved.