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

jSpinner

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

Declaration

Source position: spinner.pas line 19

type jSpinner = class(jVisualControl)

public

  constructor Create(); override;

  

  destructor Destroy; override;

  

  procedure Init; override;

  

  procedure Refresh;

  

  procedure ClearLayout;

  

  procedure UpdateLayout; override;

  

  procedure SetViewParent(); override;

  

  function GetViewParent; override;

  

  procedure SetLParamWidth();

  

  procedure SetLParamHeight();

  

  procedure SetLeftTopRightBottomWidthHeight();

  

  procedure AddLParamsAnchorRule();

  

  procedure AddLParamsParentRule();

  

  procedure SetLayoutAll();

  

  function GetSelectedItemPosition;

  

  function GetSelectedItem;

  

  procedure Add();

  

  procedure Clear;

  

  procedure SetSelectedTextColor();

  

  procedure SetDropListTextColor();

  

  procedure SetDropListBackgroundColor();

  

  procedure SetLastItemAsPrompt();

  

  function GetSize;

  

  procedure Delete();

  

  procedure SetSelection();

  

  procedure SetItem();

  

  function GetItems();

  

  procedure SetFontSize();

  

  procedure SetFontSizeUnit();

  

  procedure SetTextAlignment();

  

  procedure SetFont();

  

  function GetText; override;

  

  procedure SetText(); overload;

  

  procedure SetSelectedIndex();

  

  function GetSelectedIndex;

  

  function GetItemTagString();

  

  procedure SetItemTagString();

  

  procedure SetSelectedPaddingTop();

  

  procedure SetSelectedPaddingBottom();

  

  procedure SetLGravity();

  

  procedure SetColorFilter();

  

  procedure GenEvent_OnSpinnerItemSelected();

  

  property ViewParent: jobject; [rw]

  

  property Count: Integer; [r]

  

  property Text: string; [r]

  

published

  property Items: TStrings; [rw]

  

  property Visible: Boolean; [rw]

  

  property BackgroundColor: TARGBColorBridge; [rw]

  

  property SelectedFontColor: TARGBColorBridge; [rw]

  

  property DropListTextColor: TARGBColorBridge; [rw]

  

  property DropListBackgroundColor: TARGBColorBridge; [rw]

  

  property LastItemAsPrompt: Boolean; [rw]

  

  property FontSize: Dword; [rw]

  

  property FontSizeUnit: TFontSizeUnit; [rw]

  

  property Alignment: TTextAlignment; [rw]

  

  property FontFace: TFontFace; [rw]

  

  property TextTypeFace: TTextTypeFace; [rw]

  

  property SelectedIndex: Integer; [rw]

  

  property GravityInParent: TLayoutGravity; [rw]

  

  property SelectedPaddingTop: Integer; [rw]

  

  property SelectedPaddingBottom: Integer; [rw]

  

  property OnItemSelected: TOnItemSelected; [rw]

  

end;

Inheritance

jSpinner

  

|

jVisualControl

  

|

TAndroidWidget

  

|

jControl

  

|

TObject



CT Web help

CodeTyphon Studio