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

jButton

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

Declaration

Source position: Laz_And_Controls.pas line 1443

type jButton = class(jVisualControl)

protected

  procedure GenEvent_OnClick();

  

  procedure GenEvent_OnBeforeDispatchDraw();

  

  procedure GenEvent_OnAfterDispatchDraw();

  

  function GetText; override;

  

  procedure SetText(); override;

  

  procedure SetEnabled(); override;

  

public

  constructor Create(); override;

  

  destructor Destroy; override;

  

  procedure Init; override;

  

  procedure Refresh;

  

  procedure UpdateLayout; override;

  

  function GetWidth; override;

  

  function GetHeight; override;

  

  procedure SetFontSizeUnit();

  

  procedure PerformClick;

  

  procedure PerformLongClick;

  

  procedure SetBackgroundByResIdentifier();

  

  procedure SetBackgroundByImage();

  

  procedure SetCompoundDrawables();

  

  procedure SetRoundCorner;

  

  procedure SetRadiusRoundCorner();

  

  procedure SetFontFromAssets();

  

  procedure ClearLayout;

  

  procedure SetLGravity();

  

  procedure SetLWeight();

  

  procedure SetViewParent(); override;

  

  procedure RemoveFromViewParent; override;

  

  procedure ResetViewParent; override;

  

  procedure SetFocus;

  

  procedure BringToFront;

  

  procedure ApplyDrawableXML();

  

  procedure Append();

  

published

  property Text: string; [rw]

  

  property BackgroundColor: TARGBColorBridge; [rw]

  

  property FontColor: TARGBColorBridge; [rw]

  

  property FontSize: DWord; [rw]

  

  property FontSizeUnit: TFontSizeUnit; [rw]

  

  property Enabled: Boolean; [rw]

  

  property GravityInParent: TLayoutGravity; [rw]

  

  property AllCaps: Boolean; [rw]

  

  property OnClick: TOnNotify; [rw]

  

  property OnBeforeDispatchDraw: TOnBeforeDispatchDraw; [rw]

  

  property OnAfterDispatchDraw: TOnBeforeDispatchDraw; [rw]

  

end;

Inheritance

jButton

  

|

jVisualControl

  

|

TAndroidWidget

  

|

jControl

  

|

TObject



CT Web help

CodeTyphon Studio