VNC.RFBDrawing.RFBView Class
An instance of this class shows the content of an RFB-Surface.

Access: Public
Base Classes: Control
  Members Description  
    surface the surface, this view is connected to

 
    mouseMask the state of the mousebuttons

 
    shiftDown    
    ctrlDown    
    altDown    
    keyTable    
    drawSup    
    controlConnectedTo    
    surfaceWidth    
    surfaceHeight    
    horizontalscr    
    verticalscr    
    serverName    
    ServerName the serverName of the server the shown RFB-Surface is connected to

 
    connected    
    Connected is the view connected to a surface

 
    RFBView constructor for an RFBView

 
    notifyUpdate the surface calls this method, when the data has changed changed region: x,y,width,height

 
    repaintRegion repaints the region decribed by region

 
    connect this method must be called to connect the view to the parent-Control and to the Surface

 
    setRFBSurface connect this view to a surface

 
    setDrawSupport sets the drawsupport which is used for drawing to screen

 
    setRFBSize this method is called, to set the size of the frame buffer after the size of the remote desktop is sent during connection establishment

 
    disconnectView disconnect the view from the surface

 
    drawableSize    
    DrawableSize gets the size usable to draw in this view

 
    ShowedRectangle this method specifies the rectangle of the RFBSurface to show

 
    updateSizeAndScrollbars updates the size of the drawable region and updates the position of the scrollbars after resizing or after connection establishment scrollbars: used in a way that should be easy for drawing

 
    viewPaint react to: rfb-View lost its content, needs repaint. (reaction to paint-event)

 
    resizeView handle resize of the view (reaction to resize event)

 
    handleHScroll handles a horizontal scroll event (reaction to event)

 
    handleVScroll handles a vertical scroll event (reaction to event)

 
    viewMouseDown mouse button down (reaction to event)

 
    viewMouseUp mouse button up (reaction to event)

 
    viewMouseMove mouse move (reaction to event)

 
    viewKeyUp key up (reaction to event)

 
    viewKeyDown key down (reaction to event)

 
    handleModifierKeys inform surface of modifier key status change

 
Remarks:
an RFBView observes a RFBSurface. This RFBSurface contains the data of the remote frame buffer. The RFBView show the content of this surface. Furthermore an RFB-View informs an RFBSurface of events like mouse move or key press.