Android Programming Press on the image to return to the main documentation page.

dgPickers

Written by UDG

List of types:

cl_dgpickers

cl_dgpickers


This is an 'Activity Object', it cannot be declared under Sub Process_Globals.

Events:

None

Members:


  ChosenValue As Int [read only]

  Class_Globals As String

  getChosenValue As Int

  getIsValueSet As Boolean

  getLastPickerType As Byte

  Initialize (CallbackModule As Object, EventName As String) As String

  IsInitialized As Boolean

  IsValueSet As Boolean [read only]

  LastPickerType As Byte [read only]

  pck_DIR_BOTTOM As Byte

  pck_DIR_LEFT As Byte

  pck_DIR_RIGHT As Byte

  pck_DIR_TOP As Byte

  pck_TYP_COLOR As Byte

  pck_TYP_IMG As Byte

  pck_TYP_NONE As Byte

  pck_TYP_THICK As Byte

  setAnchorView (ActivityView As ConcreteViewWrapper, Side As Byte) As String

  setImgArray (aImgArray() As BitmapWrapper) As String

  setIntArray (aIntArray() As Int) As String

  setPickerProperties (CallingAct As ActivityWrapper, aPickerType As Byte, BkgColor As Int) As String

  setTileProperties (Hdim As Int, Vdim As Int, TPadding As Int) As String

  setVerbose (VerboseMode As Boolean) As String

  ShowPicker As String

  Verbose As Boolean [write only]

Members description:

ChosenValue As Int [read only]
Returns picked value
Class_Globals As String
Version: 0.20
Aurthor: UDG
Last Modified: 07.12.2014
Location: Di Gioia Consulting - Lugano (CH)
getChosenValue As Int
Returns picked value
getIsValueSet As Boolean
Returns True if user choosed a value from picker
getLastPickerType As Byte
Returns last used picker type
Initialize (CallbackModule As Object, EventName As String) As String
Initializes the object. You can add parameters to this method if needed.
IsInitialized As Boolean
Tests whether the object has been initialized.
IsValueSet As Boolean [read only]
Returns True if user choosed a value from picker
LastPickerType As Byte [read only]
Returns last used picker type
pck_DIR_BOTTOM As Byte
pck_DIR_LEFT As Byte
pck_DIR_RIGHT As Byte
pck_DIR_TOP As Byte
pck_TYP_COLOR As Byte
pck_TYP_IMG As Byte
pck_TYP_NONE As Byte
pck_TYP_THICK As Byte
setAnchorView (ActivityView As ConcreteViewWrapper, Side As Byte) As String
Set the activity view to which the picker has to anchor
ActivityView - activity view to which anchor the picker
Side - ActivityView's side to which anchor the picker
setImgArray (aImgArray() As BitmapWrapper) As String
Init internal array to manage an array of Bitmaps
aImgArray - an array containing bitmap elements
setIntArray (aIntArray() As Int) As String
Init internal array to manage an array of Integers
aIntArray - an array containing integer values
setPickerProperties (CallingAct As ActivityWrapper, aPickerType As Byte, BkgColor As Int) As String
Sets properties of current picker
CallingAct - Activity object whose layout will be superimposed with picker panel
aPickerType - desidered picker type (must be type compatible with IntArray)
BkgColor = picker's background color (visible if tile property TPadding >0)
setTileProperties (Hdim As Int, Vdim As Int, TPadding As Int) As String
Sets properties for each tile on the picker
Hdim - horizontal dimension expressed in dip units
Vdim - horizontal dimension expressed in dip units
TPadding - padding between tiles borders and picker's ones; expressed in dip units.
setVerbose (VerboseMode As Boolean) As String
Sets verbosity of logs
ShowPicker As String
Superimposes a picker panel on the calling Activity.
Verbose As Boolean [write only]
Sets verbosity of logs
Top