goog.tweak.BaseEntry | |
goog.tweak.BaseSetting | goog.tweak.BaseEntry |
goog.tweak.BasePrimitiveSetting | goog.tweak.BaseSetting |
goog.tweak.NumericSetting | goog.tweak.BasePrimitiveSetting |
id
: string
The ID for the setting.
|
description
: string
A description of what the setting does.
|
![]()
No description.
|
code » | ||
No description.
Returns: number
The default value.
|
code » | ||
No description.
Returns: number
The tweaks's new value.
|
code » | ||
Returns the valid values for the setting.
|
code » | ||
No description.
Returns: number
The tweaks's value.
|
code » | ||
![]()
No description.
|
code » | ||
![]()
No description.
Arguments:
|
code » | ||
![]()
Sets the valid values for the setting.
|
code » | ||
![]()
No description.
Arguments:
|
code » |
Returns the query param encoded representation of the setting's value.
Returns: string
The encoded value.
|
code » | ||
![]()
Returns the default value for this setting.
Returns: *
The default value.
|
code » | ||
![]()
Returns the value of the setting to use once "Apply Tweaks" is clicked.
Returns: *
The value.
|
code » | ||
![]()
No description.
|
code » | ||
![]()
If the setting has the restartRequired option, then returns its inital
value. Otherwise, returns its current value.
Returns: *
The value.
|
code » | ||
![]()
Sets the default value for the tweak.
Arguments:
|
code » | ||
![]()
Sets the value of the setting. If the setting has the restartRequired
option, then the value will not be changed until the "Apply Tweaks" button
is clicked. If it does not have the option, the value will be update
immediately and all registered callbacks will be called.
Arguments:
|
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 » |