|
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 SGraphicsDevicepublic void SetBackgroundColor()
SetBackgroundColor in interface SGraphicsDevicepublic void Wrap()
Wrap in interface SGraphicsDevicepublic 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 SGraphicsDevicepublic void sendCommandVector(Vector vec)
sendCommandVector in interface SGraphicsDevicepublic void setPageTitle(String title)
setPageTitle in interface SGraphicsDevicepublic void setPageTag(String tag)
setPageTag in interface SGraphicsDevicepublic String getPageTitle()
getPageTitle in interface SGraphicsDevicepublic String getPageTag()
getPageTag in interface SGraphicsDevicepublic String[] getSelectedTagArray()
getSelectedTagArray in interface SGraphicsDevicepublic void setSelectedTagArray(String[] tags)
setSelectedTagArray in interface SGraphicsDevicepublic int getDeviceNumber()
getDeviceNumber in interface SGraphicsDevicepublic void setDeviceNumber(int deviceNumber)
setDeviceNumber in interface SGraphicsDevicepublic void setAttributes(HashMap map)
setAttributes in interface SGraphicsDevicepublic SCanvas getCanvas()
getCanvas in interface SGraphicsDevicepublic void addCanvas(SCanvas canvas)
addCanvas in interface SGraphicsDevicepublic void removeCanvas(SCanvas canvas)
removeCanvas in interface SGraphicsDevicepublic void setColorScheme(ColorScheme cs)
setColorScheme in interface SGraphicsDevicepublic ColorScheme getColorScheme()
getColorScheme in interface SGraphicsDevice
public void setColorScheme(String name,
int[] colorInts)
setColorScheme in interface SGraphicsDevicepublic int[] getColorSchemeInts()
getColorSchemeInts in interface SGraphicsDevicepublic String getColorSchemeName()
getColorSchemeName in interface SGraphicsDevicepublic void setUserSize(Dimension dim)
setUserSize in interface SGraphicsDevicepublic Dimension getUserSize()
getUserSize in interface SGraphicsDevicepublic int getNumberPages()
getNumberPages in interface SGraphicsDevicepublic 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 | |||||||