Class RMIRemoteGraphicsLCD

    • Field Summary

      • Fields inherited from class java.rmi.server.RemoteObject

        ref
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected RMIRemoteGraphicsLCD()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void bitBlt​(byte[] src, int sw, int sh, int sx, int sy, byte[] dst, int dw, int dh, int dx, int dy, int w, int h, int rop)  
      void bitBlt​(byte[] src, int sw, int sh, int sx, int sy, int dx, int dy, int w, int h, int rop)  
      void clear()  
      void copyArea​(int sx, int sy, int w, int h, int x, int y, int anchor)  
      void drawArc​(int x, int y, int width, int height, int startAngle, int arcAngle)  
      void drawChar​(char character, int x, int y, int anchor)  
      void drawChars​(char[] data, int offset, int length, int x, int y, int anchor)  
      void drawImage​(Image src, int x, int y, int anchor)  
      void drawLine​(int x0, int y0, int x1, int y1)  
      void drawRect​(int x, int y, int width, int height)  
      void drawRegion​(Image src, int sx, int sy, int w, int h, int transform, int x, int y, int anchor)  
      void drawRegionRop​(Image src, int sx, int sy, int w, int h, int x, int y, int anchor, int rop)  
      void drawRegionRop​(Image src, int sx, int sy, int w, int h, int transform, int x, int y, int anchor, int rop)  
      void drawRoundRect​(int x, int y, int width, int height, int arcWidth, int arcHeight)  
      void drawString​(java.lang.String str, int x, int y, int anchor)  
      void drawString​(java.lang.String str, int x, int y, int anchor, boolean inverted)  
      void drawSubstring​(java.lang.String str, int offset, int len, int x, int y, int anchor)  
      void fillArc​(int x, int y, int width, int height, int startAngle, int arcAngle)  
      void fillRect​(int x, int y, int w, int h)  
      byte[] getDisplay()  
      Font getFont()  
      int getHeight()  
      byte[] getHWDisplay()  
      int getPixel​(int x, int y)  
      int getStrokeStyle()  
      int getTranslateX()  
      int getTranslateY()  
      int getWidth()  
      void refresh()  
      void setAutoRefresh​(boolean on)  
      int setAutoRefreshPeriod​(int period)  
      void setColor​(int rgb)  
      void setColor​(int red, int green, int blue)  
      void setContrast​(int contrast)  
      void setFont​(Font f)  
      void setPixel​(int x, int y, int color)  
      void setStrokeStyle​(int style)  
      void translate​(int x, int y)  
      • Methods inherited from class java.rmi.server.UnicastRemoteObject

        clone, exportObject, exportObject, exportObject, exportObject, exportObject, unexportObject
      • Methods inherited from class java.rmi.server.RemoteServer

        getClientHost, getLog, setLog
      • Methods inherited from class java.rmi.server.RemoteObject

        equals, getRef, hashCode, toString, toStub
      • Methods inherited from class java.lang.Object

        finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • RMIRemoteGraphicsLCD

        protected RMIRemoteGraphicsLCD()
                                throws java.rmi.RemoteException
        Throws:
        java.rmi.RemoteException
    • Method Detail

      • setPixel

        public void setPixel​(int x,
                             int y,
                             int color)
                      throws java.rmi.RemoteException
        Specified by:
        setPixel in interface RMIGraphicsLCD
        Throws:
        java.rmi.RemoteException
      • getPixel

        public int getPixel​(int x,
                            int y)
                     throws java.rmi.RemoteException
        Specified by:
        getPixel in interface RMIGraphicsLCD
        Throws:
        java.rmi.RemoteException
      • drawString

        public void drawString​(java.lang.String str,
                               int x,
                               int y,
                               int anchor,
                               boolean inverted)
                        throws java.rmi.RemoteException
        Specified by:
        drawString in interface RMIGraphicsLCD
        Throws:
        java.rmi.RemoteException
      • drawString

        public void drawString​(java.lang.String str,
                               int x,
                               int y,
                               int anchor)
                        throws java.rmi.RemoteException
        Specified by:
        drawString in interface RMIGraphicsLCD
        Throws:
        java.rmi.RemoteException
      • drawSubstring

        public void drawSubstring​(java.lang.String str,
                                  int offset,
                                  int len,
                                  int x,
                                  int y,
                                  int anchor)
                           throws java.rmi.RemoteException
        Specified by:
        drawSubstring in interface RMIGraphicsLCD
        Throws:
        java.rmi.RemoteException
      • drawChar

        public void drawChar​(char character,
                             int x,
                             int y,
                             int anchor)
                      throws java.rmi.RemoteException
        Specified by:
        drawChar in interface RMIGraphicsLCD
        Throws:
        java.rmi.RemoteException
      • drawChars

        public void drawChars​(char[] data,
                              int offset,
                              int length,
                              int x,
                              int y,
                              int anchor)
                       throws java.rmi.RemoteException
        Specified by:
        drawChars in interface RMIGraphicsLCD
        Throws:
        java.rmi.RemoteException
      • getStrokeStyle

        public int getStrokeStyle()
                           throws java.rmi.RemoteException
        Specified by:
        getStrokeStyle in interface RMIGraphicsLCD
        Throws:
        java.rmi.RemoteException
      • setStrokeStyle

        public void setStrokeStyle​(int style)
                            throws java.rmi.RemoteException
        Specified by:
        setStrokeStyle in interface RMIGraphicsLCD
        Throws:
        java.rmi.RemoteException
      • drawRegionRop

        public void drawRegionRop​(Image src,
                                  int sx,
                                  int sy,
                                  int w,
                                  int h,
                                  int x,
                                  int y,
                                  int anchor,
                                  int rop)
                           throws java.rmi.RemoteException
        Specified by:
        drawRegionRop in interface RMIGraphicsLCD
        Throws:
        java.rmi.RemoteException
      • drawRegionRop

        public void drawRegionRop​(Image src,
                                  int sx,
                                  int sy,
                                  int w,
                                  int h,
                                  int transform,
                                  int x,
                                  int y,
                                  int anchor,
                                  int rop)
                           throws java.rmi.RemoteException
        Specified by:
        drawRegionRop in interface RMIGraphicsLCD
        Throws:
        java.rmi.RemoteException
      • drawRegion

        public void drawRegion​(Image src,
                               int sx,
                               int sy,
                               int w,
                               int h,
                               int transform,
                               int x,
                               int y,
                               int anchor)
                        throws java.rmi.RemoteException
        Specified by:
        drawRegion in interface RMIGraphicsLCD
        Throws:
        java.rmi.RemoteException
      • drawImage

        public void drawImage​(Image src,
                              int x,
                              int y,
                              int anchor)
                       throws java.rmi.RemoteException
        Specified by:
        drawImage in interface RMIGraphicsLCD
        Throws:
        java.rmi.RemoteException
      • drawLine

        public void drawLine​(int x0,
                             int y0,
                             int x1,
                             int y1)
                      throws java.rmi.RemoteException
        Specified by:
        drawLine in interface RMIGraphicsLCD
        Throws:
        java.rmi.RemoteException
      • drawArc

        public void drawArc​(int x,
                            int y,
                            int width,
                            int height,
                            int startAngle,
                            int arcAngle)
                     throws java.rmi.RemoteException
        Specified by:
        drawArc in interface RMIGraphicsLCD
        Throws:
        java.rmi.RemoteException
      • fillArc

        public void fillArc​(int x,
                            int y,
                            int width,
                            int height,
                            int startAngle,
                            int arcAngle)
                     throws java.rmi.RemoteException
        Specified by:
        fillArc in interface RMIGraphicsLCD
        Throws:
        java.rmi.RemoteException
      • drawRoundRect

        public void drawRoundRect​(int x,
                                  int y,
                                  int width,
                                  int height,
                                  int arcWidth,
                                  int arcHeight)
                           throws java.rmi.RemoteException
        Specified by:
        drawRoundRect in interface RMIGraphicsLCD
        Throws:
        java.rmi.RemoteException
      • drawRect

        public void drawRect​(int x,
                             int y,
                             int width,
                             int height)
                      throws java.rmi.RemoteException
        Specified by:
        drawRect in interface RMIGraphicsLCD
        Throws:
        java.rmi.RemoteException
      • fillRect

        public void fillRect​(int x,
                             int y,
                             int w,
                             int h)
                      throws java.rmi.RemoteException
        Specified by:
        fillRect in interface RMIGraphicsLCD
        Throws:
        java.rmi.RemoteException
      • copyArea

        public void copyArea​(int sx,
                             int sy,
                             int w,
                             int h,
                             int x,
                             int y,
                             int anchor)
                      throws java.rmi.RemoteException
        Specified by:
        copyArea in interface RMIGraphicsLCD
        Throws:
        java.rmi.RemoteException
      • getFont

        public Font getFont()
                     throws java.rmi.RemoteException
        Specified by:
        getFont in interface RMIGraphicsLCD
        Throws:
        java.rmi.RemoteException
      • setFont

        public void setFont​(Font f)
                     throws java.rmi.RemoteException
        Specified by:
        setFont in interface RMIGraphicsLCD
        Throws:
        java.rmi.RemoteException
      • translate

        public void translate​(int x,
                              int y)
                       throws java.rmi.RemoteException
        Specified by:
        translate in interface RMIGraphicsLCD
        Throws:
        java.rmi.RemoteException
      • getTranslateX

        public int getTranslateX()
                          throws java.rmi.RemoteException
        Specified by:
        getTranslateX in interface RMIGraphicsLCD
        Throws:
        java.rmi.RemoteException
      • getTranslateY

        public int getTranslateY()
                          throws java.rmi.RemoteException
        Specified by:
        getTranslateY in interface RMIGraphicsLCD
        Throws:
        java.rmi.RemoteException
      • setColor

        public void setColor​(int rgb)
                      throws java.rmi.RemoteException
        Specified by:
        setColor in interface RMIGraphicsLCD
        Throws:
        java.rmi.RemoteException
      • setColor

        public void setColor​(int red,
                             int green,
                             int blue)
                      throws java.rmi.RemoteException
        Specified by:
        setColor in interface RMIGraphicsLCD
        Throws:
        java.rmi.RemoteException
      • refresh

        public void refresh()
                     throws java.rmi.RemoteException
        Specified by:
        refresh in interface RMIGraphicsLCD
        Throws:
        java.rmi.RemoteException
      • clear

        public void clear()
                   throws java.rmi.RemoteException
        Specified by:
        clear in interface RMIGraphicsLCD
        Throws:
        java.rmi.RemoteException
      • getWidth

        public int getWidth()
                     throws java.rmi.RemoteException
        Specified by:
        getWidth in interface RMIGraphicsLCD
        Throws:
        java.rmi.RemoteException
      • getHeight

        public int getHeight()
                      throws java.rmi.RemoteException
        Specified by:
        getHeight in interface RMIGraphicsLCD
        Throws:
        java.rmi.RemoteException
      • getDisplay

        public byte[] getDisplay()
                          throws java.rmi.RemoteException
        Specified by:
        getDisplay in interface RMIGraphicsLCD
        Throws:
        java.rmi.RemoteException
      • getHWDisplay

        public byte[] getHWDisplay()
                            throws java.rmi.RemoteException
        Specified by:
        getHWDisplay in interface RMIGraphicsLCD
        Throws:
        java.rmi.RemoteException
      • setContrast

        public void setContrast​(int contrast)
                         throws java.rmi.RemoteException
        Specified by:
        setContrast in interface RMIGraphicsLCD
        Throws:
        java.rmi.RemoteException
      • bitBlt

        public void bitBlt​(byte[] src,
                           int sw,
                           int sh,
                           int sx,
                           int sy,
                           int dx,
                           int dy,
                           int w,
                           int h,
                           int rop)
                    throws java.rmi.RemoteException
        Specified by:
        bitBlt in interface RMIGraphicsLCD
        Throws:
        java.rmi.RemoteException
      • bitBlt

        public void bitBlt​(byte[] src,
                           int sw,
                           int sh,
                           int sx,
                           int sy,
                           byte[] dst,
                           int dw,
                           int dh,
                           int dx,
                           int dy,
                           int w,
                           int h,
                           int rop)
                    throws java.rmi.RemoteException
        Specified by:
        bitBlt in interface RMIGraphicsLCD
        Throws:
        java.rmi.RemoteException
      • setAutoRefresh

        public void setAutoRefresh​(boolean on)
                            throws java.rmi.RemoteException
        Specified by:
        setAutoRefresh in interface RMIGraphicsLCD
        Throws:
        java.rmi.RemoteException
      • setAutoRefreshPeriod

        public int setAutoRefreshPeriod​(int period)
                                 throws java.rmi.RemoteException
        Specified by:
        setAutoRefreshPeriod in interface RMIGraphicsLCD
        Throws:
        java.rmi.RemoteException