Overview   Project   Class   Tree   Index 
CEF3 C++ API Docs - Version 80.1.4+g8927396+chromium-80.0.3987.149
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD

(default)
Class CefScrollView

CefBaseRefCounted
   |
   +--CefView
         |
         +--CefScrollView

   in cef_scroll_view.h

class CefScrollView
extends CefView

A ScrollView will show horizontal and/or vertical scrollbars when necessary based on the size of the attached content view. Methods must be called on the browser process UI thread unless otherwise indicated.


Method Summary
 static CefRefPtr< CefScrollView > CreateScrollView( CefRefPtr< CefViewDelegate > delegate )
          Create a new ScrollView.
 virtual CefRefPtr< CefView > GetContentView()= 0
          Returns the content View.
 virtual int GetHorizontalScrollbarHeight()= 0
          Returns the height of the horizontal scrollbar.
 virtual int GetVerticalScrollbarWidth()= 0
          Returns the width of the vertical scrollbar.
 virtual CefRect GetVisibleContentRect()= 0
          Returns the visible region of the content View.
 virtual bool HasHorizontalScrollbar()= 0
          Returns true if the horizontal scrollbar is currently showing.
 virtual bool HasVerticalScrollbar()= 0
          Returns true if the vertical scrollbar is currently showing.
 virtual void SetContentView( CefRefPtr< CefView > view )= 0
          Set the content View.
   
Methods inherited from class CefView
AsBrowserView, AsButton, AsPanel, AsScrollView, AsTextfield, GetTypeString, ToString, IsValid, IsAttached, IsSame, GetDelegate, GetWindow, GetID, SetID, GetGroupID, SetGroupID, GetParentView, GetViewForID, SetBounds, GetBounds, GetBoundsInScreen, SetSize, GetSize, SetPosition, GetPosition, GetPreferredSize, SizeToPreferredSize, GetMinimumSize, GetMaximumSize, GetHeightForWidth, InvalidateLayout, SetVisible, IsVisible, IsDrawn, SetEnabled, IsEnabled, SetFocusable, IsFocusable, IsAccessibilityFocusable, RequestFocus, SetBackgroundColor, GetBackgroundColor, ConvertPointToScreen, ConvertPointFromScreen, ConvertPointToWindow, ConvertPointFromWindow, ConvertPointToView, ConvertPointFromView
   
Methods inherited from class CefBaseRefCounted
AddRef, Release, HasOneRef, HasAtLeastOneRef
 

Method Detail

CreateScrollView

public static CefRefPtr< CefScrollView > CreateScrollView( CefRefPtr< CefViewDelegate > delegate );
Create a new ScrollView.

GetContentView

public virtual CefRefPtr< CefView > GetContentView()= 0;
Returns the content View.

GetHorizontalScrollbarHeight

public virtual int GetHorizontalScrollbarHeight()= 0;
Returns the height of the horizontal scrollbar.

GetVerticalScrollbarWidth

public virtual int GetVerticalScrollbarWidth()= 0;
Returns the width of the vertical scrollbar.

GetVisibleContentRect

public virtual CefRect GetVisibleContentRect()= 0;
Returns the visible region of the content View.

HasHorizontalScrollbar

public virtual bool HasHorizontalScrollbar()= 0;
Returns true if the horizontal scrollbar is currently showing.

HasVerticalScrollbar

public virtual bool HasVerticalScrollbar()= 0;
Returns true if the vertical scrollbar is currently showing.

SetContentView

public virtual void SetContentView( CefRefPtr< CefView > view )= 0;
Set the content View. The content View must have a specified size (e.g. via CefView::SetBounds or CefViewDelegate::GetPreferredSize).

 Overview   Project   Class   Tree   Index 
CEF3 C++ API Docs - Version 80.1.4+g8927396+chromium-80.0.3987.149
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD

Chromium Embedded Framework (CEF) Copyright © 2016 Marshall A. Greenblatt