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