
Public Member Functions | |
| this (Dialog parent, int id) | |
| Constructs a Control object to interface a given dialog control. | |
| this (WindowBase parent, int id, string text, Rect position, string className="STATIC") | |
| Constructs a control to be created at runtime. | |
| this (FrameWindow parent, int id, string text, string className="STATIC") | |
| Constructs a control to be used as the client pane of a FrameWindow. | |
| override void | create () |
| Creates the control interface element. | |
Properties | |
| Font | font () |
| The font used by the control. | |
| Font | font (Font f) |
| The font used by the control. | |
Protected Member Functions | |
| override void | initListeners () |
Protected Attributes | |
| int | controlID |
| Rect | _position |
| string | _className |
| Font | _font |
A static control can be implemented by a Control object itself; subclasses are defined for specific types of controls.
| smjg.libs.sdwf.control.Control.this | ( | Dialog | parent, | |
| int | id | |||
| ) |
Constructs a Control object to interface a given dialog control.
Reimplemented in smjg.libs.sdwf.commoncontrol.TreeView, smjg.libs.sdwf.control.Button, smjg.libs.sdwf.control.CheckBox, smjg.libs.sdwf.control.RadioButton, smjg.libs.sdwf.control.EditBox, smjg.libs.sdwf.control.ListBox, and smjg.libs.sdwf.control.ComboBox.
| smjg.libs.sdwf.control.Control.this | ( | WindowBase | parent, | |
| int | id, | |||
| string | text, | |||
| Rect | position, | |||
| string | className = "STATIC" | |||
| ) |
Constructs a control to be created at runtime.
| parent | the window or dialog on which the control will be placed. | |
| id | numeric ID that the control will have. | |
| text | the control's caption text. | |
| position | the position on the parent window where the control will be placed. | |
| className | the Windows control class to which the control will belong. The default setting is for static text. |
Reimplemented in smjg.libs.sdwf.control.ListBox.
| smjg.libs.sdwf.control.Control.this | ( | FrameWindow | parent, | |
| int | id, | |||
| string | text, | |||
| string | className = "STATIC" | |||
| ) |
Constructs a control to be used as the client pane of a FrameWindow.
| parent | the frame window in which this control will be framed. | |
| id | numeric ID that the control will have. | |
| text | the control's caption text. | |
| className | the Windows control class to which the control will belong. The default setting is for static text. |
| Font smjg.libs.sdwf.control.Control.font | ( | ) |
| Font smjg.libs.sdwf.control.Control.font | ( | Font | f | ) |
| override void smjg.libs.sdwf.control.Control.create | ( | ) | [virtual] |
Creates the control interface element.
Implements smjg.libs.sdwf.windowbase.WindowBase.
Reimplemented in smjg.libs.sdwf.commoncontrol.TreeView, and smjg.libs.sdwf.statusbar.StatusBar.
| override void smjg.libs.sdwf.control.Control.initListeners | ( | ) | [protected, virtual] |
Implements smjg.libs.sdwf.windowbase.WindowBase.
int smjg.libs.sdwf.control.Control.controlID [protected] |
Rect smjg.libs.sdwf.control.Control._position [protected] |
string smjg.libs.sdwf.control.Control._className [protected] |
Font smjg.libs.sdwf.control.Control._font [protected] |
1.5.4