source:
tags/expresso/2.0.5/expressoMail1_2/js/fckeditor/editor/_source/commandclasses/fcknamedcommand.js
@
389
Revision 389, 827 bytes checked in by niltonneto, 16 years ago (diff) | |
---|---|
|
Line | |
---|---|
1 | /* |
2 | * FCKeditor - The text editor for internet |
3 | * Copyright (C) 2003-2006 Frederico Caldeira Knabben |
4 | * |
5 | * Licensed under the terms of the GNU Lesser General Public License: |
6 | * http://www.opensource.org/licenses/lgpl-license.php |
7 | * |
8 | * For further information visit: |
9 | * http://www.fckeditor.net/ |
10 | * |
11 | * "Support Open Source software. What about a donation today?" |
12 | * |
13 | * File Name: fcknamedcommand.js |
14 | * FCKNamedCommand Class: represents an internal browser command. |
15 | * |
16 | * File Authors: |
17 | * Frederico Caldeira Knabben (fredck@fckeditor.net) |
18 | */ |
19 | |
20 | var FCKNamedCommand = function( commandName ) |
21 | { |
22 | this.Name = commandName ; |
23 | } |
24 | |
25 | FCKNamedCommand.prototype.Execute = function() |
26 | { |
27 | FCK.ExecuteNamedCommand( this.Name ) ; |
28 | } |
29 | |
30 | FCKNamedCommand.prototype.GetState = function() |
31 | { |
32 | return FCK.GetNamedCommandState( this.Name ) ; |
33 | } |
Note: See TracBrowser
for help on using the repository browser.