![]()
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 » | |||||||
![]()
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 » |
![]()
Built-in toolbar button descriptors. See
goog.ui.editor.DefaultToolbar.buttons_ for details on button
descriptor objects. This array is processed at JS parse time; each item is
inserted into goog.ui.editor.DefaultToolbar.buttons_ , and the array
itself is deleted and (hopefully) garbage-collected.
|
Code » | |
![]()
A set of built-in buttons to display in the default editor toolbar.
|
Code » | |
![]()
A set of built-in buttons to display in the default editor toolbar when
the editor chrome is right-to-left (BiDi mode only).
|
Code » | |
![]()
Common font descriptors for all locales. Each descriptor has the following
attributes:
|
Code » | |
![]()
Font size descriptors, each with the following attributes:
|
Code » | |
![]()
Format option descriptors, each with the following attributes:
|
Code » | |
![]()
Locale-specific font descriptors. The object is a map of locale strings to
arrays of font descriptors.
|
Code » | |
![]()
No description.
|
Code » | |
![]()
No description.
|
Code » | |
![]()
No description.
|
Code » | |
![]()
No description.
|
Code » | |
![]()
No description.
|
Code » | |
![]()
No description.
|
Code » | |
![]()
No description.
|
Code » | |
![]()
No description.
|
Code » | |
![]()
No description.
|
Code » | |
![]()
No description.
|
Code » | |
![]()
No description.
|
Code » | |
![]()
No description.
|
Code » | |
![]()
No description.
|
Code » | |
![]()
No description.
|
Code » | |
![]()
No description.
|
Code » | |
![]()
No description.
|
Code » | |
![]()
No description.
|
Code » | |
![]()
No description.
|
Code » | |
![]()
No description.
|
Code » | |
![]()
No description.
|
Code » | |
![]()
No description.
|
Code » | |
![]()
No description.
|
Code » | |
![]()
No description.
|
Code » | |
![]()
No description.
|
Code » | |
![]()
No description.
|
Code » | |
![]()
No description.
|
Code » | |
![]()
No description.
|
Code » | |
![]()
No description.
|
Code » | |
![]()
No description.
|
Code » | |
![]()
No description.
|
Code » | |
![]()
No description.
|
Code » | |
![]()
No description.
|
Code » | |
![]()
No description.
|
Code » | |
![]()
No description.
|
Code » | |
![]()
No description.
|
Code » | |
![]()
No description.
|
Code » | |
![]()
No description.
|
Code » | |
![]()
No description.
|
Code » | |
![]()
No description.
|
Code » | |
![]()
No description.
|
Code » | |
![]()
Map of
goog.editor.Command s to toolbar button descriptor objects,
each of which has the following attributes:
|
Code » | |
![]()
Default locale for font names.
|
Code » |