Class DefaultAbstractTree.LinkType

  extended by org.apache.wicket.util.string.StringValue
      extended by org.apache.wicket.util.lang.EnumeratedType
          extended by org.apache.wicket.extensions.markup.html.tree.DefaultAbstractTree.LinkType
All Implemented Interfaces:
Serializable, IClusterable
Enclosing class:

public static final class DefaultAbstractTree.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 DefaultAbstractTree.LinkType AJAX
          partial updates with no fallback.
static DefaultAbstractTree.LinkType AJAX_FALLBACK
          partial updates that falls back to a regular link in case the client does not support javascript.
static DefaultAbstractTree.LinkType REGULAR
          non-ajax version that always re-renders the whole page.
Constructor Summary
DefaultAbstractTree.LinkType(String name)
Method Summary
Methods inherited from class org.apache.wicket.util.lang.EnumeratedType
getValues, readResolve
Methods inherited from class org.apache.wicket.util.string.StringValue
afterFirst, afterLast, beforeFirst, beforeLast, 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, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

Field Detail


public static final DefaultAbstractTree.LinkType AJAX
partial updates with no fallback.


public static final DefaultAbstractTree.LinkType AJAX_FALLBACK
partial updates that falls back to a regular link in case the client does not support javascript.


public static final DefaultAbstractTree.LinkType REGULAR
non-ajax version that always re-renders the whole page.

Constructor Detail


public DefaultAbstractTree.LinkType(String name)

name -

Copyright © 2004-2011 Apache Software Foundation. All Rights Reserved.