|
S-PLUS Connect/Java v1.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.insightful.gdevice.SGraphicsLocalDeviceImplementation
public class SGraphicsLocalDeviceImplementation
Local S-PLUS graphics device. Generates graph objects in response to commands read from an SPJ file or sent by the S-PLUS engine.
Constructor Summary | |
---|---|
SGraphicsLocalDeviceImplementation(SCanvas canvas)
|
Method Summary | |
---|---|
void |
addCanvas(SCanvas canvas)
add this canvas to the graphics device, and make it the active canvas. |
void |
Clear()
|
void |
FloatImage(float[] x,
float[] y,
float[] z,
float zMin,
float zMax,
float zMissing)
|
void |
FloatImageRGBA(float[] x,
float[] y,
float[] z,
float zMin,
float zMax,
float zMissing,
byte[] r,
byte[] g,
byte[] b,
byte[] a)
|
SCanvas |
getCanvas()
get the current active canvas for this graphics device. |
ColorScheme |
getColorScheme()
|
int[] |
getColorSchemeInts()
|
String |
getColorSchemeName()
|
int |
getDeviceNumber()
get the Splus device number for the graphics device sending to this SCanvasLocalReceiver. |
int |
getNumberPages()
|
String |
getPagePropertyAction(int pageNum)
|
String |
getPageTag()
|
String |
getPageTitle()
|
String[] |
getSelectedTagArray()
|
Dimension |
getUserSize()
|
void |
Hook(int n,
float[] x,
float[] y)
|
void |
Identify(String[] labels,
String[] actions,
float[] x1,
float[] y1,
float[] x2,
float[] y2,
boolean isPolygons,
boolean isOneRegion)
|
void |
Lines(float[] xValues,
float[] yValues)
|
void |
Points(float[] x,
float[] y)
|
void |
Polygon(float[] x,
float[] y)
|
float[][] |
ReadPen(int maxPoints)
|
void |
removeCanvas(SCanvas canvas)
Remove this canvas from the graphics device. |
void |
Segments(float[] x1,
float[] y1,
float[] x2,
float[] y2)
|
void |
sendCommandVector(Vector vec)
|
void |
setAttributes(HashMap map)
|
void |
SetBackgroundColor()
|
void |
setColorScheme(ColorScheme cs)
|
void |
setColorScheme(String name,
int[] colorInts)
|
void |
setDeviceNumber(int deviceNumber)
set the Splus device number for the graphics device sending to this SCanvasLocalReceiver. |
void |
setPagePropertyAction(int pageNum,
String action)
|
void |
setPageTag(String tag)
|
void |
setPageTitle(String title)
|
void |
setSelectedTagArray(String[] tags)
|
void |
setUserSize(Dimension dim)
|
void |
Text(float x,
float y,
String str,
float justify)
|
void |
Wrap()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SGraphicsLocalDeviceImplementation(SCanvas canvas)
Method Detail |
---|
public void Clear()
Clear
in interface SGraphicsDevice
public void SetBackgroundColor()
SetBackgroundColor
in interface SGraphicsDevice
public void Wrap()
Wrap
in interface SGraphicsDevice
public float[][] ReadPen(int maxPoints)
ReadPen
in interface SGraphicsDevice
public void Lines(float[] xValues, float[] yValues)
Lines
in interface SGraphicsDevice
public void Segments(float[] x1, float[] y1, float[] x2, float[] y2)
Segments
in interface SGraphicsDevice
public void Polygon(float[] x, float[] y)
Polygon
in interface SGraphicsDevice
public void Points(float[] x, float[] y)
Points
in interface SGraphicsDevice
public void Text(float x, float y, String str, float justify)
Text
in interface SGraphicsDevice
public void FloatImage(float[] x, float[] y, float[] z, float zMin, float zMax, float zMissing)
FloatImage
in interface SGraphicsDevice
public void FloatImageRGBA(float[] x, float[] y, float[] z, float zMin, float zMax, float zMissing, byte[] r, byte[] g, byte[] b, byte[] a)
FloatImageRGBA
in interface SGraphicsDevice
public void Hook(int n, float[] x, float[] y)
Hook
in interface SGraphicsDevice
public void Identify(String[] labels, String[] actions, float[] x1, float[] y1, float[] x2, float[] y2, boolean isPolygons, boolean isOneRegion)
Identify
in interface SGraphicsDevice
public void sendCommandVector(Vector vec)
sendCommandVector
in interface SGraphicsDevice
public void setPageTitle(String title)
setPageTitle
in interface SGraphicsDevice
public void setPageTag(String tag)
setPageTag
in interface SGraphicsDevice
public String getPageTitle()
getPageTitle
in interface SGraphicsDevice
public String getPageTag()
getPageTag
in interface SGraphicsDevice
public String[] getSelectedTagArray()
getSelectedTagArray
in interface SGraphicsDevice
public void setSelectedTagArray(String[] tags)
setSelectedTagArray
in interface SGraphicsDevice
public int getDeviceNumber()
getDeviceNumber
in interface SGraphicsDevice
public void setDeviceNumber(int deviceNumber)
setDeviceNumber
in interface SGraphicsDevice
public void setAttributes(HashMap map)
setAttributes
in interface SGraphicsDevice
public SCanvas getCanvas()
getCanvas
in interface SGraphicsDevice
public void addCanvas(SCanvas canvas)
addCanvas
in interface SGraphicsDevice
public void removeCanvas(SCanvas canvas)
removeCanvas
in interface SGraphicsDevice
public void setColorScheme(ColorScheme cs)
setColorScheme
in interface SGraphicsDevice
public ColorScheme getColorScheme()
getColorScheme
in interface SGraphicsDevice
public void setColorScheme(String name, int[] colorInts)
setColorScheme
in interface SGraphicsDevice
public int[] getColorSchemeInts()
getColorSchemeInts
in interface SGraphicsDevice
public String getColorSchemeName()
getColorSchemeName
in interface SGraphicsDevice
public void setUserSize(Dimension dim)
setUserSize
in interface SGraphicsDevice
public Dimension getUserSize()
getUserSize
in interface SGraphicsDevice
public int getNumberPages()
getNumberPages
in interface SGraphicsDevice
public String getPagePropertyAction(int pageNum)
getPagePropertyAction
in interface SGraphicsDevice
public void setPagePropertyAction(int pageNum, String action)
setPagePropertyAction
in interface SGraphicsDevice
|
S-PLUS Connect/Java v1.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |