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

CityClock

inherits from Clock
inherits from HasSortText

Object <- Viewable <- Control <- Clock <- CityClock



Operations

Get list of all operations

AboutToHide
AboutToShow
CalcLabelBox
Draw
Notice
Touch
ValueBox


Attributes

Get list of all attributes

City
DaylightSavings
UseScaledText


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
Control: image: Image
textStyle: TextStyle
controlFlags: Unsigned
level: Fixed
min: Fixed
max: Fixed
target: Object
targetAttribute: OperationNumber
Clock: timeFromTarget: Boolean
includeDay: Boolean
isTimer: Boolean
isEnabled: Boolean
clockTimeFormat: Flags
clockData: Unsigned
city: City
HasSortText: sortText: Text
CityClock: isLocalTimeZone: Boolean
daylightSavings: Boolean
editor: Window


Instance template

instance CityClock 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;
          image: nilObject;
      textStyle: nilObject;
   controlFlags: 0;
          level: 0;
            min: 0;
            max: 0;
         target: nilObject;
targetAttribute: nilOperation;
 timeFromTarget: false;
     includeDay: false;
        isTimer: false;
      isEnabled: false;
clockTimeFormat: 0x00000000;
      clockData: 0;
           city: nilObject;
       sortText: nilObject;
isLocalTimeZone: false;
daylightSavings: false;
         editor: nilObject;
end instance;

Class definition

Define Class CityClock;
    inherits from Clock, HasSortText;

    field isLocalTimeZone:  Boolean;
    field daylightSavings:  Boolean, getter;
    field editor:           Window, weak;

    attribute DaylightSavings: Boolean, safe;

    overrides SetCity;

    overrides AboutToShow, AboutToHide;
    overrides Notice;

    overrides CalcLabelBox;
    overrides Draw;
    overrides ValueBox;
    overrides Touch;
#ifdef SCALED_SCREEN
    overrides UseScaledText;
#endif
end class;