tweak.NamespaceEntry_ Extends goog.tweak.BaseEntry
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.

Inheritance

Constructor

goog.tweak.NamespaceEntry_(namespaceentries)

Parameters

namespace : string
The namespace for the entry.
entries : !Array.<!goog.tweak.BaseEntry>
Entries within the namespace.

Instance Methods

Public Protected Private
addCallback(callback)
Adds a callback that should be called when the setting has changed (or when an action has been clicked).
Arguments:
callback : !Function
The callback to add.
code »
fireCallbacks()
Calls all registered callbacks.
code »
getId() string
No description.
Returns: string  Returns the entry's ID.
code »
isRestartRequired() boolean
Returns whether a restart is required for changes to the setting to take effect.
Returns: boolean  The value.
code »
removeCallback(callback)
Removes a callback that was added by addCallback.
Arguments:
callback : !Function
The callback to add.
code »
setRestartRequired(value)
Sets whether a restart is required for changes to the setting to take effect.
Arguments:
value : boolean
The new value.
code »

Instance Properties

constructor :
No description.
Code »
entries :
Entries within this namespace.
Code »
callbacks_ :
Functions to be called whenever a setting is changed or a button is clicked.
Code »
description :
A description of what this entry does.
Code »
id_ :
An ID to uniquely identify the entry.
Code »
label :
A descriptive label for the entry.
Code »
The logger for this class.
Code »
restartRequired_ :
Whether a restart is required for changes to the setting to take effect.
Code »

Static Properties

goog.tweak.NamespaceEntry_.ID_PREFIX :
Prefix for the IDs of namespace entries used to ensure that they do not conflict with regular entries.
Code »
goog.tweak.NamespaceEntry_.superClass_ :
No description.
Code »

Package tweak

Package Reference