multivalent.std

Class ClipMarkup

public class ClipMarkup extends Behavior

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.

Version: $Revision: 1.3 $ $Date: 2002/02/01 04:26:24 $

Field Summary
static StringMSG_SET
Paste as markup or not.
Method Summary
voidbuildAfter(Document doc)
Add self to root to be call during clipboard tree event.
booleanclipboardBefore(StringBuffer sb, Node node)
booleansemanticEventAfter(SemanticEvent se, String msg)
Semantic event "setMarkup".
booleansemanticEventBefore(SemanticEvent se, String msg)
Add entry to Clipboard menu.

Field Detail

MSG_SET

public static final String MSG_SET
Paste as markup or not.

"setMarkup": arg= bollean or null to toggle.

Method Detail

buildAfter

public void buildAfter(Document doc)
Add self to root to be call during clipboard tree event.

clipboardBefore

public boolean clipboardBefore(StringBuffer sb, Node node)

semanticEventAfter

public boolean semanticEventAfter(SemanticEvent se, String msg)
Semantic event "setMarkup".

semanticEventBefore

public boolean semanticEventBefore(SemanticEvent se, String msg)
Add entry to Clipboard menu.