Multivalent API

multivalent.std.ui
Class SaveAnnoAs

java.lang.Object
  extended by multivalent.VObject
      extended by multivalent.Behavior
          extended by multivalent.std.ui.SaveAnnoAs

public class SaveAnnoAs
extends Behavior

Save annotations in a file chosen with a file chooser. Doesn't need to be page aware because Layer.save() is.

Version:
$Revision: 1.6 $ $Date: 2002/02/01 06:34:28 $

Field Summary
static java.lang.String MSG_SAVE_AS
          Save annotations on current document to new file.
 
Fields inherited from class multivalent.Behavior
ATTR_BEHAVIOR, name_
 
Fields inherited from class multivalent.VObject
attr_
 
Constructor Summary
SaveAnnoAs()
           
 
Method Summary
 boolean semanticEventAfter(SemanticEvent se, java.lang.String msg)
          On "saveAnnosAs" semantic event, pop up dialog and save.
 boolean semanticEventBefore(SemanticEvent se, java.lang.String msg)
          At VMenu.MSG_CREATE_FILE, add item to menu.
 
Methods inherited from class multivalent.Behavior
buildAfter, buildBefore, checkRep, clipboardAfter, clipboardBefore, createUI, destroy, eventAfter, eventBefore, formatAfter, formatBefore, getBrowser, getDocument, getInstance, getInstance, getLayer, getLogger, getName, getPreference, getRoot, isEditable, paintAfter, paintBefore, putPreference, redo, restore, restoreChildren, save, setName, toString, undo
 
Methods inherited from class multivalent.VObject
attrEntrySetIterator, attrKeysIterator, clearAttributes, getAttr, getAttr, getAttributes, getGlobal, getValue, hasAttributes, putAttr, removeAttr, setAttributes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

MSG_SAVE_AS

public static final java.lang.String MSG_SAVE_AS
Save annotations on current document to new file.

"saveAnnosAs".

See Also:
Constant Field Values
Constructor Detail

SaveAnnoAs

public SaveAnnoAs()
Method Detail

semanticEventBefore

public boolean semanticEventBefore(SemanticEvent se,
                                   java.lang.String msg)
At VMenu.MSG_CREATE_FILE, add item to menu.

Overrides:
semanticEventBefore in class Behavior

semanticEventAfter

public boolean semanticEventAfter(SemanticEvent se,
                                  java.lang.String msg)
On "saveAnnosAs" semantic event, pop up dialog and save.

Overrides:
semanticEventAfter in class Behavior

Multivalent API