multivalent.std
public class Note extends Behavior
line
+).
Annotations are saved simply by recursing.
Version: $Revision: 1.8 $ $Date: 2002/02/17 18:23:33 $
Field Summary | |
---|---|
static String | ATTR_CLOSED |
static String | ATTR_FLOATING |
protected static Color | defbg_ |
protected static Color | deffg_ |
protected Document | doc_ Document nested in VFrame. |
static String | MSG_BACKGROUND
Set background color of note.
|
static String | MSG_DELETE
Delete note.
|
static String | MSG_SET_PINNED
Pin/unpin note to associate document visually.
|
static String | MSG_SHOW
Show note (visibile = true).
|
protected static Random | random |
protected boolean | viz_ Visible on screen or available in menu. |
protected VFrame | win_ Floating window. |
Method Summary | |
---|---|
void | buildAfter(Document doc) Recurse to nested document. |
void | buildBefore(Document doc) Recurse to nested document. |
void | destroy() Remove window node too. |
Node | getContent() |
void | restore(ESISNode n, Map<String,Object> attr, Layer layer) |
ESISNode | save() |
boolean | semanticEventAfter(SemanticEvent se, String msg) Catch corresponding VFrame's windowClosed, windowRaised, .... |
boolean | semanticEventBefore(SemanticEvent se, String msg) Change background color, pinned status, .... |
"editBackgroundColor": arg= java.awt.Color / java.lang.String color, in= Note Note-instance.
"deleteNote": in= Note Note-instance.
"windowSetPinned": arg= java.lang.Boolean (or null
to toggle), in= Note Note-instance.
"showNote": arg= java.lang.Boolean (or null
to toggle), in= Note Note-instance.