Package totalcross.ui

Class ColorList.Item

  • Enclosing class:
    ColorList

    public static class ColorList.Item
    extends java.lang.Object
    Item added to the ListBox, containing the color as String and as int.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      int value  
    • Constructor Summary

      Constructors 
      Constructor Description
      Item​(int value)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object other)  
      void set​(int value)  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • value

        public int value
    • Constructor Detail

      • Item

        public Item​(int value)
    • Method Detail

      • set

        public void set​(int value)
      • equals

        public boolean equals​(java.lang.Object other)
        Overrides:
        equals in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object