de.agilecoders.wicket.jquery
Class Attr.Auto

java.lang.Object
  extended by de.agilecoders.wicket.jquery.Attr
      extended by de.agilecoders.wicket.jquery.Attr.Auto
All Implemented Interfaces:
CharSequence
Enclosing class:
Attr

public static class Attr.Auto
extends Attr

jquery attribute the value and type will be detect automatically.

     new Auto("value").toString(); // = 'value'
     new Auto(1234).toString(); // = 1234
     new Auto(Json.parse("{key:1234}")).toString(); // = {key:1234}
 


Nested Class Summary
 
Nested classes/interfaces inherited from class de.agilecoders.wicket.jquery.Attr
Attr.Auto, Attr.MarkupId, Attr.NullValue, Attr.Plain, Attr.Quoted
 
Constructor Summary
protected Attr.Auto(Object value)
          Construct.
 
Method Summary
 
Methods inherited from class de.agilecoders.wicket.jquery.Attr
charAt, equals, hashCode, isNullOrEmpty, length, nullValue, subSequence, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Attr.Auto

protected Attr.Auto(Object value)
Construct.

Parameters:
value - the attribute value


Copyright © 2017. All Rights Reserved.