|
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.std.lens.LensMan
Manager to coordinate lens painting.
WindowUI
Field Summary | |
---|---|
static int |
LENS_MAX
Maximum number of intersecting lenses; can have more total. |
Fields inherited from class multivalent.Behavior |
---|
ATTR_BEHAVIOR, name_ |
Fields inherited from class multivalent.VObject |
---|
attr_ |
Constructor Summary | |
---|---|
LensMan()
|
Method Summary | |
---|---|
void |
addLens(Lens lens)
|
void |
deleteLens(Lens lens)
|
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. |
INode |
getVisualLayer()
Return INode under which all Lens VFrame's are stored. |
boolean |
paintAfter(Context cx,
Node root)
While painting lenses, shortcircuit higher ups until done. |
boolean |
paintBefore(Context cx,
Node notused)
Redraws portions of document covered by lenses, combining effects where lenses intersect. |
void |
raiseLens(Lens lens)
Raise passed lens to top of stacking order, adding to stack if necessary. |
void |
restore(ESISNode n,
java.util.Map<java.lang.String,java.lang.Object> attr,
Layer layer)
Takes the place of a constructor's initialization functions; that is, it is invoked exactly once immediately after object instantiation. |
ESISNode |
save()
LensMan is spontaneously generated -- nothing to save. |
Methods inherited from class multivalent.Behavior |
---|
buildAfter, buildBefore, checkRep, clipboardAfter, clipboardBefore, createUI, destroy, eventBefore, formatAfter, formatBefore, getBrowser, getDocument, getInstance, getInstance, getLayer, getLogger, getName, getPreference, getRoot, isEditable, putPreference, redo, restoreChildren, 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 LENS_MAX
Constructor Detail |
---|
public LensMan()
Method Detail |
---|
public void addLens(Lens lens)
public void deleteLens(Lens lens)
public void raiseLens(Lens lens)
public INode getVisualLayer()
public void restore(ESISNode n, java.util.Map<java.lang.String,java.lang.Object> attr, Layer layer)
Behavior
restore
in class Behavior
public boolean paintBefore(Context cx, Node notused)
paintBefore
in class Behavior
public boolean paintAfter(Context cx, Node root)
paintAfter
in class Behavior
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 ESISNode save()
save
in class Behavior
|
Multivalent API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |