multivalent.std.ui

Class AttrUI

public class AttrUI extends Behavior

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

Version: $Revision: 1.2 $ $Date: 2002/02/01 07:59:06 $

See Also: SemanticEvent SemanticUI

Field Summary
static StringATTR_CATEGORY
Hub attribute that sets category group within menu.
static StringATTR_PARENT
Hub attribute that gives menu (createWidget/parent).
static StringATTR_SCRIPT
Hub attribute to set VScript script to execute when widget is activated.
static StringATTR_TITLE
Hub attribute that gives text to show in menu.
static StringATTR_VARIABLE
Hub attribute that sets category group within menu.
static StringMSG_TOGGLE_VAR
Toggle variable between true and false.
Method Summary
voidrestore(ESISNode n, Map<String,Object> attr, Layer layer)
booleansemanticEventAfter(SemanticEvent se, String msg)
booleansemanticEventBefore(SemanticEvent se, String msg)

Field Detail

ATTR_CATEGORY

public static final String ATTR_CATEGORY
Hub attribute that sets category group within menu.

ATTR_PARENT

public static final String ATTR_PARENT
Hub attribute that gives menu (createWidget/parent).

ATTR_SCRIPT

public static final String ATTR_SCRIPT
Hub attribute to set VScript script to execute when widget is activated.

ATTR_TITLE

public static final String ATTR_TITLE
Hub attribute that gives text to show in menu.

ATTR_VARIABLE

public static final String ATTR_VARIABLE
Hub attribute that sets category group within menu.

MSG_TOGGLE_VAR

public static final String MSG_TOGGLE_VAR
Toggle variable between true and false.

"toggleVariable": arg= java.lang.String variable-name.

Method Detail

restore

public void restore(ESISNode n, Map<String,Object> attr, Layer layer)

semanticEventAfter

public boolean semanticEventAfter(SemanticEvent se, String msg)

semanticEventBefore

public boolean semanticEventBefore(SemanticEvent se, String msg)