|
|||||||||
| Home >> All >> com >> paradoxpoint >> libitina >> gui >> [ binding overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.paradoxpoint.libitina.gui.binding
Class ItemReferrence

java.lang.Objectcom.paradoxpoint.libitina.gui.binding.ItemReferrence
- public class ItemReferrence
- extends java.lang.Object
Allows a referrence to specific item in a JComboBox by
encapsulating the containing JComboBox and item Object
into a single Object.
| Field Summary | |
protected javax.swing.JComboBox |
comboBox
JComboBox containing item |
private int |
hashCode
|
protected java.lang.Object |
item
item in comboBox |
| Constructor Summary | |
ItemReferrence(javax.swing.JComboBox comboBox,
java.lang.Object item)
Constructs a new ItemReferrence instance with the given combo box
and item |
|
| Method Summary | |
boolean |
equals(java.lang.Object obj)
Compares this ItemReferrence to the specified object. |
javax.swing.JComboBox |
getComboBox()
Getter for property comboBox. |
java.lang.Object |
getItem()
Getter for property item. |
int |
hashCode()
Returns a hash code for this ItemReferrence. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
hashCode
private volatile int hashCode
comboBox
protected javax.swing.JComboBox comboBox
JComboBoxcontainingitem
item
protected java.lang.Object item
- item in comboBox
| Constructor Detail |
ItemReferrence
public ItemReferrence(javax.swing.JComboBox comboBox, java.lang.Object item)
- Constructs a new
ItemReferrenceinstance with the given combo box and item
| Method Detail |
equals
public boolean equals(java.lang.Object obj)
- Compares this
ItemReferrenceto the specified object. The result istrueif and only if the argument is notnulland is anItemReferrenceobject that containsequal()elements
hashCode
public int hashCode()
- Returns a hash code for this ItemReferrence. The hash code for a
ItemReferrenceobject is computed using the method outlined in Effective Java by Joshua Bloch
getComboBox
public javax.swing.JComboBox getComboBox()
- Getter for property comboBox.
getItem
public java.lang.Object getItem()
- Getter for property item.
|
|||||||||
| Home >> All >> com >> paradoxpoint >> libitina >> gui >> [ binding overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
com.paradoxpoint.libitina.gui.binding.ItemReferrence