Class IntegerItemOptions

  • All Implemented Interfaces:
    java.io.Serializable, IListItemOption

    public class IntegerItemOptions
    extends java.lang.Object
    implements IListItemOption
    Representation of an integer into an ItemOptions
    Author:
    Julien Roche
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      IntegerItemOptions​(int integer)
      Default constructor
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getInteger()
      Method retrieving the integer value
      java.lang.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 java.lang.CharSequence getJavascriptOption()
        Description copied from interface: IListItemOption
        Method retrieving the javascript's representation of the option
        Specified by:
        getJavascriptOption in interface IListItemOption
      • setInteger

        public void setInteger​(int integer)
        Methode setting the integer value
        Parameters:
        integer - Integer