|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectwicket.Component
wicket.MarkupContainer
wicket.markup.html.WebMarkupContainer
wicket.markup.html.link.Link
wicket.markup.html.link.BookmarkablePageLink
Renders a stable link which can be cached in a web browser and used at a later time.
| Nested Class Summary |
| Nested classes inherited from class wicket.Component |
Component.ComponentModelChange, Component.IVisitor, Component.VisibilityChange |
| Field Summary |
| Fields inherited from class wicket.Component |
FLAG_RESERVED1, FLAG_RESERVED2, FLAG_RESERVED3, FLAG_RESERVED4 |
| Constructor Summary | |
BookmarkablePageLink(java.lang.String id,
java.lang.Class pageClass)
Constructor. |
|
BookmarkablePageLink(java.lang.String id,
java.lang.Class pageClass,
PageParameters parameters)
Constructor. |
|
| Method Summary | |
protected java.lang.String |
getURL()
Gets the url to use for this link. |
boolean |
linksTo(Page page)
Whether this link refers to the given page. |
void |
onClick()
THIS METHOD IS NOT USED! Bookmarkable links do not have a click handler. |
BookmarkablePageLink |
setParameter(java.lang.String property,
int value)
Adds a given page property value to this link. |
BookmarkablePageLink |
setParameter(java.lang.String property,
long value)
Adds a given page property value to this link. |
BookmarkablePageLink |
setParameter(java.lang.String property,
java.lang.String value)
Adds a given page property value to this link. |
| Methods inherited from class wicket.markup.html.link.Link |
getAfterDisabledLink, getAutoEnable, getBeforeDisabledLink, getOnClickScript, getPopupSettings, internalOnBeginRequest, isEnabled, onComponentTag, onComponentTagBody, onLinkClicked, setAfterDisabledLink, setAutoEnable, setBeforeDisabledLink, setEnabled, setPopupSettings |
| Methods inherited from class wicket.markup.html.WebMarkupContainer |
getMarkupType, onRender, renderHead |
| Methods inherited from class wicket.MarkupContainer |
add, autoAdd, contains, findMarkupStream, get, getAssociatedMarkupStream, getMarkupStream, internalAdd, internalBeginRequest, internalEndRequest, iterator, iterator, remove, remove, removeAll, renderAll, renderAssociatedMarkup, renderComponentTagBody, replace, setMarkupStream, setModel, size, toString, toString, visitChildren, visitChildren |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public BookmarkablePageLink(java.lang.String id,
java.lang.Class pageClass)
id - The name of this componentpageClass - The class of page to link to
public BookmarkablePageLink(java.lang.String id,
java.lang.Class pageClass,
PageParameters parameters)
id - See ComponentpageClass - The class of page to link toparameters - The parameters to pass to the new page when the link is
clicked| Method Detail |
public boolean linksTo(Page page)
linksTo in class Linkpage - the page
Link.linksTo(wicket.Page)public final void onClick()
onClick in class LinkLink.onClick()
public BookmarkablePageLink setParameter(java.lang.String property,
int value)
property - The propertyvalue - The value
public BookmarkablePageLink setParameter(java.lang.String property,
long value)
property - The propertyvalue - The value
public BookmarkablePageLink setParameter(java.lang.String property,
java.lang.String value)
property - The propertyvalue - The value
protected java.lang.String getURL()
getURL in class LinkLink.getURL()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||