Multivalent API

multivalent.std.ui
Class SaveAs

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

public class SaveAs
extends Behavior

Save current document to path chosen with a file chooser.

Version:
$Revision: 1.1 $ $Date: 2002/02/01 06:24:08 $

Field Summary
static java.lang.String MSG_SAVE_AS
          Save current document to new file.
 
Fields inherited from class multivalent.Behavior
ATTR_BEHAVIOR, name_
 
Fields inherited from class multivalent.VObject
attr_
 
Constructor Summary
SaveAs()
           
 
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)
          Disabled if viewing directory.
 
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 current document to new file.

"savePageAs".

See Also:
Constant Field Values
Constructor Detail

SaveAs

public SaveAs()
Method Detail

semanticEventBefore

public boolean semanticEventBefore(SemanticEvent se,
                                   java.lang.String msg)
Disabled if viewing directory.

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