goog.tweak.BaseEntry
Classgoog.tweak.BaseEntry(id, description)
Base class for all Registry entries.
id
{string
}
description
{string
}
.addCallback(callback)
Adds a callback that should be called when the setting has changed (or when an action has been clicked).
callback
{!Function
}
.description
{string
}A description of what this entry does.
.fireCallbacks()
Calls all registered callbacks.
.getId()
string
}
.isRestartRequired()
Returns whether a restart is required for changes to the setting to take effect.
boolean
}
.label
{string
}A descriptive label for the entry.
.logger
[protected] {!goog.debug.Logger
}The logger for this class.
.removeCallback(callback)
Removes a callback that was added by addCallback.
callback
{!Function
}
.setRestartRequired(value)
Sets whether a restart is required for changes to the setting to take effect.
value
{boolean
}