org.xwiki.gwt.user.client
Class RichTextAreaCommand

java.lang.Object
  extended by org.xwiki.gwt.user.client.RichTextAreaCommand
All Implemented Interfaces:
com.google.gwt.core.client.Scheduler.ScheduledCommand, com.google.gwt.user.client.Command

public class RichTextAreaCommand
extends Object
implements com.google.gwt.user.client.Command

Executes a specific command on a rich text area.

Version:
$Id: f39f2939195d78dc3f7a87946fa4b47fc323c6b2 $

Constructor Summary
RichTextAreaCommand(RichTextArea rta, Command command)
          Creates a new GWT command that executes the specified rich text area command.
RichTextAreaCommand(RichTextArea rta, Command command, String parameter)
          Creates a new GWT command that executes the specified rich text area command.
RichTextAreaCommand(RichTextArea rta, Command command, String parameter, boolean focus)
          Creates a new GWT command that executes the specified rich text area command.
 
Method Summary
 void execute()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RichTextAreaCommand

public RichTextAreaCommand(RichTextArea rta,
                           Command command)
Creates a new GWT command that executes the specified rich text area command.

Parameters:
rta - the rich text area
command - the command to be executed

RichTextAreaCommand

public RichTextAreaCommand(RichTextArea rta,
                           Command command,
                           String parameter)
Creates a new GWT command that executes the specified rich text area command.

Parameters:
rta - the rich text area
command - the command to be executed
parameter - the parameter to pass to the executed command

RichTextAreaCommand

public RichTextAreaCommand(RichTextArea rta,
                           Command command,
                           String parameter,
                           boolean focus)
Creates a new GWT command that executes the specified rich text area command.

Parameters:
rta - the rich text area
command - the command to be executed
parameter - the parameter to pass to the executed command
focus - true to focus the rich text area before executing the command, false otherwise
Method Detail

execute

public void execute()
Specified by:
execute in interface com.google.gwt.core.client.Scheduler.ScheduledCommand
Specified by:
execute in interface com.google.gwt.user.client.Command


Copyright © 2004-2013 XWiki. All Rights Reserved.