Multivalent API

multivalent.std.ui
Class ViewSource

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

public class ViewSource
extends Behavior

Opens new window and displays current document as ASCII.

Version:
$Revision: 1.2 $ $Date: 2002/02/01 04:49:28 $

Field Summary
static java.lang.String BROWSER
          Name of browser showing source.
static java.lang.String MSG_VIEW
          View source of current document.
 
Fields inherited from class multivalent.Behavior
ATTR_BEHAVIOR, name_
 
Fields inherited from class multivalent.VObject
attr_
 
Constructor Summary
ViewSource()
           
 
Method Summary
 boolean semanticEventAfter(SemanticEvent se, java.lang.String msg)
          At viewSource semantic event, open new window and show ASCII.
 boolean semanticEventBefore(SemanticEvent se, java.lang.String msg)
          Add to View 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_VIEW

public static final java.lang.String MSG_VIEW
View source of current document.

"viewSource".

See Also:
Constant Field Values

BROWSER

public static final java.lang.String BROWSER
Name of browser showing source.

See Also:
Constant Field Values
Constructor Detail

ViewSource

public ViewSource()
Method Detail

semanticEventBefore

public boolean semanticEventBefore(SemanticEvent se,
                                   java.lang.String msg)
Add to View menu.

Overrides:
semanticEventBefore in class Behavior

semanticEventAfter

public boolean semanticEventAfter(SemanticEvent se,
                                  java.lang.String msg)
At viewSource semantic event, open new window and show ASCII.

Overrides:
semanticEventAfter in class Behavior

Multivalent API