multivalent.std.span
public class BackgroundSpan extends Span
Version: $Revision: 1.3 $ $Date: 2002/02/02 13:16:26 $
Field Summary | |
---|---|
static String | ATTR_COLOR Color of background. |
static String | ATTR_COLORS List of color names, separated by spaces, such as "Yellow Orange Green Blue". |
static String | MSG_CHANGE
Change the color to arg, which can be java.lang.String or java.awt.Color.
|
static String | MSG_EDIT
Pop up dialog asking user color choice.
|
Method Summary | |
---|---|
boolean | appearance(Context cx, boolean all) |
Color | getColor() |
void | restore(ESISNode n, Map<String,Object> attr, Layer layer) |
ESISNode | save() |
boolean | semanticEventAfter(SemanticEvent se, String msg) |
boolean | semanticEventBefore(SemanticEvent se, String msg) |
void | setColor(Color color) Set to COLOR_INVALID to invalidate, null for transparent. |
String | toString() |
"changeColor": arg= color, as String or Color.
"editColor".