|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.endeca.navigation.charting.Label
public class Label
This class represents a Grid
label that came from either
a dimension value or a property value. Calling toString
will
return the label's text, suitable for presenting as a label on an
axis of a chart or table. If this is a dimension value,
then calling getDimVal
will return the dimension value,
which may be useful for navigation.
Method Summary | |
---|---|
boolean |
equals(Object obj)
Indicates whether this Label has an equivalence
to a reference Label specified by obj . |
DimVal |
getDimVal()
Returns the dimension value if this is a dimension. |
String |
getProperty()
Returns the property value if this is a property. |
int |
hashCode()
Returns a unique hash code value of this Label . |
String |
toString()
Returns the property value if this is a property. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public String toString()
toString
in class Object
public DimVal getDimVal()
null
.
DimVal
object).public String getProperty()
null
.
public boolean equals(Object obj)
Label
has an equivalence
to a reference Label
specified by obj
.
equals
in class Object
obj
- the reference Label
with which to compare.
true
if this Label
is the same
as the obj
argument; false
otherwise.public int hashCode()
Label
.
hashCode
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |