All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class sdoOracle.sdoDraw

java.lang.Object
   |
   +----sdoOracle.sdoDraw

public class sdoDraw
extends Object
Class sdoDraw implements the SDO drawing methods.

See Also:
sdoInfo, sdoGeometryList

Constructor Index

 o sdoDraw()
Constructs a new sdoDraw object.
 o sdoDraw(sdoLayer, Connection, String)
Constructs a new sdoDraw object with the input parameters.

Method Index

 o Draw(double, double, double, double, sdoCanvas)
Draws the layer contents into a SDO canvas.
 o DrawGeom(sdoGeometryList, sdoCanvas)
Draws the list of geometries into a SDO canvas.
 o DrawRaw(double, double, double, double, sdoCanvas, int, String, boolean, int)
Draws the layer contents into a SDO canvas, with no concern about the geometry type.
 o setSDOdata(sdoGeometryList)
Associates SDO data in memory to read from.
 o setSDOinfo(sdoInfo)
Associates SDO layer information.
 o setSDOschema(boolean)
Associates SDO layer schema.
 o setTextArea(sdoTextArea, sdoErrorWindow)
Associates a text area to write information.

Constructors

 o sdoDraw
 public sdoDraw()
Constructs a new sdoDraw object.

 o sdoDraw
 public sdoDraw(sdoLayer parent,
                Connection conn,
                String table)
Constructs a new sdoDraw object with the input parameters.

Methods

 o setTextArea
 public void setTextArea(sdoTextArea text,
                         sdoErrorWindow error)
Associates a text area to write information. This method is just for debug. Will be eliminated later.

Parameters:
text - sdoTextArea object.
error - sdoErrorWindow object.
 o setSDOinfo
 public void setSDOinfo(sdoInfo info)
Associates SDO layer information.

Parameters:
info - sdoInfo object of current SDO layer.
 o setSDOschema
 public void setSDOschema(boolean isHybrid)
Associates SDO layer schema.

Parameters:
isHybrid - if current layer has hybrid schema.
 o setSDOdata
 public void setSDOdata(sdoGeometryList data)
Associates SDO data in memory to read from.

Parameters:
data - sdoGeometryList object.
 o DrawGeom
 public boolean DrawGeom(sdoGeometryList geometries,
                         sdoCanvas canvas)
Draws the list of geometries into a SDO canvas.

Returns:
returns a boolean value true or false.
 o Draw
 public boolean Draw(double x1,
                     double y1,
                     double x2,
                     double y2,
                     sdoCanvas canvas)
Draws the layer contents into a SDO canvas. This method assumes that the query layer has been created with CreateQueryWindow method of sdoWorkspace class, if the input box does not contain the whole data.

Returns:
returns a boolean value true or false.
 o DrawRaw
 public boolean DrawRaw(double x1,
                        double y1,
                        double x2,
                        double y2,
                        sdoCanvas canvas,
                        int filter,
                        String mask,
                        boolean sampling,
                        int sample_ratio)
Draws the layer contents into a SDO canvas, with no concern about the geometry type. It just retrieve the x,y coordinate and draws. This method assumes that the query layer has been created with CreateQueryWindow method of sdoWorkspace class, if the input box does not contain the whole data. If the spatial relation mask is null, then this method assumes ANYINTERACT as a spatial relation.

Returns:
returns a boolean value true or false.

All Packages  Class Hierarchy  This Package  Previous  Next  Index