|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectaskalon.graph.chartpack.MultipleSurfaceDataElement
We provide the ASKALON Visualization Diagramm Class Library (below described as ASKALON") on an AS IS basis, and do not warrant its validity or performance. We reserve the right to update, modify, or discontinue this software at any time. We shall have no obligation to supply such updates or modifications or any other form of support to you.
This license is for research uses. For such uses, there is no charge. We define "research use" to mean you may freely use it inside your organization for whatever purposes you see fit. But you may not re-distribute ASKALON or parts of ASKALON, in any form source or binary (including derivatives), electronic or otherwise, to any other organization or entity without our permission. (for other uses, please contact us at tf@par.univie.ac.at)
All warranties, including without limitation, any warranty of merchantability or fitness for a particular purpose, are hereby excluded.
By your use of ASKALON, you understand and agree that we (or any other person or entity with proprietary rights in ASKALON) are under no obligation to provide either maintenance services, update services, notices of latent defects, or correction of defects for ASKALON.
Even if advised of the possibility of such damages, under no circumstances shall we (or any other person or entity with proprietary rights in the software licensed hereunder) be liable to you or any third party for direct, indirect, or consequential damages of any character regardless of type of action, including, without limitation, loss of profits, loss of use, loss of good will, or computer failure or malfunction. You agree to indemnify us (and any other person or entity with proprietary rights in the software licensed hereunder) for any and all liability it may incur to third parties resulting from your use of ASKALON.
Constructor Summary | |
MultipleSurfaceDataElement()
Initializes a MultipleSurfaceDataElement. |
|
MultipleSurfaceDataElement(int indexX,
int indexZ,
Point3D p3D)
Initializes a MultipleSurfaceDataElement. |
Method Summary | |
java.awt.Color |
getColor()
Retrieves the elements color. |
java.lang.String |
getID()
Retrieves the element's ID (IDX + IDZ). |
int |
getIDX()
Retrieves the element's x index. |
int |
getIDZ()
Retrieves the element's x index. |
Point3D |
getPoint3D()
Returns the data element's point3D. |
long |
getTimestamp()
Returns the element's timestamp. |
double |
getValue()
Returns the element's value. |
boolean |
hasColor()
Checks if the color property is set. |
boolean |
hasID()
Checks if the ID not null and it's size is greater than 0. |
boolean |
isValid()
Checks if all necessary values are set. |
void |
setColor(java.awt.Color c)
Sets the elements color property. |
void |
setID(java.lang.String id)
Sets the elements ID. |
void |
setIDX(java.lang.String idx)
Sets the elements x-index. |
void |
setIDZ(java.lang.String idz)
Sets the elements z-index. |
void |
setPoint3D(Point3D p3D)
Sets the Point3D reference. |
void |
setTimestamp(long ts)
Sets the elements timestamp. |
void |
setTimestamp(java.lang.String ts)
Sets the elements timestamp. |
void |
setValueY(double value)
Sets the elements y-value. |
void |
setValueY(java.lang.String value)
Sets the elements y-value. |
java.lang.String |
toString()
Returns a String representation of the element. |
java.lang.String |
toXML()
Returns a XML representation of this DataElement. |
void |
updateElement(DataElement de)
Update an element with the information from another element. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public MultipleSurfaceDataElement()
public MultipleSurfaceDataElement(int indexX, int indexZ, Point3D p3D)
Method Detail |
public java.awt.Color getColor()
public java.lang.String getID()
getID
in interface DataElement
An
- Exception if there is no ID.public int getIDX()
An
- Exception if there is no x index set.public int getIDZ()
An
- Exception if there is no x index set.public Point3D getPoint3D()
public long getTimestamp()
public double getValue()
public boolean hasColor()
public boolean hasID()
hasID
in interface DataElement
public boolean isValid()
isValid
in interface DataElement
public void setColor(java.awt.Color c)
c
- The color to set.public void setID(java.lang.String id)
setID
in interface DataElement
id
- The elements ID (An
- Exception if the given index is null.public void setIDX(java.lang.String idx)
idx
- The elements x-index.
An
- Exception if the given index is null.public void setIDZ(java.lang.String idz)
idz
- The elements z-index.
An
- Exception if the given index is null.public void setPoint3D(Point3D p3D)
p3D
- The Point3D.public void setTimestamp(long ts)
ts
- The timestamp (in ms) representet as Long.public void setTimestamp(java.lang.String ts) throws java.lang.Exception
ts
- The timestamp (in ms) representet as String.
An
- Exception if the given String is null.
java.lang.Exception
public void setValueY(java.lang.String value)
value
- The elements y-value.public void setValueY(double value)
value
- The elements y-value.public java.lang.String toString()
public java.lang.String toXML()
toXML
in interface DataElement
public void updateElement(DataElement de)
updateElement
in interface DataElement
de
- The element to synchronise with.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |