org.annotation.wordfreak.command
Class InsertCommand

java.lang.Object
  extended byorg.annotation.wordfreak.command.InsertCommand
All Implemented Interfaces:
Command

public class InsertCommand
extends java.lang.Object
implements Command


Constructor Summary
InsertCommand(AnnotationView v, Annotation a)
           
InsertCommand(AnnotationView v, java.lang.String t, Annotation s, Annotation e, Annotation p)
           
InsertCommand(AnnotationView v, java.lang.String t, int s, int e, Annotation p)
           
 
Method Summary
 void execute()
           
 java.lang.String getName()
           
 java.lang.Object getResult()
           
 void reexecute()
           
 void unexecute()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InsertCommand

public InsertCommand(AnnotationView v,
                     Annotation a)

InsertCommand

public InsertCommand(AnnotationView v,
                     java.lang.String t,
                     Annotation s,
                     Annotation e,
                     Annotation p)

InsertCommand

public InsertCommand(AnnotationView v,
                     java.lang.String t,
                     int s,
                     int e,
                     Annotation p)
Method Detail

getResult

public java.lang.Object getResult()
Specified by:
getResult in interface Command

execute

public void execute()
Specified by:
execute in interface Command

unexecute

public void unexecute()
Specified by:
unexecute in interface Command

reexecute

public void reexecute()
Specified by:
reexecute in interface Command

getName

public java.lang.String getName()
Specified by:
getName in interface Command


Copyright © 2004 Thomas Morton and Jeremy LaCivita. All Rights Reserved.