roundedpanel.js
No description.

File Location

/goog/ui/roundedpanel.js

Classes

goog.ui.BaseRoundedPanel
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)
goog.ui.CssRoundedPanel
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().
goog.ui.GraphicsRoundedPanel
RoundedPanel class that uses goog.graphics to create the rounded corners. Do not instantiate directly. Instead, call goog.ui.RoundedPanel.create().

Public Protected Private

Enumerations

Global Functions

goog.ui.RoundedPanel.create(radiusborderWidthborderColoropt_backgroundColoropt_cornersopt_domHelper) !goog.ui.BaseRoundedPanel
Factory method that returns an instance of a BaseRoundedPanel.
Arguments:
radius : number
The radius of the rounded corner(s), in pixels.
borderWidth : number
The thickness of the border, in pixels.
borderColor : string
The border color of the panel.
opt_backgroundColor : string=
The background color of the panel.
opt_corners : number=
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=
The DOM helper object for the document we want to render in.
Returns: !goog.ui.BaseRoundedPanel  An instance of a goog.ui.BaseRoundedPanel subclass.
code »

Directory ui

File Reference