tweakui.js
No description.

File Location

/goog/tweak/tweakui.js

Classes

goog.tweak.EntriesPanel
The body of the tweaks UI and also used for BooleanGroup.
goog.tweak.NamespaceEntry_
Entries used to represent the collapsible namespace links. These entries are never registered with the TweakRegistry, but are contained within the collection of entries within TweakPanels.
goog.tweak.TweakUi
A UI for editing tweak settings / clicking tweak actions.

Public Protected Private

Global Functions

goog.tweak.TweakUi.create(opt_domHelper) !Element | undefined
Creates a TweakUi if tweaks are enabled.
Arguments:
opt_domHelper : goog.dom.DomHelper=
The DomHelper to render with.
Returns: !Element | undefined  The root UI element or undefined if tweaks are not enabled.
code »
goog.tweak.TweakUi.createCollapsible(opt_domHelper) !Element | undefined
Creates a TweakUi inside of a show/hide link.
Arguments:
opt_domHelper : goog.dom.DomHelper=
The DomHelper to render with.
Returns: !Element | undefined  The root UI element or undefined if tweaks are not enabled.
code »
goog.tweak.TweakUi.entryCompare_(ab) number
Compares the given entries. Orders alphabetically and groups buttons and expandable groups.
Arguments:
a : goog.tweak.BaseEntry
The first entry to compare.
b : goog.tweak.BaseEntry
The second entry to compare.
Returns: number  Refer to goog.array.defaultCompare.
code »
goog.tweak.TweakUi.extractBooleanGroupEntries_(group) !Array.<!goog.tweak.BaseEntry>
Returns the list of entries from the given boolean group.
Arguments:
group : !goog.tweak.BooleanGroup
The group to get the entries from.
Returns: !Array.<!goog.tweak.BaseEntry>  The sorted entries.
code »
goog.tweak.TweakUi.extractNamespace_(entry) string
No description.
Arguments:
entry : !goog.tweak.BaseEntry
The entry.
Returns: string  Returns the namespace for the entry, or '' if it is not namespaced.
code »
goog.tweak.TweakUi.getNamespacedLabel_(entry) string
No description.
Arguments:
entry : !goog.tweak.BaseEntry
The entry.
Returns: string  Returns the part of the label after the last period, unless the label has been explicly set (it is different from the ID).
code »
goog.tweak.TweakUi.isGroupEntry_(entry) boolean
No description.
Arguments:
entry : !goog.tweak.BaseEntry
The entry.
Returns: boolean  Returns whether the given entry contains sub-entries.
code »
goog.tweak.TweakUi.createCollapsible&lazyCreate()
No description.
code »

Global Variables

function%75 :
No description.
Code »

Directory tweak

File Reference