Class MozileBlockSetCommand
Object
|
+--MozileComponent
|
+--MozileCommand
|
+--MozileBlockSetCommand
- class
MozileBlockSetCommand
- extends MozileCommand
Defined in XHTMLBasic.js
Constructor Summary |
MozileBlockSetCommand
(<String> configString)
Mozile Block Set Command - Object -
Sets the properties of the block element which contains the selection.
|
Method Summary |
Void
|
execute(<Event> event)
Executes the command.
|
XULElement
|
getMenuitem()
|
String
|
getTag()
Gets the tag for the module.
|
Boolean
|
isActive()
True only if the getParentBlock().nodeName matches this.getTag()
|
MozileBlockSetCommand
MozileBlockSetCommand(<String> configString)
Mozile Block Set Command - Object -
Sets the properties of the block element which contains the selection. If the selection is collapsed, then the first block-level container for the selection is changed. If the selection is not collapsed (i.e. it contains a range), then that selection is wrapped in a new container.
Configuration String Requirements: "tag=[tagName]", for example "tag=h1".
Parameters:
configString
- A properly formatted configuration string.
execute
Void execute(<Event> event)
Parameters:
event
- The event object which triggered the command.
getMenuitem
XULElement getMenuitem()
getTag
String getTag()
Gets the tag for the module. Throws an error if none exists.
isActive
Boolean isActive()
True only if the getParentBlock().nodeName matches this.getTag()
Documentation generated by
JSDoc on Wed Mar 15 11:59:24 2006