org.apache.wicket.markup.html.tree
Class LinkType
java.lang.Object
org.apache.wicket.util.string.StringValue
org.apache.wicket.util.lang.EnumeratedType
org.apache.wicket.markup.html.tree.LinkType
- All Implemented Interfaces:
- java.io.Serializable, IClusterable
public final class LinkType
- extends EnumeratedType
The type of junction links and node selection links.
- Regular link
- Non-ajax link, always refreshes the whole page. Works with javascript disabled.
- Ajax link
- Links that supports partial updates. Doesn't work with javascript disabled
- Ajax fallback link
- Link that supports partial updates. With javascript disabled acts like regular link. The
drawback is that generated url (thus the entire html) is larger then using the other two
- See Also:
- Serialized Form
Field Summary |
static LinkType |
AJAX
partial updates with no fallback. |
static LinkType |
AJAX_FALLBACK
partial updates that falls back to a regular link in case the client does not support
javascript. |
static LinkType |
REGULAR
non-ajax version that always re-renders the whole page. |
Constructor Summary |
LinkType(java.lang.String name)
Construct. |
Methods inherited from class org.apache.wicket.util.string.StringValue |
afterFirst, afterLast, beforeFirst, beforeLast, equals, hashCode, isEmpty, isNull, repeat, repeat, replaceAll, to, toBoolean, toBoolean, toBooleanObject, toChar, toChar, toCharacter, toDouble, toDouble, toDoubleObject, toDuration, toDuration, toInt, toInt, toInteger, toLong, toLong, toLongObject, toOptionalBoolean, toOptionalCharacter, toOptionalDouble, toOptionalDuration, toOptionalInteger, toOptionalLong, toOptionalString, toOptionalTime, toString, toString, toTime, toTime, valueOf, valueOf, valueOf, valueOf, valueOf, valueOf, valueOf, valueOf |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
AJAX
public static final LinkType AJAX
- partial updates with no fallback.
AJAX_FALLBACK
public static final LinkType AJAX_FALLBACK
- partial updates that falls back to a regular link in case the client does not support
javascript.
REGULAR
public static final LinkType REGULAR
- non-ajax version that always re-renders the whole page.
LinkType
public LinkType(java.lang.String name)
- Construct.
- Parameters:
name
- the name of the type of the link
Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.