org.annotation.wordfreak.command
Class SetSpanCommand

java.lang.Object
  extended byorg.annotation.wordfreak.command.SetSpanCommand
All Implemented Interfaces:
Command
Direct Known Subclasses:
ExpandCommand

public class SetSpanCommand
extends java.lang.Object
implements Command


Constructor Summary
SetSpanCommand(Annotation a, int s, int e)
           
SetSpanCommand(Annotation a, int s, int e, boolean b)
           
SetSpanCommand(Annotation a, int s, int e, boolean b, boolean d)
           
SetSpanCommand(Annotation a, Span s)
           
SetSpanCommand(Annotation a, Span s, boolean b)
           
SetSpanCommand(Annotation a, Span s, boolean b, boolean d)
           
 
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

SetSpanCommand

public SetSpanCommand(Annotation a,
                      int s,
                      int e)

SetSpanCommand

public SetSpanCommand(Annotation a,
                      int s,
                      int e,
                      boolean b)

SetSpanCommand

public SetSpanCommand(Annotation a,
                      int s,
                      int e,
                      boolean b,
                      boolean d)

SetSpanCommand

public SetSpanCommand(Annotation a,
                      Span s)

SetSpanCommand

public SetSpanCommand(Annotation a,
                      Span s,
                      boolean b)

SetSpanCommand

public SetSpanCommand(Annotation a,
                      Span s,
                      boolean b,
                      boolean d)
Method Detail

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

getResult

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


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