class (View) viewClass;
View
class.
public tom.String title;
public mutable View content_view;
public float f_x;
public float f_y;
public float f_w;
public float f_h;
Color background;
View mouse_view;
public Responder first_responder;
public mutable View initial_responder;
public mutable WindowDelegate delegate;
int style;
deferred void display;
Display display;
Display
of the receiving window.
deferred Screen screen;
Device deviceDescription;
Device
description of this Window
. This normally
returns the description of the screen
.
id (self) initWithContentRect (float, float, float, float) (x, y, w, h) styleMask int s backing int backing screen Screen screen;
Color backgroundColor;
void becomeKeyWindow;
void becomeMainWindow;
boolean canBecomeKeyWindow;
boolean canBecomeMainWindow;
(float, float) convertBaseToScreen (float, float) (x, y);
(float, float) convertScreenToBase (float, float) (x, y);
(float, float, float, float) frame;
void makeKeyAndOrderFront tom.All sender;
void makeKeyWindow;
void makeMainWindow;
void noteFrame (float, float, float, float) (x, y, w, h);
deferred void orderFront tom.All sender;
deferred void orderOut tom.All sender;
void resignKeyWindow;
void resignMainWindow;
void setBackgroundColor Color c;
void setFrame (float, float, float, float) (x, y, w, h);
void setTitle tom.String t;
tom.OutputStream (s) writeFields tom.OutputStream s;
boolean (result) makeFirstResponder Responder responder post (result -> first_responder == responder) && (!result -> first_responder == old first_responder);
responder
the first_responder
of this
window.
void sendEvent Event event to Responder responder using selector sel;
event
to the responder
using the selector sel
.
boolean (result) tryToDispatch selector action from tom.All sender;
boolean (result) tryToSendAction selector action from tom.All sender;
delegate
of this window, if the usual Responder
response
fails.
void encodeUsingCoder tom.Encoder coder;
void initWithCoder tom.Decoder coder;