All Packages Class Hierarchy This Package Previous Next Index
Class PREDATOR.ADT.RasterObject
java.lang.Object
|
+----PREDATOR.ADT.DataObject
|
+----PREDATOR.ADT.RasterObject
- public class RasterObject
- extends DataObject
- implements CachingObject, DisplayObject
Encapsulates all in-memory data regarding a raster ADT object.
- See Also:
- ADT_raster
-
frequency
-
-
lines
-
-
resolution
-
-
samples
-
-
values
-
-
Xmax
-
-
Xmin
-
-
Ymax
-
-
Ymin
-
-
RasterObject()
-
-
callback(URL, ADTMetaInfo)
- Performs a callback to the server, using the given URL.
-
display(ADTMetaInfo)
- Displays an object indepently.
-
getMessage()
- Callback objects have the option of supplying a byte string
containing additional information about the callback.
-
requiresCallback(ADTMetaInfo)
- Determines if this object has a handle on the "full value", or if
a callback or deserialization is necessary.
-
toString(ADTMetaInfo)
- Prints the value of the raster
frequency
public int frequency
samples
public int samples
lines
public int lines
resolution
public int resolution
Xmin
public double Xmin
Ymin
public double Ymin
Xmax
public double Xmax
Ymax
public double Ymax
values
public int values[]
RasterObject
public RasterObject()
toString
public String toString(ADTMetaInfo MetaInfo)
- Prints the value of the raster
- Parameters:
- MetaInfo - The meta-info for this object
- Returns:
- A string holding the value of the raster
- Overrides:
- toString in class DataObject
getMessage
public byte[] getMessage()
- Callback objects have the option of supplying a byte string
containing additional information about the callback. For
instance, an image object might specify one of many stored
resolutions.
- Returns:
- A binary message
callback
public void callback(URL CallbackURL,
ADTMetaInfo MetaInfo)
- Performs a callback to the server, using the given URL. The URL
may be opened as a stream, if desired. The contents of the URL
will be determined by what the server-side ADT writes out in the
ServiceCallback() function (in types.h).
- Parameters:
- CallbackURL - The URL of the callback object
- MetaInfo - The meta-info for this object
requiresCallback
public boolean requiresCallback(ADTMetaInfo MetaInfo)
- Determines if this object has a handle on the "full value", or if
a callback or deserialization is necessary.
- Parameters:
- MetaInfo - The meta-info for this object
- Returns:
- true if this object does not have its "full value" available
display
public void display(ADTMetaInfo MetaInfo) throws RequiresCallbackException
- Displays an object indepently. Implementations of this function
should be non-blocking for best performance. (For instance, an
image should be displayed in an independent frame and execution
should proceed while the frame is still open.)
- Parameters:
- MetaInfo - The meta-info for this object
- Throws: RequiresCallbackException
- when a callback is required
before a display can be made
All Packages Class Hierarchy This Package Previous Next Index