|
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.Span
multivalent.std.span.ActionSpan
multivalent.std.span.ScriptSpan
When click on span, execute script in VScript
.
Name of node clicked upon put into attributes, which script can access with $node
.
(Appearance can be set in subclass or via style sheet.)
Field Summary | |
---|---|
static java.lang.String |
ATTR_SCRIPT
|
Fields inherited from class multivalent.std.span.ActionSpan |
---|
ATTR_TITLE, inmediasres_ |
Fields inherited from class multivalent.Span |
---|
GI_END, GI_START, MSG_DELETE, MSG_EDIT, MSG_MORPH, MSG_UNATTACHED, pend, pstart |
Fields inherited from class multivalent.Behavior |
---|
ATTR_BEHAVIOR, name_ |
Fields inherited from class multivalent.VObject |
---|
attr_ |
Fields inherited from interface multivalent.ContextListener |
---|
LITTLE, LOT, PRIORITY_LENS, PRIORITY_MAX, PRIORITY_MIN, PRIORITY_SELECTION, PRIORITY_SPAN, PRIORITY_STRUCT, SOME |
Constructor Summary | |
---|---|
ScriptSpan()
|
Method Summary | |
---|---|
protected boolean |
action()
Subclasses can make public if desired. |
boolean |
appearance(Context cx,
boolean all)
Resets the graphics context every time the object is added to or dropped from the set active over the portion of the document being drawn. |
Methods inherited from class multivalent.std.span.ActionSpan |
---|
event, eventAfter |
Methods inherited from class multivalent.Span |
---|
buildAfter, checkRep, close, closeAll, contains, contains, destroy, getEnd, getPriority, getStart, isSet, markDirty, move, move, move, moveq, moveq, moveq, moveqSwap, open, repaint, repaint, restore, save, semanticEventAfter, semanticEventBefore, stretch, toString |
Methods inherited from class multivalent.Behavior |
---|
buildBefore, clipboardAfter, clipboardBefore, createUI, eventBefore, formatAfter, formatBefore, getBrowser, getDocument, getInstance, getInstance, getLayer, getLogger, getName, getPreference, getRoot, isEditable, paintAfter, paintBefore, putPreference, redo, restoreChildren, setName, 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 java.lang.String ATTR_SCRIPT
Constructor Detail |
---|
public ScriptSpan()
Method Detail |
---|
public boolean appearance(Context cx, boolean all)
ContextListener
appearance
in interface ContextListener
appearance
in class Span
all
- all attributes or exclude those that are not inheritedprotected boolean action()
ActionSpan
public
if desired.
Maybe just send event instead.
action
in class ActionSpan
|
Multivalent API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |