wicket.extensions.markup.html.tree
Class DefaultAbstractTree.LinkType

java.lang.Object
  extended by wicket.util.string.StringValue
      extended by wicket.util.lang.EnumeratedType
          extended by wicket.extensions.markup.html.tree.DefaultAbstractTree.LinkType
All Implemented Interfaces:
java.io.Serializable
Enclosing class:
DefaultAbstractTree

public static final class DefaultAbstractTree.LinkType
extends wicket.util.lang.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(java.lang.String name)
          Construct.
 
Method Summary
 
Methods inherited from class wicket.util.lang.EnumeratedType
getValues
 
Methods inherited from class wicket.util.string.StringValue
afterFirst, afterLast, beforeFirst, beforeLast, 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

AJAX

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


AJAX_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.


REGULAR

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

Constructor Detail

DefaultAbstractTree.LinkType

public DefaultAbstractTree.LinkType(java.lang.String name)
Construct.

Parameters:
name -


Copyright © 2004-2008 Wicket developers. All Rights Reserved.