|
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.SpanUI
Create a instance of Span
describe by hub attributes and move to extent of current selection.
See fields starting with ATTR_PARENT
for hub attributes available.
SemanticUI
,
WindowUI
Field Summary | |
---|---|
static java.lang.String |
ATTR_ATTRS
Hub attribute that gives the new Span's additional attributes. |
static java.lang.String |
ATTR_CATEGORY
Hub attribute that sets category group within menu. |
static java.lang.String |
ATTR_CREATEDAT
Newly created attribute that records creation time, as given by System.currentTimeMillis() . |
static java.lang.String |
ATTR_EDIT
Hub attribute that, if present, immediately invokes editing by user to set other attributes. |
static java.lang.String |
ATTR_LOGICAL
Hub attribute that gives new Span's logical name. |
static java.lang.String |
ATTR_PARENT
Hub attribute that gives menu (createWidget/parent). |
static java.lang.String |
ATTR_SPANNAME
Hub attribute that gives new Span's Java class name (which must be a Span). |
static java.lang.String |
ATTR_TITLE
Hub attribute that gives text to show in menu. |
static java.lang.String |
MSG_CREATE
Create a instance of Span describe by hub attributes and move to extent of current selection. |
Fields inherited from class multivalent.Behavior |
---|
ATTR_BEHAVIOR, name_ |
Fields inherited from class multivalent.VObject |
---|
attr_ |
Constructor Summary | |
---|---|
SpanUI()
|
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)
On "createSpan", create span. |
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_CREATE
Span
describe by hub attributes and move to extent of current selection.
"createSpan": arg= SpanUI
this.
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_LOGICAL
public static final java.lang.String ATTR_SPANNAME
public static final java.lang.String ATTR_ATTRS
public static final java.lang.String ATTR_EDIT
public static final java.lang.String ATTR_CREATEDAT
System.currentTimeMillis()
.
Constructor Detail |
---|
public SpanUI()
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)
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 |