Class RMIRemoteTextLCD

  • All Implemented Interfaces:
    java.io.Serializable, java.rmi.Remote, RMITextLCD

    public class RMIRemoteTextLCD
    extends java.rmi.server.UnicastRemoteObject
    implements RMITextLCD
    See Also:
    Serialized Form
    • Field Summary

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

        ref
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected RMIRemoteTextLCD()  
    • 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 clear​(int y)  
      void clear​(int x, int y, int n)  
      void drawChar​(char c, int x, int y)  
      void drawInt​(int i, int x, int y)  
      void drawInt​(int i, int places, int x, int y)  
      void drawString​(java.lang.String str, int x, int y)  
      void drawString​(java.lang.String str, int x, int y, boolean inverted)  
      byte[] getDisplay()  
      Font getFont()  
      int getHeight()  
      byte[] getHWDisplay()  
      int getTextHeight()  
      int getTextWidth()  
      int getWidth()  
      void refresh()  
      void scroll()  
      void setAutoRefresh​(boolean on)  
      int setAutoRefreshPeriod​(int period)  
      void setContrast​(int contrast)  
      void setFont​(Font f)  
      • 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

      • RMIRemoteTextLCD

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

      • setFont

        public void setFont​(Font f)
      • refresh

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

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

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

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

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

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

        public void setContrast​(int contrast)
                         throws java.rmi.RemoteException
        Specified by:
        setContrast in interface RMITextLCD
        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 RMITextLCD
        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 RMITextLCD
        Throws:
        java.rmi.RemoteException
      • setAutoRefresh

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

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

        public void drawChar​(char c,
                             int x,
                             int y)
                      throws java.rmi.RemoteException
        Specified by:
        drawChar in interface RMITextLCD
        Throws:
        java.rmi.RemoteException
      • drawString

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

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

        public void drawInt​(int i,
                            int x,
                            int y)
                     throws java.rmi.RemoteException
        Specified by:
        drawInt in interface RMITextLCD
        Throws:
        java.rmi.RemoteException
      • drawInt

        public void drawInt​(int i,
                            int places,
                            int x,
                            int y)
                     throws java.rmi.RemoteException
        Specified by:
        drawInt in interface RMITextLCD
        Throws:
        java.rmi.RemoteException
      • clear

        public void clear​(int x,
                          int y,
                          int n)
                   throws java.rmi.RemoteException
        Specified by:
        clear in interface RMITextLCD
        Throws:
        java.rmi.RemoteException
      • clear

        public void clear​(int y)
                   throws java.rmi.RemoteException
        Specified by:
        clear in interface RMITextLCD
        Throws:
        java.rmi.RemoteException
      • scroll

        public void scroll()
                    throws java.rmi.RemoteException
        Specified by:
        scroll in interface RMITextLCD
        Throws:
        java.rmi.RemoteException
      • getFont

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

        public int getTextWidth()
                         throws java.rmi.RemoteException
        Specified by:
        getTextWidth in interface RMITextLCD
        Throws:
        java.rmi.RemoteException
      • getTextHeight

        public int getTextHeight()
                          throws java.rmi.RemoteException
        Specified by:
        getTextHeight in interface RMITextLCD
        Throws:
        java.rmi.RemoteException