org.odlabs.wiquery.core.options
Class LongOption

java.lang.Object
  extended by org.odlabs.wiquery.core.options.AbstractOption<Long>
      extended by org.odlabs.wiquery.core.options.LongOption
All Implemented Interfaces:
Serializable, org.apache.wicket.IClusterable, org.apache.wicket.model.IDetachable, IListItemOption, IModelOption<Long>, ITypedOption<Long>

public class LongOption
extends AbstractOption<Long>

$Id: $

Wraps a Long to be generated as a JavaScript string.

Example:

The Long 1 should be rendered as 1

Since:
0.5
Author:
Lionel Armanet, Ernesto Reinaldo Barreiro
See Also:
Serialized Form

Constructor Summary
LongOption(org.apache.wicket.model.IModel<Long> value)
          Builds a new instance of LongOption.
LongOption(Long value)
          Builds a new instance of LongOption.
 
Method Summary
 String toString()
           
 IModelOption<Long> wrapOnAssignment(org.apache.wicket.Component component)
           
 
Methods inherited from class org.odlabs.wiquery.core.options.AbstractOption
detach, getJavascriptOption, getModel, getValue, setModel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LongOption

public LongOption(Long value)
Builds a new instance of LongOption.

Parameters:
literal - the wrapped Long

LongOption

public LongOption(org.apache.wicket.model.IModel<Long> value)
Builds a new instance of LongOption.

Parameters:
literal - the wrapped Long
Method Detail

toString

public String toString()
Specified by:
toString in class AbstractOption<Long>

wrapOnAssignment

public IModelOption<Long> wrapOnAssignment(org.apache.wicket.Component component)


Copyright © 2012. All Rights Reserved.