search

goog.ui.CssRoundedPanel

Provided By
Extends
All Implemented Interfaces

RoundedPanel class specifically for browsers that support CSS attributes for elements with rounded borders (ex. Safari 3.0+, Firefox 3.0+). Do not instantiate directly. Instead, call goog.ui.RoundedPanel.create().

new CssRoundedPanel( 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