search

goog.ui.BaseRoundedPanel

Provided By
Extends
All Implemented Interfaces
All Known Direct Subclasses

Base class for the hierarchy of RoundedPanel classes. Do not instantiate directly. Instead, call goog.ui.RoundedPanel.create(). The HTML structure for the RoundedPanel is:

 - div (Contains the background and content. Class name: goog-roundedpanel)
   - div (Contains the background/rounded corners. Class name:
       goog-roundedpanel-bg)
   - div (Contains the content. Class name: goog-roundedpanel-content)
 

new BaseRoundedPanel( radius, borderWidth, borderColor, opt_backgroundColor, opt_corners, opt_domHelper )

Parameters
radiusnumber

The radius of the rounded corner(s), in pixels.

borderWidthnumber

The thickness of the border, in pixels.

borderColorstring

The border color of the panel.

opt_backgroundColorstring=

The background color of the panel.

opt_cornersnumber=

The corners of the panel to be rounded. Any corners not specified will be rendered as square corners. Will default to all square corners if not specified.

opt_domHelper(goog.dom.DomHelper|null)=

The DOM helper object for the document we want to render in.

Instance Methods

Instance Properties