com.threerings.opengl.gui
Class ComboBox.Item

java.lang.Object
  extended by com.threerings.opengl.gui.ComboBox.Item
All Implemented Interfaces:
Comparable<ComboBox.Item>
Enclosing class:
ComboBox

public static class ComboBox.Item
extends Object
implements Comparable<ComboBox.Item>

Used for displaying a label that is associated with a particular non-displayable value.


Field Summary
 Object value
           
 
Constructor Summary
ComboBox.Item(Object value, String label)
           
 
Method Summary
 int compareTo(ComboBox.Item other)
           
 boolean equals(Object other)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

value

public Object value
Constructor Detail

ComboBox.Item

public ComboBox.Item(Object value,
                     String label)
Method Detail

toString

public String toString()
Overrides:
toString in class Object

equals

public boolean equals(Object other)
Overrides:
equals in class Object

compareTo

public int compareTo(ComboBox.Item other)
Specified by:
compareTo in interface Comparable<ComboBox.Item>


Copyright © 2011. All Rights Reserved.