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
-
sdoDraw()
- Constructs a new sdoDraw object.
-
sdoDraw(sdoLayer, Connection, String)
- Constructs a new sdoDraw object with the input parameters.
-
Draw(double, double, double, double, sdoCanvas)
- Draws the layer contents into a SDO canvas.
-
DrawGeom(sdoGeometryList, sdoCanvas)
- Draws the list of geometries into a SDO canvas.
-
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.
-
setSDOdata(sdoGeometryList)
- Associates SDO data in memory to read from.
-
setSDOinfo(sdoInfo)
- Associates SDO layer information.
-
setSDOschema(boolean)
- Associates SDO layer schema.
-
setTextArea(sdoTextArea, sdoErrorWindow)
- Associates a text area to write information.
sdoDraw
public sdoDraw()
- Constructs a new sdoDraw object.
sdoDraw
public sdoDraw(sdoLayer parent,
Connection conn,
String table)
- Constructs a new sdoDraw object with the input parameters.
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.
setSDOinfo
public void setSDOinfo(sdoInfo info)
- Associates SDO layer information.
- Parameters:
- info - sdoInfo object of current SDO layer.
setSDOschema
public void setSDOschema(boolean isHybrid)
- Associates SDO layer schema.
- Parameters:
- isHybrid - if current layer has hybrid schema.
setSDOdata
public void setSDOdata(sdoGeometryList data)
- Associates SDO data in memory to read from.
- Parameters:
- data - sdoGeometryList object.
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.
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.
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