|
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.ClipMarkup
Generate XML-format tagged text for clipboard based on structure tree, instead of usual text.
To do: exclude annotations by checking that span in BASE layer.
Field Summary | |
---|---|
static java.lang.String |
MSG_SET
Paste as markup or not. |
Fields inherited from class multivalent.Behavior |
---|
ATTR_BEHAVIOR, name_ |
Fields inherited from class multivalent.VObject |
---|
attr_ |
Constructor Summary | |
---|---|
ClipMarkup()
|
Method Summary | |
---|---|
void |
buildAfter(Document doc)
Add self to root to be call during clipboard tree event. |
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 |
semanticEventAfter(SemanticEvent se,
java.lang.String msg)
Semantic event "setMarkup". |
boolean |
semanticEventBefore(SemanticEvent se,
java.lang.String msg)
Add entry to Clipboard menu. |
Methods inherited from class multivalent.Behavior |
---|
buildBefore, checkRep, clipboardAfter, createUI, destroy, eventAfter, eventBefore, formatAfter, formatBefore, getBrowser, getDocument, getInstance, getInstance, getLayer, getLogger, getName, getPreference, getRoot, isEditable, paintAfter, paintBefore, putPreference, redo, restore, 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_SET
"setMarkup": arg= bollean or null
to toggle.
Constructor Detail |
---|
public ClipMarkup()
Method Detail |
---|
public boolean semanticEventBefore(SemanticEvent se, java.lang.String msg)
semanticEventBefore
in class Behavior
public boolean semanticEventAfter(SemanticEvent se, java.lang.String msg)
semanticEventAfter
in class Behavior
public void buildAfter(Document doc)
buildAfter
in class Behavior
public boolean clipboardBefore(java.lang.StringBuffer sb, Node node)
Behavior
clipboardBefore
in class Behavior
|
Multivalent API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |