|
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.ui.AttrUI
For now, toggles preference. Later: other values (in cascade?), ... TO DO: assignable default (now set to "on"), should rename to "toggleAttrUI" or make more general, need counterpart for window variables
SemanticEvent
,
SemanticUI
Field Summary | |
---|---|
static java.lang.String |
ATTR_CATEGORY
Hub attribute that sets category group within menu. |
static java.lang.String |
ATTR_PARENT
Hub attribute that gives menu (createWidget/parent). |
static java.lang.String |
ATTR_SCRIPT
Hub attribute to set VScript script to execute when widget is activated. |
static java.lang.String |
ATTR_TITLE
Hub attribute that gives text to show in menu. |
static java.lang.String |
ATTR_VARIABLE
Hub attribute that sets category group within menu. |
static java.lang.String |
MSG_TOGGLE_VAR
Toggle variable between true and false. |
Fields inherited from class multivalent.Behavior |
---|
ATTR_BEHAVIOR, name_ |
Fields inherited from class multivalent.VObject |
---|
attr_ |
Constructor Summary | |
---|---|
AttrUI()
|
Method Summary | |
---|---|
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. |
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. |
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, 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 |
---|
public static final java.lang.String MSG_TOGGLE_VAR
"toggleVariable": arg= String
variable-name.
public static final java.lang.String ATTR_PARENT
public static final java.lang.String ATTR_TITLE
public static final java.lang.String ATTR_CATEGORY
public static final java.lang.String ATTR_VARIABLE
public static final java.lang.String ATTR_SCRIPT
VScript
script to execute when widget is activated.
Constructor Detail |
---|
public AttrUI()
Method Detail |
---|
public boolean semanticEventBefore(SemanticEvent se, java.lang.String msg)
Behavior
semanticEventBefore
in class Behavior
public boolean semanticEventAfter(SemanticEvent se, java.lang.String msg)
Behavior
semanticEventAfter
in class Behavior
public void restore(ESISNode n, java.util.Map<java.lang.String,java.lang.Object> attr, Layer layer)
Behavior
restore
in class Behavior
|
Multivalent API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |