S-PLUS Connect/Java v1.0

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()
           
 

Method Detail

Clear

public void Clear()
           throws RemoteException
Throws:
RemoteException

SetBackgroundColor

public void SetBackgroundColor()
                        throws RemoteException
Throws:
RemoteException

Wrap

public void Wrap()
          throws RemoteException
Throws:
RemoteException

ReadPen

public float[][] ReadPen(int maxPoints)
                  throws RemoteException
Throws:
RemoteException

Lines

public void Lines(float[] xValues,
                  float[] yValues)
           throws RemoteException
Throws:
RemoteException

Segments

public void Segments(float[] x1,
                     float[] y1,
                     float[] x2,
                     float[] y2)
              throws RemoteException
Throws:
RemoteException

Polygon

public void Polygon(float[] x,
                    float[] y)
             throws RemoteException
Throws:
RemoteException

Points

public void Points(float[] x,
                   float[] y)
            throws RemoteException
Throws:
RemoteException

Text

public void Text(float x,
                 float y,
                 String str,
                 float justify)
          throws RemoteException
Throws:
RemoteException

FloatImage

public void FloatImage(float[] x,
                       float[] y,
                       float[] z,
                       float zMin,
                       float zMax,
                       float zMissing)
                throws RemoteException
Throws:
RemoteException

FloatImageRGBA

public 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

public void Hook(int n,
                 float[] x,
                 float[] y)
          throws RemoteException
Throws:
RemoteException

Identify

public void Identify(String[] labels,
                     String[] actions,
                     float[] x1,
                     float[] y1,
                     float[] x2,
                     float[] y2,
                     boolean isPolygons,
                     boolean isOneRegion)
              throws RemoteException
Throws:
RemoteException

setPageTitle

public void setPageTitle(String title)
                  throws RemoteException
Throws:
RemoteException

setPageTag

public void setPageTag(String tag)
                throws RemoteException
Throws:
RemoteException

getPageTitle

public String getPageTitle()
                    throws RemoteException
Throws:
RemoteException

getPageTag

public String getPageTag()
                  throws RemoteException
Throws:
RemoteException

getSelectedTagArray

public String[] getSelectedTagArray()
                             throws RemoteException
Throws:
RemoteException

setSelectedTagArray

public void setSelectedTagArray(String[] tags)
                         throws RemoteException
Throws:
RemoteException

setAttributes

public void setAttributes(HashMap map)
                   throws RemoteException
Throws:
RemoteException

getDeviceNumber

public int getDeviceNumber()
                    throws RemoteException
Throws:
RemoteException

setDeviceNumber

public void setDeviceNumber(int deviceNumber)
                     throws RemoteException
Throws:
RemoteException

getCanvas

public SCanvas getCanvas()
                  throws RemoteException
Throws:
RemoteException

addCanvas

public void addCanvas(SCanvas canvas)
               throws RemoteException
Throws:
RemoteException

removeCanvas

public void removeCanvas(SCanvas canvas)
                  throws RemoteException
Throws:
RemoteException

setColorScheme

public void setColorScheme(ColorScheme cs)
                    throws RemoteException
Throws:
RemoteException

getColorScheme

public ColorScheme getColorScheme()
                           throws RemoteException
Throws:
RemoteException

setColorScheme

public void setColorScheme(String name,
                           int[] colorInts)
                    throws RemoteException
Throws:
RemoteException

getColorSchemeInts

public int[] getColorSchemeInts()
                         throws RemoteException
Throws:
RemoteException

getColorSchemeName

public String getColorSchemeName()
                          throws RemoteException
Throws:
RemoteException

setUserSize

public void setUserSize(Dimension dim)
                 throws RemoteException
Throws:
RemoteException

getUserSize

public Dimension getUserSize()
                      throws RemoteException
Throws:
RemoteException

sendCommandVector

public void sendCommandVector(Vector vec)
                       throws RemoteException
Throws:
RemoteException

getNumberPages

public int getNumberPages()
                   throws RemoteException
Throws:
RemoteException

getPagePropertyAction

public String getPagePropertyAction(int pageNum)
                             throws RemoteException
Throws:
RemoteException

setPagePropertyAction

public void setPagePropertyAction(int pageNum,
                                  String action)
                           throws RemoteException
Throws:
RemoteException

S-PLUS Connect/Java v1.0

Copyright © 2000, 2002 Insightful Corporation
Warning: Classes not documented in the S-PLUS Programmer's Guide may change in future releases.