org.odlabs.wiquery.core.options
Class ShortOption

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

public class ShortOption
extends AbstractOption<Short>

$Id: $

Wraps a Short to be generated as a JavaScript string.

Example:

The Short 1 should be rendered as 1

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

Constructor Summary
ShortOption(org.apache.wicket.model.IModel<Short> value)
          Builds a new instance of ShortOption.
ShortOption(Short value)
          Builds a new instance of ShortOption.
 
Method Summary
 String toString()
           
 IModelOption<Short> 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

ShortOption

public ShortOption(Short value)
Builds a new instance of ShortOption.

Parameters:
literal - the wrapped Short

ShortOption

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

Parameters:
literal - the wrapped Short
Method Detail

toString

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

wrapOnAssignment

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


Copyright © 2012. All Rights Reserved.