com.insightful.gdevice
Interface SGraphicsDevice
- All Superinterfaces:
- Remote
- All Known Implementing Classes:
- SGraphicsDeviceImplementation, SGraphicsLocalDeviceImplementation
public interface SGraphicsDevice
- extends Remote
Interface of methods required by an S-PLUS graphics device.
Method Summary |
void |
addCanvas(SCanvas 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()
|
ColorScheme |
getColorScheme()
|
int[] |
getColorSchemeInts()
|
String |
getColorSchemeName()
|
int |
getDeviceNumber()
|
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)
|
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)
|
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()
|
Clear
void Clear()
throws RemoteException
- Throws:
RemoteException
SetBackgroundColor
void SetBackgroundColor()
throws RemoteException
- Throws:
RemoteException
Wrap
void Wrap()
throws RemoteException
- Throws:
RemoteException
ReadPen
float[][] ReadPen(int maxPoints)
throws RemoteException
- Throws:
RemoteException
Lines
void Lines(float[] xValues,
float[] yValues)
throws RemoteException
- Throws:
RemoteException
Segments
void Segments(float[] x1,
float[] y1,
float[] x2,
float[] y2)
throws RemoteException
- Throws:
RemoteException
Polygon
void Polygon(float[] x,
float[] y)
throws RemoteException
- Throws:
RemoteException
Points
void Points(float[] x,
float[] y)
throws RemoteException
- Throws:
RemoteException
Text
void Text(float x,
float y,
String str,
float justify)
throws RemoteException
- Throws:
RemoteException
FloatImage
void FloatImage(float[] x,
float[] y,
float[] z,
float zMin,
float zMax,
float zMissing)
throws RemoteException
- Throws:
RemoteException
FloatImageRGBA
void FloatImageRGBA(float[] x,
float[] y,
float[] z,
float zMin,
float zMax,
float zMissing,
byte[] r,
byte[] g,
byte[] b,
byte[] a)
throws RemoteException
- Throws:
RemoteException
Hook
void Hook(int n,
float[] x,
float[] y)
throws RemoteException
- Throws:
RemoteException
Identify
void Identify(String[] labels,
String[] actions,
float[] x1,
float[] y1,
float[] x2,
float[] y2,
boolean isPolygons,
boolean isOneRegion)
throws RemoteException
- Throws:
RemoteException
setPageTitle
void setPageTitle(String title)
throws RemoteException
- Throws:
RemoteException
setPageTag
void setPageTag(String tag)
throws RemoteException
- Throws:
RemoteException
getPageTitle
String getPageTitle()
throws RemoteException
- Throws:
RemoteException
getPageTag
String getPageTag()
throws RemoteException
- Throws:
RemoteException
getSelectedTagArray
String[] getSelectedTagArray()
throws RemoteException
- Throws:
RemoteException
setSelectedTagArray
void setSelectedTagArray(String[] tags)
throws RemoteException
- Throws:
RemoteException
setAttributes
void setAttributes(HashMap map)
throws RemoteException
- Throws:
RemoteException
getDeviceNumber
int getDeviceNumber()
throws RemoteException
- Throws:
RemoteException
setDeviceNumber
void setDeviceNumber(int deviceNumber)
throws RemoteException
- Throws:
RemoteException
getCanvas
SCanvas getCanvas()
throws RemoteException
- Throws:
RemoteException
addCanvas
void addCanvas(SCanvas canvas)
throws RemoteException
- Throws:
RemoteException
removeCanvas
void removeCanvas(SCanvas canvas)
throws RemoteException
- Throws:
RemoteException
setColorScheme
void setColorScheme(ColorScheme cs)
throws RemoteException
- Throws:
RemoteException
getColorScheme
ColorScheme getColorScheme()
throws RemoteException
- Throws:
RemoteException
setColorScheme
void setColorScheme(String name,
int[] colorInts)
throws RemoteException
- Throws:
RemoteException
getColorSchemeInts
int[] getColorSchemeInts()
throws RemoteException
- Throws:
RemoteException
getColorSchemeName
String getColorSchemeName()
throws RemoteException
- Throws:
RemoteException
setUserSize
void setUserSize(Dimension dim)
throws RemoteException
- Throws:
RemoteException
getUserSize
Dimension getUserSize()
throws RemoteException
- Throws:
RemoteException
sendCommandVector
void sendCommandVector(Vector vec)
throws RemoteException
- Throws:
RemoteException
getNumberPages
int getNumberPages()
throws RemoteException
- Throws:
RemoteException
getPagePropertyAction
String getPagePropertyAction(int pageNum)
throws RemoteException
- Throws:
RemoteException
setPagePropertyAction
void setPagePropertyAction(int pageNum,
String action)
throws RemoteException
- Throws:
RemoteException
Copyright © 2000, 2002 Insightful Corporation
Warning: Classes not documented in the S-PLUS Programmer's Guide may change in future releases.