![]()
Initializes the given font size menu button by adding default font sizes to
it.
Arguments:
|
code » | |||||||
![]()
Initializes the given font menu button by adding default fonts to the menu.
If goog.ui.editor.DefaultToolbar.setLocale was called to specify a locale
for which locale-specific default fonts exist, those are added before
common fonts.
Arguments:
|
code » | |||||||
![]()
Initializes the given "Format block" menu button by adding default format
options to the menu.
Arguments:
|
code » | |||||||
![]()
Creates a toolbar button with the given ID, tooltip, and caption. Applies
any custom CSS class names to the button's caption element. Use to create
a font background color button.
Arguments:
Returns: !goog.ui.Button
A toolbar button.
|
code » | |||||||
![]()
Function to update the state of a color menu button.
Arguments:
|
code » | |||||||
![]()
No description.
|
code » | |||||||
![]()
Creates a toolbar button with the given ID, tooltip, and caption. Applies
any custom CSS class names to the button's caption element. Use to create
a font color button.
Arguments:
Returns: !goog.ui.Button
A toolbar button.
|
code » | |||||||
![]()
Creates a toolbar button with the given ID, tooltip, and caption. Applies
any custom CSS class names to the button's caption element. Used to create
a font face button, filled with default fonts.
Arguments:
Returns: !goog.ui.Button
A toolbar button.
|
code » | |||||||
![]()
Creates a toolbar button with the given ID, tooltip, and caption. Applies
any custom CSS class names to the button's caption element. Use to create a
font size button, filled with default font sizes.
Arguments:
Returns: !goog.ui.Button
A toolbar button.
|
code » | |||||||
![]()
Creates a toolbar button with the given ID, tooltip, and caption. Applies
any custom CSS class names to the button's caption element. Use to create
the format menu, prefilled with default formats.
Arguments:
Returns: !goog.ui.Button
A toolbar button.
|
code » | |||||||
Creates an instance of a subclass of
goog.ui.Button for the given
goog.editor.Command , or null if no built-in button exists for the
command. Note that this function is only intended to create built-in
buttons; please don't try to hack it!
Arguments:
Returns: goog.ui.Button
Toolbar button (null if no built-in button exists
for the command).
|
code » | |||||||
Creates a
goog.ui.Toolbar containing a default set of editor
toolbar buttons, and renders it into the given parent element.
Arguments:
Returns: !goog.ui.Toolbar
Default editor toolbar, rendered into the given
parent element.
|
code » | |||||||
Creates a
goog.ui.Toolbar containing the specified set of
toolbar buttons, and renders it into the given parent element. Each
item in the items array must either be a
goog.editor.Command (to create a built-in button) or a subclass
of goog.ui.Control (to create a custom control).
Arguments:
Returns: !goog.ui.Toolbar
Editor toolbar, rendered into the given parent
element.
|
code » | |||||||
![]()
Creates a toolbar button with the given ID, tooltip, and caption. Applies
any custom CSS class names to the button's caption element. This button
is designed to be used as the RTL button.
Arguments:
Returns: !goog.ui.Button
A toolbar button.
|
code » | |||||||
![]()
Sets the locale for the font names. If not set, defaults to 'en-us'.
Used only for default creation of font names name. Must be set
before font name menu is created.
Arguments:
|
code » | |||||||
![]()
Creates a toolbar button with the given ID, tooltip, and caption. Applies
any custom CSS class names to the button's caption element. Designed to
be used to create undo and redo buttons.
Arguments:
Returns: !goog.ui.Button
A toolbar button.
|
code » | |||||||
![]()
No description.
|
code » | |||||||
![]()
No description.
|
code » | |||||||
![]()
No description.
|
code » | |||||||
![]()
No description.
|
code » | |||||||
![]()
No description.
|
code » |