Class Firebug.Panel
Base class for all panels. Every derived panel must define a constructor and
register with Firebug.registerPanel method. An instance of the panel
object is created by the framework for each browser tab where Firebug is activated.
Defined in: firebug.js.
| Constructor Attributes | Constructor Name and Description |
|---|---|
| Method Attributes | Method Name and Description |
|---|---|
| <static> |
Firebug.Panel.breakOnNext(armed)
Called by the framework when the user clicks on the Break On Next button.
|
| <static> |
Firebug.Panel.getBreakOnNextTooltip(enabled)
Returns labels for Break On Next tooltip (one for enabled and one for disabled state).
|
| <static> |
Firebug.Panel.getSearchOptionsMenuItems()
Retrieves the search options that this modules supports.
|
| <static> |
Firebug.Panel.navigateToNextDocument(match, reverse)
Navigates to the next document whose match parameter returns true.
|
| <static> |
Firebug.Panel.shouldBreakOnNext()
Called when a panel is selected/displayed.
|
| <static> |
Firebug.Panel.showToolbarButtons(buttonsId, show)
Toolbar helpers
|
| <static> |
Firebug.Panel.supportsObject(object)
Returns a number indicating the view's ability to inspect the object.
|
Method Detail
<static>
Firebug.Panel.breakOnNext(armed)
Called by the framework when the user clicks on the Break On Next button.
- Parameters:
- {Boolean} armed
- Set to true if the Break On Next feature is to be armed for action and set to false if the Break On Next should be disarmed. If 'armed' is true, then the next call to shouldBreakOnNext should be |true|.
<static>
Firebug.Panel.getBreakOnNextTooltip(enabled)
Returns labels for Break On Next tooltip (one for enabled and one for disabled state).
- Parameters:
- {Boolean} enabled
- Set to true if the Break On Next feature is currently activated for this panel.
<static>
Firebug.Panel.getSearchOptionsMenuItems()
Retrieves the search options that this modules supports.
This is used by the search UI to present the proper options.
<static>
Firebug.Panel.navigateToNextDocument(match, reverse)
Navigates to the next document whose match parameter returns true.
- Parameters:
- match
- reverse
<static>
Firebug.Panel.shouldBreakOnNext()
Called when a panel is selected/displayed. The method should return true
if the Break On Next feature is currently armed for this panel.
<static>
Firebug.Panel.showToolbarButtons(buttonsId, show)
Toolbar helpers
- Parameters:
- buttonsId
- show
<static>
Firebug.Panel.supportsObject(object)
Returns a number indicating the view's ability to inspect the object.
Zero means not supported, and higher numbers indicate specificity.
- Parameters:
- object