|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--WISA.wisa3D.DisplayData
DisplayData holds all field which are required to manage a data-object for displaying in Wisa3DPanel.
| Field Summary | |
static int |
DIRECT_SOURCE
Key for data directly added to the Wisa3DPanel. |
static int |
FILE_SOURCE
Key for data coming from a file. |
static int |
FORMULA_SOURCE
Key for computed data. |
static int |
UNKNOWN_SOURCE
Key for source of unknown type. |
| Constructor Summary | |
DisplayData(DisplayData data)
Copy constructor. |
|
DisplayData(int id,
int type,
java.lang.String source,
java.lang.String name,
visad.DataReferenceImpl ref,
visad.ConstantMap[] cMaps,
visad.DataRenderer renderer)
Constructs a new DisplayData with the specified values. |
|
| Method Summary | |
void |
addConstantMap(visad.ConstantMap cMap)
Adds the specified ConstantMap to the constant mappings of this DisplayData. |
int |
compareTo(java.lang.Object o)
|
boolean |
equals(java.lang.Object obj)
|
static DisplayData[] |
getAllData()
Returns an array with all DisplayDatas constructed in this VM. |
visad.ConstantMap[] |
getConstantMaps()
Returns the ConstantMaps of this data. |
visad.Data |
getData()
Returns the data of this data. |
visad.DataRenderer |
getDataRenderer()
Returns the DataRenderer of this data. |
int |
getID()
Returns the id of this data. |
java.lang.String |
getName()
Returns the name of this data. |
visad.DataReferenceImpl |
getReference()
Returns the DataReference of this data. |
java.lang.String |
getSource()
Returns the source of this data. |
int |
getType()
Returns the type of this data. |
boolean |
isVisible()
|
void |
removeConstantMap(visad.ConstantMap cMap)
Removes the specified ConstantMap from the constant mappings of this DisplayData. |
void |
setConstantMaps(visad.ConstantMap[] cMaps)
Set the ConstantMaps of this data. |
void |
setVisible(boolean visible)
|
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final int UNKNOWN_SOURCE
public static final int DIRECT_SOURCE
public static final int FILE_SOURCE
public static final int FORMULA_SOURCE
| Constructor Detail |
public DisplayData(int id,
int type,
java.lang.String source,
java.lang.String name,
visad.DataReferenceImpl ref,
visad.ConstantMap[] cMaps,
visad.DataRenderer renderer)
public DisplayData(DisplayData data)
data - The DisplayData to be copied.
java.lang.RuntimeException - If an error occures during the copy process.| Method Detail |
public int getID()
public int getType()
public java.lang.String getSource()
public java.lang.String getName()
public visad.Data getData()
public visad.DataReferenceImpl getReference()
public visad.ConstantMap[] getConstantMaps()
public visad.DataRenderer getDataRenderer()
public void setConstantMaps(visad.ConstantMap[] cMaps)
cMaps - The new ConstantMaps for this data.public void addConstantMap(visad.ConstantMap cMap)
cMap - The map to be added to the ConstantMaps of this DisplayData.public void removeConstantMap(visad.ConstantMap cMap)
cMap - The ConstantMap to be removed from this DisplayData.public int compareTo(java.lang.Object o)
compareTo in interface java.lang.ComparableComparable.compareTo(Object)public static DisplayData[] getAllData()
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic void setVisible(boolean visible)
public boolean isVisible()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||