|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ka2ddo.yaac.gui.TopoLayer.ElevationColor
public static class TopoLayer.ElevationColor
Object representing a rendering color and corresponding elevation level in meters.
Field Summary | |
---|---|
int |
alpha
|
int |
blue
|
int |
elevation
|
int |
green
|
int |
red
|
int |
rgb
|
Method Summary | |
---|---|
java.lang.Object |
clone()
Creates and returns a copy of this object. |
boolean |
equals(java.lang.Object obj)
Indicates whether some other object is "equal to" this one. |
long |
getEncoding()
Return encoding for storing an ElevationColor in the Preferences. |
int |
hashCode()
Returns a hash code value for the object. |
void |
setColor(java.awt.Color color)
Set the Color associated with this elevation. |
void |
setColor(int argb)
Set the ElevationColor's color to the specified ARGB value. |
void |
setEncoding(long enc)
Set the ElevationColor to the values associated with the internal encoding. |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public int elevation
public int red
public int green
public int blue
public int alpha
public int rgb
Method Detail |
---|
public void setColor(java.awt.Color color)
color
- Color to usepublic java.lang.Object clone()
clone
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
- the reference object with which to compare.
true
if this object is the same as the obj
argument; false
otherwise.hashCode()
,
HashMap
public int hashCode()
hashCode
in class java.lang.Object
equals(Object)
public long getEncoding()
public void setEncoding(long enc)
enc
- long encoding valuepublic void setColor(int argb)
argb
- ARGB value of color to set
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |