2
* FCKeditor - The text editor for internet
3
* Copyright (C) 2003-2005 Frederico Caldeira Knabben
5
* Licensed under the terms of the GNU Lesser General Public License:
6
* http://www.opensource.org/licenses/lgpl-license.php
8
* For further information visit:
9
* http://www.fckeditor.net/
11
* "Support Open Source software. What about a donation today?"
13
* File Name: fcknamedcommand.js
14
* FCKNamedCommand Class: represents an internal browser command.
17
* Frederico Caldeira Knabben (fredck@fckeditor.net)
20
var FCKNamedCommand = function( commandName )
22
this.Name = commandName ;
25
FCKNamedCommand.prototype.Execute = function()
27
FCK.ExecuteNamedCommand( this.Name ) ;
30
FCKNamedCommand.prototype.GetState = function()
32
return FCK.GetNamedCommandState( this.Name ) ;