|
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.Search
Find words in tree, highlight matches within document.
TO DO: update to use regexp, maybe separate UI from functionality
| Field Summary | |
|---|---|
static java.lang.String |
MSG_HITS
Announces search hits, by group. |
static java.lang.String |
MSG_NEXT
Show next hit. |
static java.lang.String |
MSG_PREV
Show previous hit. |
static java.lang.String |
MSG_SEARCHFOR
Another semantic command, which should be given more descriptive name. |
static java.lang.String |
MSG_SET_ACTIVE
Add/remove controls in second toolbar: on/off. |
| Fields inherited from class multivalent.Behavior |
|---|
ATTR_BEHAVIOR, name_ |
| Fields inherited from class multivalent.VObject |
|---|
attr_ |
| Constructor Summary | |
|---|---|
Search()
|
|
| 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. |
void |
search(java.lang.String searchfor,
INode root)
|
boolean |
semanticEventAfter(SemanticEvent se,
java.lang.String msg)
When active, takes over toolbar. |
boolean |
semanticEventBefore(SemanticEvent se,
java.lang.String msg)
Part of Edit menu |
| 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_SEARCHFOR
"searchFor": arg= String expression-to-search-for.
public static final java.lang.String MSG_PREV
"searchPrev".
public static final java.lang.String MSG_NEXT
"searchNext".
public static final java.lang.String MSG_SET_ACTIVE
"searchSetActive": arg= String or Boolean or null to toggle.
public static final java.lang.String MSG_HITS
"searchHits": arg= List[] hits, grouped, in= Node root node of search
| Constructor Detail |
|---|
public Search()
| 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 restore(ESISNode n,
java.util.Map<java.lang.String,java.lang.Object> attr,
Layer layer)
Behavior
restore in class Behavior
public void search(java.lang.String searchfor,
INode root)
|
Multivalent API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||