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

SLDialogs

Written by Steve Laming

List of types:

ChoiceDialog

ChoiceDialog


Events:

None

Members:


  Class_Globals As String

  ContentText As String [write only]

  Create As String

  Create2 (DefaultChoice As Object, Choices As List) As String

  DefaultChoice As JavaObject [read only]

  getDefaultChoice As JavaObject

  getItems As List

  getObject As Object

  GetObjectJO As JavaObject

  getSelectedItem As Object

  GetTag As Object

  Graphic As ConcreteNodeWrapper [write only]

  HeaderText As String [write only]

  Initialize As String

  IsInitialized As Boolean

  Items As List [read only]

  ResultConverter_Event (MethodName As String, Args() As Object) As Object

  SelectedItem As Object

  setContentText (ContentText As String) As String

  setGraphic (Graphic As ConcreteNodeWrapper) As String

  setHeaderText (HeaderText As String) As String

  SetObject (Obj As Object) As String

  setSelectedItem (Item As Object) As String

  SetTag (Tag As Object) As String

  setTitle (Title As String) As String

  ShowAndWait As Object

  Title As String [write only]

Members description:

Class_Globals As String
Class Module
ContentText As String [write only]
Sets the string to show in the dialog content area.
Create As String
Creates a default, empty instance of ChoiceDialog with no set items and a null default choice.
Create2 (DefaultChoice As Object, Choices As List) As String
Creates a new ChoiceDialog instance with the first argument specifying the default choice that should be shown to the user, and the second argument specifying a collection of all available choices for the user.
DefaultChoice As JavaObject [read only]
Returns the default choice that was specified in the constructor.
getDefaultChoice As JavaObject
Returns the default choice that was specified in the constructor.
getItems As List
Returns the list of all items that will be displayed to users.
getObject As Object
Get the unwrapped object
GetObjectJO As JavaObject
Get the unwrapped object As a JavaObject
getSelectedItem As Object
Returns the currently selected item in the dialog.
GetTag As Object
Get the Tag for this object
Graphic As ConcreteNodeWrapper [write only]
Sets the dialog graphic, which will be displayed either in the header, if one is showing, or to the left of the content.
HeaderText As String [write only]
Sets the string to show in the dialog header area.
Initialize As String
Initializes the object. You can add parameters to this method if needed.
IsInitialized As Boolean
Tests whether the object has been initialized.
Items As List [read only]
Returns the list of all items that will be displayed to users.
ResultConverter_Event (MethodName As String, Args() As Object) As Object
SelectedItem As Object
Returns the currently selected item in the dialog.
setContentText (ContentText As String) As String
Sets the string to show in the dialog content area.
setGraphic (Graphic As ConcreteNodeWrapper) As String
Sets the dialog graphic, which will be displayed either in the header, if one is showing, or to the left of the content.
setHeaderText (HeaderText As String) As String
Sets the string to show in the dialog header area.
SetObject (Obj As Object) As String
Set the underlying Object, must be of correct type
setSelectedItem (Item As Object) As String
Sets the currently selected item in the dialog.
SetTag (Tag As Object) As String
Set the Tag for this object
setTitle (Title As String) As String
Change the Title of the dialog.
ShowAndWait As Object
Title As String [write only]
Change the Title of the dialog.

Top