|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.awt.Component
gnu.vnc.awt.VNCRobot
public class VNCRobot
Nested Class Summary |
---|
Nested classes/interfaces inherited from class java.awt.Component |
---|
java.awt.Component.BaselineResizeBehavior |
Field Summary |
---|
Fields inherited from class java.awt.Component |
---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
Fields inherited from interface java.awt.image.ImageObserver |
---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
---|---|
VNCRobot(int display,
java.lang.String displayName)
Constructs a new VNC Robot to control keyboard and mouse as well as capture screen shots. |
Method Summary | |
---|---|
void |
addClient(RFBClient client)
|
boolean |
allowShared()
|
void |
clientCutText(RFBClient client,
java.lang.String text)
|
void |
fixColourMapEntries(RFBClient client,
int firstColour,
Colour[] colourMap)
|
void |
frameBufferUpdateRequest(RFBClient client,
boolean incremental,
int x,
int y,
int w,
int h)
|
java.lang.String |
getDesktopName(RFBClient client)
|
int |
getFrameBufferHeight(RFBClient client)
|
int |
getFrameBufferWidth(RFBClient client)
|
PixelFormat |
getPreferredPixelFormat(RFBClient client)
|
boolean |
isUpdateAvailable(RFBClient client)
|
void |
keyEvent(RFBClient client,
boolean down,
int key)
|
void |
pointerEvent(RFBClient client,
int buttonMask,
int x,
int y)
|
void |
removeClient(RFBClient client)
|
void |
setClientProtocolVersionMsg(RFBClient client,
java.lang.String protocolVersionMsg)
|
void |
setEncodings(RFBClient client,
int[] encodings)
|
void |
setPixelFormat(RFBClient client,
PixelFormat pixelFormat)
|
void |
setShared(RFBClient client,
boolean shared)
|
Methods inherited from class java.awt.Component |
---|
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, addNotify, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, bounds, checkImage, checkImage, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, deliverEvent, disable, dispatchEvent, doLayout, enable, enable, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getAccessibleContext, getAlignmentX, getAlignmentY, getBackground, getBaseline, getBaselineResizeBehavior, getBounds, getBounds, getColorModel, getComponentAt, getComponentAt, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeys, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphics, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getListeners, getLocale, getLocation, getLocation, getLocationOnScreen, getMaximumSize, getMinimumSize, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPreferredSize, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getToolkit, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, invalidate, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusCycleRoot, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, layout, list, list, list, list, list, locate, location, lostFocus, minimumSize, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paint, paintAll, postEvent, preferredSize, prepareImage, prepareImage, print, printAll, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removeNotify, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, requestFocusInWindow, reshape, resize, resize, setBackground, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeys, setFocusTraversalKeysEnabled, setFont, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setMaximumSize, setMinimumSize, setName, setPreferredSize, setSize, setSize, setVisible, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle, update, validate |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public VNCRobot(int display, java.lang.String displayName)
display
- The number for the display.displayName
- The name of the display.Method Detail |
---|
public void addClient(RFBClient client)
addClient
in interface RFBServer
public void removeClient(RFBClient client)
removeClient
in interface RFBServer
public java.lang.String getDesktopName(RFBClient client)
getDesktopName
in interface RFBServer
public int getFrameBufferWidth(RFBClient client)
getFrameBufferWidth
in interface RFBServer
public int getFrameBufferHeight(RFBClient client)
getFrameBufferHeight
in interface RFBServer
public PixelFormat getPreferredPixelFormat(RFBClient client)
getPreferredPixelFormat
in interface RFBServer
public boolean allowShared()
allowShared
in interface RFBServer
public void setClientProtocolVersionMsg(RFBClient client, java.lang.String protocolVersionMsg) throws java.io.IOException
setClientProtocolVersionMsg
in interface RFBServer
java.io.IOException
public void setShared(RFBClient client, boolean shared) throws java.io.IOException
setShared
in interface RFBServer
java.io.IOException
public void setPixelFormat(RFBClient client, PixelFormat pixelFormat) throws java.io.IOException
setPixelFormat
in interface RFBServer
java.io.IOException
public void setEncodings(RFBClient client, int[] encodings) throws java.io.IOException
setEncodings
in interface RFBServer
java.io.IOException
public void fixColourMapEntries(RFBClient client, int firstColour, Colour[] colourMap) throws java.io.IOException
fixColourMapEntries
in interface RFBServer
java.io.IOException
public void frameBufferUpdateRequest(RFBClient client, boolean incremental, int x, int y, int w, int h) throws java.io.IOException
frameBufferUpdateRequest
in interface RFBServer
java.io.IOException
public void keyEvent(RFBClient client, boolean down, int key) throws java.io.IOException
keyEvent
in interface RFBServer
java.io.IOException
public void pointerEvent(RFBClient client, int buttonMask, int x, int y) throws java.io.IOException
pointerEvent
in interface RFBServer
java.io.IOException
public void clientCutText(RFBClient client, java.lang.String text) throws java.io.IOException
clientCutText
in interface RFBServer
java.io.IOException
public boolean isUpdateAvailable(RFBClient client)
client
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |