multivalent.devel
Class DebugMode
java.lang.Object
multivalent.VObject
multivalent.Behavior
multivalent.devel.DebugMode
- public class DebugMode
- extends Behavior
Set flag that controls availability/visibility of debugging behaviors (those in Debug layer and those in Debug menu).
Shows memory use, ....
- Version:
- $Revision: 1.4 $ $Date: 2002/02/17 18:32:22 $
- See Also:
Debug
,
ShowDocTree
Method Summary |
void |
buildAfter(Document doc)
Traverses all behaviors from lowest to highest priority, during which tweaks hack their content into the tree, |
boolean |
semanticEventAfter(SemanticEvent se,
java.lang.String msg)
Round robin distribution to all behaviors. |
boolean |
semanticEventBefore(SemanticEvent se,
java.lang.String msg)
Round robin distribution to all behaviors. |
void |
setActive(boolean active)
Add/remove "Debug" menu to end of menubar. |
Methods inherited from class multivalent.Behavior |
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 |
MSG_SET_DEBUGMODE
public static final java.lang.String MSG_SET_DEBUGMODE
- See Also:
- Constant Field Values
DebugMode
public DebugMode()
setActive
public void setActive(boolean active)
- Add/remove "Debug" menu to end of menubar.
buildAfter
public void buildAfter(Document doc)
- Description copied from class:
Behavior
- Traverses all behaviors from lowest to highest priority, during which tweaks hack their content into the tree,
- Overrides:
buildAfter
in class Behavior
semanticEventBefore
public boolean semanticEventBefore(SemanticEvent se,
java.lang.String msg)
- Description copied from class:
Behavior
- Round robin distribution to all behaviors.
Message and clientData unpacked from SemanticEvent for convenience.
Message is interned, so if you compare to a literal, you can use "==".
Message can't be changed (it can be short-circuited out of), but client data can be mutated as it is passed along (so it's not passed as a parameter).
- Overrides:
semanticEventBefore
in class Behavior
semanticEventAfter
public boolean semanticEventAfter(SemanticEvent se,
java.lang.String msg)
- Description copied from class:
Behavior
- Round robin distribution to all behaviors.
Message and clientData unpacked from SemanticEvent for convenience.
Message is interned, so if you compare to a literal, you can use "==".
Message can't be changed (it can be short-circuited out of), but client data can be mutated as it is passed along (so it's not passed as a parameter).
- Overrides:
semanticEventAfter
in class Behavior