Unit 'switchbutton' Package
[Overview][Classes][Procedures and functions][Index] [#pw_androidwizard]

jSwitchButton

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Declaration

Source position: switchbutton.pas line 18

type jSwitchButton = class(jVisualControl)

public

  constructor Create(); override;

  

  destructor Destroy; override;

  

  procedure Init; override;

  

  procedure Refresh;

  

  procedure UpdateLayout; override;

  

  procedure GenEvent_OnChangeSwitchButton();

  

  function jCreate;

  

  procedure jFree;

  

  procedure SetViewParent(); override;

  

  procedure RemoveFromViewParent; override;

  

  function GetView; override;

  

  procedure SetLParamWidth();

  

  procedure SetLParamHeight();

  

  procedure SetLeftTopRightBottomWidthHeight();

  

  procedure AddLParamsAnchorRule();

  

  procedure AddLParamsParentRule();

  

  procedure SetLayoutAll();

  

  procedure ClearLayout;

  

  procedure SetTextOff();

  

  procedure SetTextOn();

  

  procedure SetChecked();

  

  procedure DispatchOnToggleEvent();

  

  procedure Toggle;

  

  procedure SetThumbIcon();

  

  procedure SetSwitchState();

  

  function IsChecked;

  

  procedure SetLGravity();

  

published

  property BackgroundColor: TARGBColorBridge; [rw]

  

  property TextOff: string; [rw]

  

  property TextOn: string; [rw]

  

  property State: TToggleState; [rw]

  

  property GravityInParent: TLayoutGravity; [rw]

  

  property OnToggle: TOnClickToggleButton; [rw]

  

end;

Inheritance

jSwitchButton

  

|

jVisualControl

  

|

TAndroidWidget

  

|

jControl

  

|

TObject



CT Web help

CodeTyphon Studio