[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]

ErasableAnnotation

inherits from Annotation
inherits from HasButtonInTitleBar

... <- TitledWindow <- GadgetWindow <- ContainerWindow <- Annotation <- ErasableAnnotation



Operations

Get list of all operations

ChangedContents


Attributes

Get list of all attributes

UseBuiltInScrollArrows


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
HasButtonInTitleBar: buttonBorder: Border
buttonWidth: Micron
closeBoxMargin: Micron
buttonName: Text
buttonTarget: Object
buttonOperation: OperationNumber
buttonIsShowing: Boolean


Instance template

instance ErasableAnnotation 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;
   buttonBorder: nilObject;
    buttonWidth: <0.0>;
 closeBoxMargin: <0.0>;
     buttonName: nilObject;
   buttonTarget: nilObject;
buttonOperation: nilOperation;
buttonIsShowing: false;
end instance;

Class definition

Define Class ErasableAnnotation;
    inherits from Annotation;
    inherits from HasButtonInTitleBar;
    
    // Post-1.0, added an Erase button to the title bar of Annotations.
    // To avoid breaking compatibility, added this in subclass.
    
    overrides ChangedContents;
        // keeps ButtonIsShowing up to date
    overrides UseBuiltInScrollArrows;
        // for compatibility with old versions of the software, we do
        // not use built in scroll arrows regardless of the setting of
        // the flag in class ContainerWindow
end class;