public class SelectedAssociation
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected int |
m_Selected
The index of the selected tag
|
protected Association[] |
m_Tags
The set of tags to choose from
|
Constructor and Description |
---|
SelectedAssociation(int tagID,
Association[] tags)
Creates a new
SelectedAssociation instance. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o)
Returns true if this SelectedAssociation equals another object.
|
Association |
getSelectedTag()
Gets the selected Tag.
|
Association[] |
getTags()
Gets the set of all valid Tags.
|
protected int m_Selected
protected Association[] m_Tags
public SelectedAssociation(int tagID, Association[] tags)
SelectedAssociation
instance.tagID
- the id of the selected tag.tags
- an array containing the possible valid Tags.java.lang.IllegalArgumentException
- if the selected tag isn't in the array
of valid values.public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
o
- object to compare with.public Association getSelectedTag()
public Association[] getTags()