public interface CefRenderHandler 
      | 限定符和类型 | 方法和说明 | 
|---|---|
java.awt.Point |  
           getScreenPoint(CefBrowser browser, java.awt.Point viewPoint) 
            
             Retrieve the screen point for the specified view point.
             检索指定视点的屏幕点。  |  
          
java.awt.Rectangle |  
           getViewRect(CefBrowser browser) 
            
             Retrieve the view rectangle.
             检索视图矩形。  |  
          
void |  
           onCursorChange(CefBrowser browser, int cursor) 
            
             Handle cursor changes.
             处理光标更改。  |  
          
void |  
           onPaint(CefBrowser browser, boolean popup, java.awt.Rectangle[] dirtyRects, java.nio.ByteBuffer buffer, int width, int height) 
            
             Handle painting.
             处理绘画。  |  
          
void |  
           onPopupShow(CefBrowser browser, boolean show) 
            
             Show or hide the popup window.
             显示或隐藏弹出窗口。  |  
          
void |  
           onPopupSize(CefBrowser browser, java.awt.Rectangle size) 
            
             Size the popup window.
             调整弹出窗口的大小。  |  
          
boolean |  
           startDragging(CefBrowser browser, CefDragData dragData, int mask, int x, int y) 
            
             Called when the user starts dragging content in the web view.
             当用户开始在Web视图中拖动内容时调用。  |  
          
void |  
           updateDragCursor(CefBrowser browser, int operation) 
            
             Called when the web view wants to update the mouse cursor during a drag & drop operation.
             在Web视图要在拖放操作期间更新鼠标光标时调用。  |  
          
java.awt.Point getScreenPoint(CefBrowser browser, java.awt.Point viewPoint)
browser - The browser generating the event.
             - 生成事件的浏览器。
           viewPoint - The point in the view.
             - 视图中的要点。
           java.awt.Rectangle getViewRect(CefBrowser browser)
browser - The browser generating the event.
             - 生成事件的浏览器。
           void onCursorChange(CefBrowser browser, int cursor)
browser - The browser generating the event.
             - 生成事件的浏览器。
           cursor - The new cursor.
             - 新光标。
           void onPaint(CefBrowser browser, boolean popup, java.awt.Rectangle[] dirtyRects, java.nio.ByteBuffer buffer, int width, int height)
browser - The browser generating the event.
             - 生成事件的浏览器。
           popup - True if painting a popup window.
             - 如果绘制弹出窗口,则为True。
           dirtyRects - Array of dirty regions.
             - 一系列脏区。
           buffer - Pixel buffer for the whole window.
             - 整个窗口的像素缓冲区。
           width - Width of the buffer.
             - 缓冲区的宽度。
           height - Height of the buffer.
             - 缓冲区的高度。
           void onPopupShow(CefBrowser browser, boolean show)
browser - The browser generating the event.
             - 生成事件的浏览器。
           show - True if the popup window is being shown.
             - 如果正在显示弹出窗口,则为True。
           void onPopupSize(CefBrowser browser, java.awt.Rectangle size)
browser - The browser generating the event.
             - 生成事件的浏览器。
           size - Size of the popup window.
             - 弹出窗口的大小。
           boolean startDragging(CefBrowser browser, CefDragData dragData, int mask, int x, int y)
browser - The browser generating the event.
             - 生成事件的浏览器。
           dragData - Contextual information about the dragged content
             - 有关拖动内容的上下文信息
           mask - Describes the allowed operation (none, move, copy, link).
             - 描述允许的操作(无,移动,复制,链接)。
           x - Coordinate within CefBrowser
             - 在CefBrowser内协调
           y - Coordinate within CefBrowser
             - 在CefBrowser内协调
           void updateDragCursor(CefBrowser browser, int operation)
browser - The browser generating the event.
             - 生成事件的浏览器。
           operation - Describes the allowed operation (none, move, copy, link).
             - 描述允许的操作(无,移动,复制,链接)。