Package lejos.remote.ev3
Class RMIRemoteGraphicsLCD
- java.lang.Object
-
- java.rmi.server.RemoteObject
-
- java.rmi.server.RemoteServer
-
- java.rmi.server.UnicastRemoteObject
-
- lejos.remote.ev3.RMIRemoteGraphicsLCD
-
- All Implemented Interfaces:
java.io.Serializable,java.rmi.Remote,RMIGraphicsLCD
public class RMIRemoteGraphicsLCD extends java.rmi.server.UnicastRemoteObject implements RMIGraphicsLCD
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedRMIRemoteGraphicsLCD()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidbitBlt(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)voidbitBlt(byte[] src, int sw, int sh, int sx, int sy, int dx, int dy, int w, int h, int rop)voidclear()voidcopyArea(int sx, int sy, int w, int h, int x, int y, int anchor)voiddrawArc(int x, int y, int width, int height, int startAngle, int arcAngle)voiddrawChar(char character, int x, int y, int anchor)voiddrawChars(char[] data, int offset, int length, int x, int y, int anchor)voiddrawImage(Image src, int x, int y, int anchor)voiddrawLine(int x0, int y0, int x1, int y1)voiddrawRect(int x, int y, int width, int height)voiddrawRegion(Image src, int sx, int sy, int w, int h, int transform, int x, int y, int anchor)voiddrawRegionRop(Image src, int sx, int sy, int w, int h, int x, int y, int anchor, int rop)voiddrawRegionRop(Image src, int sx, int sy, int w, int h, int transform, int x, int y, int anchor, int rop)voiddrawRoundRect(int x, int y, int width, int height, int arcWidth, int arcHeight)voiddrawString(java.lang.String str, int x, int y, int anchor)voiddrawString(java.lang.String str, int x, int y, int anchor, boolean inverted)voiddrawSubstring(java.lang.String str, int offset, int len, int x, int y, int anchor)voidfillArc(int x, int y, int width, int height, int startAngle, int arcAngle)voidfillRect(int x, int y, int w, int h)byte[]getDisplay()FontgetFont()intgetHeight()byte[]getHWDisplay()intgetPixel(int x, int y)intgetStrokeStyle()intgetTranslateX()intgetTranslateY()intgetWidth()voidrefresh()voidsetAutoRefresh(boolean on)intsetAutoRefreshPeriod(int period)voidsetColor(int rgb)voidsetColor(int red, int green, int blue)voidsetContrast(int contrast)voidsetFont(Font f)voidsetPixel(int x, int y, int color)voidsetStrokeStyle(int style)voidtranslate(int x, int y)-
Methods inherited from class java.rmi.server.UnicastRemoteObject
clone, exportObject, exportObject, exportObject, exportObject, exportObject, unexportObject
-
-
-
-
Method Detail
-
setPixel
public void setPixel(int x, int y, int color) throws java.rmi.RemoteException- Specified by:
setPixelin interfaceRMIGraphicsLCD- Throws:
java.rmi.RemoteException
-
getPixel
public int getPixel(int x, int y) throws java.rmi.RemoteException- Specified by:
getPixelin interfaceRMIGraphicsLCD- 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:
drawStringin interfaceRMIGraphicsLCD- Throws:
java.rmi.RemoteException
-
drawString
public void drawString(java.lang.String str, int x, int y, int anchor) throws java.rmi.RemoteException- Specified by:
drawStringin interfaceRMIGraphicsLCD- 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:
drawSubstringin interfaceRMIGraphicsLCD- Throws:
java.rmi.RemoteException
-
drawChar
public void drawChar(char character, int x, int y, int anchor) throws java.rmi.RemoteException- Specified by:
drawCharin interfaceRMIGraphicsLCD- 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:
drawCharsin interfaceRMIGraphicsLCD- Throws:
java.rmi.RemoteException
-
getStrokeStyle
public int getStrokeStyle() throws java.rmi.RemoteException- Specified by:
getStrokeStylein interfaceRMIGraphicsLCD- Throws:
java.rmi.RemoteException
-
setStrokeStyle
public void setStrokeStyle(int style) throws java.rmi.RemoteException- Specified by:
setStrokeStylein interfaceRMIGraphicsLCD- 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:
drawRegionRopin interfaceRMIGraphicsLCD- 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:
drawRegionRopin interfaceRMIGraphicsLCD- 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:
drawRegionin interfaceRMIGraphicsLCD- Throws:
java.rmi.RemoteException
-
drawImage
public void drawImage(Image src, int x, int y, int anchor) throws java.rmi.RemoteException
- Specified by:
drawImagein interfaceRMIGraphicsLCD- Throws:
java.rmi.RemoteException
-
drawLine
public void drawLine(int x0, int y0, int x1, int y1) throws java.rmi.RemoteException- Specified by:
drawLinein interfaceRMIGraphicsLCD- 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:
drawArcin interfaceRMIGraphicsLCD- 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:
fillArcin interfaceRMIGraphicsLCD- 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:
drawRoundRectin interfaceRMIGraphicsLCD- Throws:
java.rmi.RemoteException
-
drawRect
public void drawRect(int x, int y, int width, int height) throws java.rmi.RemoteException- Specified by:
drawRectin interfaceRMIGraphicsLCD- Throws:
java.rmi.RemoteException
-
fillRect
public void fillRect(int x, int y, int w, int h) throws java.rmi.RemoteException- Specified by:
fillRectin interfaceRMIGraphicsLCD- 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:
copyAreain interfaceRMIGraphicsLCD- Throws:
java.rmi.RemoteException
-
getFont
public Font getFont() throws java.rmi.RemoteException
- Specified by:
getFontin interfaceRMIGraphicsLCD- Throws:
java.rmi.RemoteException
-
setFont
public void setFont(Font f) throws java.rmi.RemoteException
- Specified by:
setFontin interfaceRMIGraphicsLCD- Throws:
java.rmi.RemoteException
-
translate
public void translate(int x, int y) throws java.rmi.RemoteException- Specified by:
translatein interfaceRMIGraphicsLCD- Throws:
java.rmi.RemoteException
-
getTranslateX
public int getTranslateX() throws java.rmi.RemoteException- Specified by:
getTranslateXin interfaceRMIGraphicsLCD- Throws:
java.rmi.RemoteException
-
getTranslateY
public int getTranslateY() throws java.rmi.RemoteException- Specified by:
getTranslateYin interfaceRMIGraphicsLCD- Throws:
java.rmi.RemoteException
-
setColor
public void setColor(int rgb) throws java.rmi.RemoteException- Specified by:
setColorin interfaceRMIGraphicsLCD- Throws:
java.rmi.RemoteException
-
setColor
public void setColor(int red, int green, int blue) throws java.rmi.RemoteException- Specified by:
setColorin interfaceRMIGraphicsLCD- Throws:
java.rmi.RemoteException
-
refresh
public void refresh() throws java.rmi.RemoteException- Specified by:
refreshin interfaceRMIGraphicsLCD- Throws:
java.rmi.RemoteException
-
clear
public void clear() throws java.rmi.RemoteException- Specified by:
clearin interfaceRMIGraphicsLCD- Throws:
java.rmi.RemoteException
-
getWidth
public int getWidth() throws java.rmi.RemoteException- Specified by:
getWidthin interfaceRMIGraphicsLCD- Throws:
java.rmi.RemoteException
-
getHeight
public int getHeight() throws java.rmi.RemoteException- Specified by:
getHeightin interfaceRMIGraphicsLCD- Throws:
java.rmi.RemoteException
-
getDisplay
public byte[] getDisplay() throws java.rmi.RemoteException- Specified by:
getDisplayin interfaceRMIGraphicsLCD- Throws:
java.rmi.RemoteException
-
getHWDisplay
public byte[] getHWDisplay() throws java.rmi.RemoteException- Specified by:
getHWDisplayin interfaceRMIGraphicsLCD- Throws:
java.rmi.RemoteException
-
setContrast
public void setContrast(int contrast) throws java.rmi.RemoteException- Specified by:
setContrastin interfaceRMIGraphicsLCD- 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:
bitBltin interfaceRMIGraphicsLCD- 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:
bitBltin interfaceRMIGraphicsLCD- Throws:
java.rmi.RemoteException
-
setAutoRefresh
public void setAutoRefresh(boolean on) throws java.rmi.RemoteException- Specified by:
setAutoRefreshin interfaceRMIGraphicsLCD- Throws:
java.rmi.RemoteException
-
setAutoRefreshPeriod
public int setAutoRefreshPeriod(int period) throws java.rmi.RemoteException- Specified by:
setAutoRefreshPeriodin interfaceRMIGraphicsLCD- Throws:
java.rmi.RemoteException
-
-