org.odlabs.wiquery.core.options
Class IntegerItemOptions

java.lang.Object
  extended by org.odlabs.wiquery.core.options.IntegerItemOptions
All Implemented Interfaces:
Serializable, IListItemOption

public class IntegerItemOptions
extends Object
implements IListItemOption

Representation of an integer into an ItemOptions

Author:
Julien Roche
See Also:
Serialized Form

Constructor Summary
IntegerItemOptions(int integer)
          Default constructor
 
Method Summary
 int getInteger()
          Method retrieving the integer value
 CharSequence getJavascriptOption()
          Method retrieving the javascript's representation of the option
 void setInteger(int integer)
          Methode setting the integer value
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IntegerItemOptions

public IntegerItemOptions(int integer)
Default constructor

Parameters:
integer -
Method Detail

getInteger

public int getInteger()
Method retrieving the integer value

Returns:
the integer

getJavascriptOption

public CharSequence getJavascriptOption()
Description copied from interface: IListItemOption
Method retrieving the javascript's representation of the option

Specified by:
getJavascriptOption in interface IListItemOption
Returns:

setInteger

public void setInteger(int integer)
Methode setting the integer value

Parameters:
integer - Integer


Copyright © 2012. All Rights Reserved.