org.annotation.wordfreak.chooser
Interface ChooserListener

All Known Subinterfaces:
ViewerListener
All Known Implementing Classes:
AnnotationScheme

public interface ChooserListener

Describes the set of callbacks an object which listens to a Chooser must handle.

See Also:
Chooser, AnnotationScheme

Method Summary
 void down()
          Specifies the the current annotation should be changed to an appropiate child annotation.
 void next()
          Specifies the the current annotation should be changed to the next appropiate annotation.
 void nextFile()
          Specifies that the current annotation should be set to an annotation the next file.
 void nextOutcome()
          Specifies that the type feature of the current annotation should be updated to the next appropiate value.
 void prev()
          Specifies the the current annotation should be changed to the previous appropiate annotation.
 void prevFile()
          Specifies that the current annotation should be set to an annotation the previous file.
 void prevOutcome()
          Specifies that the type feature of the current annotation should be updated to the previous appropiate value.
 void set(java.lang.String choice)
          Indicates that the specified choice has been selected.
 void set(java.lang.String choice, int modifiers)
          Specifies that the specified choice has been selected with the specified modifier.
 void set(java.lang.String choice, int modifiers, boolean jumpToNext)
          Specifies that the specified choice has been selected with the specified modifier and that the next annotation should be shown.
 void set(java.lang.String choice, int modifiers, boolean jumpToNext, Annotation selectedAnnotation)
          Specifies that the specified choice has been selected with the specified modifier and the specified selected Annotation and that the next annotation should be shown.
 void setAnnotation(Annotation a)
          Specifies the the annotation specified should be the current annotation.
 void up()
          Specifies the the current annotation should be changed to an appropiate parent annotation.
 

Method Detail

set

public void set(java.lang.String choice)
Indicates that the specified choice has been selected.

Parameters:
choice - The choice which has been selected.

set

public void set(java.lang.String choice,
                int modifiers)
Specifies that the specified choice has been selected with the specified modifier.

Parameters:
choice - The choice which has been selected.
modifiers - The modifiers selection when that choice was made.

set

public void set(java.lang.String choice,
                int modifiers,
                boolean jumpToNext)
Specifies that the specified choice has been selected with the specified modifier and that the next annotation should be shown.

Parameters:
choice - The choice which has been selected.
modifiers - The modifiers selection when that choice was made.
jumpToNext - Specifies whether the next annotation should be immediately shown.

set

public void set(java.lang.String choice,
                int modifiers,
                boolean jumpToNext,
                Annotation selectedAnnotation)
Specifies that the specified choice has been selected with the specified modifier and the specified selected Annotation and that the next annotation should be shown.

Parameters:
choice - The choice which has been selected.
modifiers - The modifiers selection when that choice was made.
jumpToNext - Specifies whether the next annotation should be immediately shown.
selectedAnnotation - An annotation whose selection is related to the specified choice.

setAnnotation

public void setAnnotation(Annotation a)
Specifies the the annotation specified should be the current annotation.

Parameters:
a - the annotation which should become the current annotation.

nextOutcome

public void nextOutcome()
Specifies that the type feature of the current annotation should be updated to the next appropiate value.


prevOutcome

public void prevOutcome()
Specifies that the type feature of the current annotation should be updated to the previous appropiate value.


nextFile

public void nextFile()
Specifies that the current annotation should be set to an annotation the next file.


prevFile

public void prevFile()
Specifies that the current annotation should be set to an annotation the previous file.


next

public void next()
Specifies the the current annotation should be changed to the next appropiate annotation.


prev

public void prev()
Specifies the the current annotation should be changed to the previous appropiate annotation.


up

public void up()
Specifies the the current annotation should be changed to an appropiate parent annotation.


down

public void down()
Specifies the the current annotation should be changed to an appropiate child annotation.



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