[operations] [attributes] [fields] [template] [definition]
[implementation] [documentation]
To use the search tool you need to use a browser which supports JAVA (c)

[next] [prev] [superclass] [next peer] [prev peer] [subclass] [index] [hierarchy]

Annotation

inherits from ContainerWindow
inherits from InfoTopic

... <- Window <- TitledWindow <- GadgetWindow <- ContainerWindow <- Annotation



Operations

Get list of all operations

AboutToShow
CanAccept
Disappear
MaximumScrollOffset
Pressed
RevealSelection
ZoomFromWhere


Attributes

Get list of all attributes

CanDrawIn
NotesField


Fields

Field Type
Viewable: superview: Viewable
relativeOrigin: Dot
contentSize: Dot
viewFlags: Flags
labelStyle: TextStyle
color: Unsigned
altColor: Unsigned
shadow: Shadow
sound: Playable
HasBorder: border: Border
Window: canCoexist: Boolean
persistentWindow: Boolean
dontAutoExtend: Boolean
ignoreGrid: Boolean
closeAfterTouch: Boolean
closeBeforeTouch: Boolean
autoPosition: Boolean
noCloseBox: Boolean
downArrowVisible: Boolean
upArrowVisible: Boolean
rightArrowVisible: Boolean
leftArrowVisible: Boolean
autoMoveContents: Boolean
searchable: Boolean
customTitleColor: Boolean
scaleWindowTitle: Boolean
noBuiltInArrows: Boolean
noZoom: Boolean
autoCopyWindow: Boolean
TitledWindow: titleColor: Unsigned
titleHeight: Micron
dependents: ObjectList
BalloonSpout: balloonDot: Dot
GadgetWindow: target: Object
ScrollableByMicron: scrollOffset: Dot
ContainerWindow: gridSize: Dot
gridOffset: Dot
topArrow: Viewable
bottomArrow: Viewable
InfoTopic: info: Object
Annotation: notesField: TextField


Instance template

instance Annotation tag;
 relativeOrigin: <0.0,0.0>;
    contentSize: <0.0,0.0>;
      viewFlags: 0x00000000;
     labelStyle: nilObject;
          color: 0;
       altColor: 0;
         shadow: nilObject;
          sound: nilObject;
         border: nilObject;
     canCoexist: false;
persistentWindow: false;
 dontAutoExtend: false;
     ignoreGrid: false;
closeAfterTouch: false;
closeBeforeTouch: false;
   autoPosition: false;
     noCloseBox: false;
downArrowVisible: false;
 upArrowVisible: false;
rightArrowVisible: false;
leftArrowVisible: false;
autoMoveContents: false;
     searchable: false;
customTitleColor: false;
scaleWindowTitle: false;
noBuiltInArrows: false;
         noZoom: false;
 autoCopyWindow: false;
     titleColor: 0;
    titleHeight: <0.0>;
     dependents: nilObject;
     balloonDot: <0.0,0.0>;
         target: nilObject;
   scrollOffset: <0.0,0.0>;
       gridSize: <0.0,0.0>;
     gridOffset: <0.0,0.0>;
       topArrow: nilObject;
    bottomArrow: nilObject;
           info: nilObject;
     notesField: nilObject;
end instance;

Class definition

Define Class Annotation;
    inherits from ContainerWindow;
    inherits from InfoTopic;

    field notesField: TextField, getter, weak;
        // used by NotesField attribute

    attribute NotesField: TextField, readOnly;
        // call to get text field that is default contents of self

    overrides AboutToShow;                                  
        // adjust size of notesField to fit all text and be at least as tall as self
    overrides RevealSelection;                              
        // grow notes field and scroll to expose selection
    overrides CanAccept;
        // rejects target of self to avoid self-swallowing behavior
    overrides CanDrawIn;                                    
        // returns kDontDrawHere if current touch is in built-in scroll arrows,
        // otherwise returns kDrawHere
    overrides MaximumScrollOffset;                          
        // ensures that bottom of text selection (if any) is above projected keyboard (if any)
    overrides Disappear;
        // coalesces scribbles to conserve memory
    overrides Pressed;
        // after user drags self, brings keyboard back in front
    overrides ZoomFromWhere;
        // specifies content box of target if it's onscreen
end class;