goog.tweak.BaseEntry | |
goog.tweak.BaseSetting | goog.tweak.BaseEntry |
goog.tweak.BooleanGroup | goog.tweak.BaseSetting |
id
: string
The ID for the setting.
|
description
: string
A description of what the setting does.
|
![]()
Adds the given BooleanSetting to the group.
Arguments:
|
code » | ||
Returns the map of token->boolean settings.
|
code » | ||
![]()
No description.
|
code » | ||
![]()
No description.
|
code » |
![]()
Asserts that this tweak has not been initialized yet.
Arguments:
|
code » | ||
![]()
Applies the default value or query param value if this is the first time
that the function has been called.
|
code » | ||
Returns the value to be used in the query parameter for this tweak.
Returns: ?string
The encoded value. Null if the value is set to its
default.
|
code » | ||
Returns the name of the query parameter used for this setting.
Returns: ?string
The param name. Null if no query parameter is directly
associated with the setting.
|
code » | ||
![]()
Sets the value of the entry based on the value of the query parameter. Once
this is called, configuration settings (associated query parameter, token,
etc) may not be changed.
Arguments:
|
code » | ||
Returns whether the setting is currently being initialized.
Returns: boolean
Whether the setting is currently being initialized.
|
code » | ||
![]()
Sets the initial query parameter value for this setting. May not be called
after the setting has been initialized.
Arguments:
|
code » | ||
![]()
Sets the name of the query parameter used for this setting. If null is
passed the the setting will not appear in the top-level query string.
Arguments:
|
code » |
![]()
Adds a callback that should be called when the setting has changed (or when
an action has been clicked).
Arguments:
|
code » | ||
![]()
Calls all registered callbacks.
|
code » | ||
No description.
Returns: string
Returns the entry's ID.
|
code » | ||
Returns whether a restart is required for changes to the setting to take
effect.
Returns: boolean
The value.
|
code » | ||
![]()
Removes a callback that was added by addCallback.
Arguments:
|
code » | ||
![]()
Sets whether a restart is required for changes to the setting to take
effect.
Arguments:
|
code » |
![]()
No description.
|
Code » | |
![]()
The value of this setting's query parameter.
|
Code » | |
![]()
Whether initialize() has been called (or is in the middle of being called).
|
Code » | |
The logger for this class.
|
Code » | |
![]()
The query parameter that controls this setting.
|
Code » |
![]()
Functions to be called whenever a setting is changed or a button is
clicked.
|
Code » | |
![]()
A description of what this entry does.
|
Code » | |
![]()
An ID to uniquely identify the entry.
|
Code » | |
![]()
A descriptive label for the entry.
|
Code » | |
The logger for this class.
|
Code » | |
![]()
Whether a restart is required for changes to the setting to take effect.
|
Code » |
![]()
No description.
|
Code » |