|
Multivalent API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmultivalent.VObject
multivalent.Behavior
multivalent.devel.NodeActivity
Attach to node to report protocol activity on that node, filterable by protocol. Of course, this applies to tree protocols only: format, paint, low-level event, clipboard. LATER: animated on doc tree?
Field Summary | |
---|---|
static int |
BUILDAFTER_MASK
|
static int |
BUILDBEFORE_MASK
|
static int |
CLIPBOARDAFTER_MASK
|
static int |
CLIPBOARDBEFORE_MASK
|
static int |
EVENTAFTER_MASK
|
static int |
EVENTBEFORE_MASK
|
static int |
FORMATAFTER_MASK
|
static int |
FORMATBEFORE_MASK
|
static int |
PAINTAFTER_MASK
|
static int |
PAINTBEFORE_MASK
|
static int |
SEMANTICEVENTAFTER_MASK
|
static int |
SEMANTICEVENTBEFORE_MASK
|
Fields inherited from class multivalent.Behavior |
---|
ATTR_BEHAVIOR, name_ |
Fields inherited from class multivalent.VObject |
---|
attr_ |
Constructor Summary | |
---|---|
NodeActivity()
|
Method Summary | |
---|---|
boolean |
clipboardAfter(java.lang.StringBuffer sb,
Node node)
A tree walk protocol, called after observed node has been given a chance to contribute to the growing selection content in the passed StringBuffer. |
boolean |
clipboardBefore(java.lang.StringBuffer sb,
Node node)
A tree walk protocol, called before observed node has been given a chance to contribute to the growing selection content in the passed StringBuffer. |
boolean |
eventAfter(java.awt.AWTEvent e,
java.awt.Point rel,
Node obsn)
During Behavior.eventBefore(AWTEvent, Point, Node) , the behaviors that take primary action to that event should do so,
after having given other behaviors the opportunity to filter it during eventBefore. |
boolean |
eventBefore(java.awt.AWTEvent e,
java.awt.Point rel,
Node obsn)
|
boolean |
formatAfter(Node node)
A tree walk protocol, called after observed node has been formatted. |
boolean |
formatBefore(Node node)
A tree walk protocol, called before observed node has been formatted. |
int |
getMask()
|
Node |
getNode()
|
void |
msgOut(java.lang.String proto)
Show protocol and limited, unusual state. |
boolean |
paintAfter(Context cx,
Node n)
A tree walk protocol, called before observed node has been painted. |
boolean |
paintBefore(Context cx,
Node n)
A tree walk protocol, called before observed node has been painted. |
void |
setMask(int mask)
OR if protocol masks from the class Behavior. |
void |
setNode(Node node)
|
Methods inherited from class multivalent.Behavior |
---|
buildAfter, buildBefore, checkRep, createUI, destroy, getBrowser, getDocument, getInstance, getInstance, getLayer, getLogger, getName, getPreference, getRoot, isEditable, putPreference, redo, restore, restoreChildren, save, semanticEventAfter, semanticEventBefore, 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 |
---|
public static final int BUILDBEFORE_MASK
public static final int BUILDAFTER_MASK
public static final int FORMATBEFORE_MASK
public static final int FORMATAFTER_MASK
public static final int PAINTBEFORE_MASK
public static final int PAINTAFTER_MASK
public static final int EVENTBEFORE_MASK
public static final int EVENTAFTER_MASK
public static final int SEMANTICEVENTBEFORE_MASK
public static final int SEMANTICEVENTAFTER_MASK
public static final int CLIPBOARDBEFORE_MASK
public static final int CLIPBOARDAFTER_MASK
Constructor Detail |
---|
public NodeActivity()
Method Detail |
---|
public boolean formatBefore(Node node)
Behavior
formatBefore
in class Behavior
public boolean formatAfter(Node node)
Behavior
formatAfter
in class Behavior
public boolean paintBefore(Context cx, Node n)
Behavior
paintBefore
in class Behavior
public boolean paintAfter(Context cx, Node n)
Behavior
paintAfter
in class Behavior
public boolean clipboardBefore(java.lang.StringBuffer sb, Node node)
Behavior
clipboardBefore
in class Behavior
public boolean clipboardAfter(java.lang.StringBuffer sb, Node node)
Behavior
clipboardAfter
in class Behavior
public boolean eventBefore(java.awt.AWTEvent e, java.awt.Point rel, Node obsn)
eventBefore
in class Behavior
SemanticEvent
,
AWTEvent
,
Browser
,
LensMan
public boolean eventAfter(java.awt.AWTEvent e, java.awt.Point rel, Node obsn)
Behavior
Behavior.eventBefore(AWTEvent, Point, Node)
, the behaviors that take primary action to that event should do so,
after having given other behaviors the opportunity to filter it during eventBefore.
eventAfter
in class Behavior
public void msgOut(java.lang.String proto)
public void setMask(int mask)
public int getMask()
public void setNode(Node node)
public Node getNode()
|
Multivalent API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |