![]() |
ActionComponents
04.05.00
Customizable UI and time-saving tools for Android development with Xamarin and Visual Studio.
|
The ActionComponents.ACTableItem works with the ActionComponents.ACTableViewController to provide a simple way to present tabular information without have to create a lot of repetitive code. The ActionComponents.ACTableItem will be contained in a ActionComponents.ACTableSection and the resulting information will be displayed in a ActionComponents.ACTableCell More...
Public Member Functions | |
ACTableItem () | |
Initializes a new instance of the ActionComponents.ACTableItem class. More... | |
ACTableItem (string text, bool canSelect) | |
Initializes a new instance of the ActionComponents.ACTableItem class. More... | |
ACTableItem (string text, string details, bool canSelect) | |
Initializes a new instance of the ActionComponents.ACTableItem class. More... | |
ACTableItem (string text, string details, UITableViewCellStyle style, bool canSelect) | |
Initializes a new instance of the ActionComponents.ACTableItem class. More... | |
ACTableItem (string imageFile, string text, string details, bool canSelect) | |
Initializes a new instance of the ActionComponents.ACTableItem class. More... | |
ACTableItem (int imageID, string text, string details, bool canSelect) | |
Initializes a new instance of the ActionComponents.ACTableItem class. More... | |
ACTableItem (bool customImage, string text, string details, bool canSelect) | |
Initializes a new instance of the ActionComponents.ACTableItem class. More... | |
ACTableItem (string imageFile, string text, string details, UITableViewCellStyle style, bool canSelect) | |
Initializes a new instance of the ActionComponents.ACTableItem class. More... | |
ACTableItem (int imageID, string text, string details, UITableViewCellStyle style, bool canSelect) | |
Initializes a new instance of the ActionComponents.ACTableItem class. More... | |
ACTableItem (string imageFile, string text, string details, UITableViewCellStyle style, UITableViewCellAccessory accessory, bool canSelect) | |
Initializes a new instance of the ActionComponents.ACTableItem class. More... | |
ACTableItem (bool customImage, string text, string details, UITableViewCellStyle style, UITableViewCellAccessory accessory, bool canSelect) | |
Initializes a new instance of the ActionComponents.ACTableItem class. More... | |
ACTableItem (ACTableItemImageSource imageSource, string imageFile, string text, string details, UITableViewCellStyle style, UITableViewCellAccessory accessory, bool canSelect) | |
Initializes a new instance of the ActionComponents.ACTableItem class. More... | |
ToggleButton | AddAccessorySwitch (bool value) |
Adds a switch accessory to this ActionComponents.ACTableItem More... | |
ToggleButton | AddAccessorySwitch (bool value, ACTableAccessorySwitchDelegate switchDelegate) |
Adds a switch accessory to this ActionComponents.ACTableItem More... | |
SeekBar | AddAccessoryStepper (int minimumValue, int maximumValue, int stepValue, int value) |
Adds a stepper accessory to this ActionComponents.ACTableItem More... | |
SeekBar | AddAccessoryStepper (int minimumValue, int maximumValue, int stepValue, int value, ACTableAccessorySliderDelegate sliderDelegate) |
Adds a stepper accessory to this ActionComponents.ACTableItem More... | |
SeekBar | AddAccessorySlider (int minimumValue, int maximumValue, int value) |
Adds a slider accessory to this ActionComponents.ACTableItem More... | |
SeekBar | AddAccessorySlider (int minimumValue, int maximumValue, int value, ACTableAccessorySliderDelegate sliderDelegate) |
Adds a slider accessory to this ActionComponents.ACTableItem More... | |
ACImageView | AddAccessoryActionImageView (string filename) |
Adds a Appracatappra.ActionComponents.ActionView.ACImageView accessory to this ActionComponents.ACTableItem More... | |
ACImageView | AddAccessoryActionImageView (int imageID) |
Adds a Appracatappra.ActionComponents.ActionView.ACImageView accessory to this ActionComponents.ACTableItem More... | |
ACImageView | AddAccessoryActionImageView (Bitmap image) |
Adds a Appracatappra.ActionComponents.ActionView.ACImageView accessory to this ActionComponents.ACTableItem More... | |
Button | AddAccessoryButton (int width, string title) |
Adds a button accessory to this ActionComponents.ACTableItem More... | |
Button | AddAccessoryButton (int width, string title, ACTableAccessoryButtonDelegate buttonDelegate) |
Adds a button accessory to this ActionComponents.ACTableItem More... | |
EditText | AddAccessoryTextField (int width, string placeholder, string text) |
Adds an EditText accessory to this ActionComponents.ACTableItem More... | |
EditText | AddAccessoryTextField (int width, string placeholder, string text, ACTableAccessoryTextDelegate textDelegate) |
Adds an EditText accessory to this ActionComponents.ACTableItem More... | |
delegate void | ACTableAccessorySwitchDelegate (bool on) |
Occurrs when this ActionComponents.ACTableItem has an attached UISwitch accessory and the value is changed. More... | |
delegate void | ACTableAccessoryStepperDelegate (int value) |
Occurrs when this ActionComponents.ACTableItem has an attached UIStepper accessory and the value is changed. More... | |
delegate void | ACTableAccessorySliderDelegate (int value) |
Occurrs when this ActionComponents.ACTableItem has an attached UISlider accessory and the value is changed. More... | |
delegate void | ACTableAccessoryButtonDelegate () |
Occurrs when this ActionComponents.ACTableItem has an attached UIButton accessory and the button is tapped. More... | |
delegate void | ACTableAccessoryTextDelegate (string text) |
Occurrs when this ActionComponents.ACTableItem has an attached UITextField accessory and the value is changed. More... | |
delegate void | ACTableItemSelectedDelegate (ACTableItem item) |
Occurs when this ActionComponents.ACTableItem has been selected by the user More... | |
delegate void | ACTableItemValueChangedDelegate (ACTableItem item) |
Occurs when the value for this ActionComponents.ACTableItem have been changed More... | |
delegate Bitmap | ACTableItemRequestCustomImageDelegate (ACTableItem item) |
Occurs when this ActionComponents.ACTableItem needs the caller to draw a custom image More... | |
delegate void | AccessoryButtonTappedDelegate (ACTableItem item) |
Occurs when a ActionComponents.ACTableItem's accessory button is tapped More... | |
Properties | |
object | tag [get, set] |
Gets or sets the [OPTIONAL] object tag that can be attached to this ActionComponents.ACTableItem More... | |
Activity | activity [get, set] |
Gets or sets the activity that this ActionComponents.ACTableItem is attached to More... | |
string | details [get, set] |
Gets or sets the detail text for this ActionComponents.ACTableItem More... | |
string | text [get, set] |
Gets or sets the text for this ActionComponents.ACTableItem More... | |
bool | canSelect [get, set] |
Gets or sets a value indicating whether this ActionComponents.ACTableItem can be selected. More... | |
UITableViewCellStyle | style [get, set] |
Gets or sets the table cell style for this ActionComponents.ACTableItem More... | |
UITableViewCellAccessory | accessory [get, set] |
Gets or sets the table accessory type for this More... | |
ACTableItemImageSource | imageSource [get, set] |
Gets or sets the source of an image displayed for this ActionComponents.ACTableItem More... | |
string | imageFile [get, set] |
Gets or sets the source of an image displayed for this ActionComponents.ACTableItem More... | |
int | imageID [get, set] |
Gets or sets the ID of the image resource displayed for this ActionComponents.ACTableItem More... | |
Bitmap | image [get] |
Gets the image for this ActionComponents.ACTableItem More... | |
View | contentView [get, set] |
Gets or sets the content view associated with this ActionComponents.ACTableItem More... | |
View | accessoryView [get, set] |
Gets or sets the accessory view associated with this ActionComponents.ACTableItem More... | |
object | accessoryValue [get, set] |
Gets or sets the value being modified by the accessoryView attached to this ActionComponents.ACTableItem More... | |
The ActionComponents.ACTableItem works with the ActionComponents.ACTableViewController to provide a simple way to present tabular information without have to create a lot of repetitive code. The ActionComponents.ACTableItem will be contained in a ActionComponents.ACTableSection and the resulting information will be displayed in a ActionComponents.ACTableCell
Several methods are available to quickly build up an item and add accessories such as toggle buttons, edit fields, and sliders. An effort has been made to maintain code compatibility with the iOS version of ActionTable so that as much code as possibly can be reused across platforms. Available in ActionPack Business or Enterprise only.
ActionComponents.ACTableItem.ACTableItem | ( | ) |
Initializes a new instance of the ActionComponents.ACTableItem class.
ActionComponents.ACTableItem.ACTableItem | ( | string | text, |
bool | canSelect | ||
) |
Initializes a new instance of the ActionComponents.ACTableItem class.
text | Text. |
canSelect | If set to true can select. |
ActionComponents.ACTableItem.ACTableItem | ( | string | text, |
string | details, | ||
bool | canSelect | ||
) |
Initializes a new instance of the ActionComponents.ACTableItem class.
text | Text. |
details | Details. |
canSelect | If set to true can select. |
ActionComponents.ACTableItem.ACTableItem | ( | string | text, |
string | details, | ||
UITableViewCellStyle | style, | ||
bool | canSelect | ||
) |
Initializes a new instance of the ActionComponents.ACTableItem class.
text | Text. |
details | Details. |
style | Style. |
canSelect | If set to true can select. |
ActionComponents.ACTableItem.ACTableItem | ( | string | imageFile, |
string | text, | ||
string | details, | ||
bool | canSelect | ||
) |
Initializes a new instance of the ActionComponents.ACTableItem class.
imageFile | Image file. |
text | Text. |
details | Details. |
canSelect | If set to true can select. |
ActionComponents.ACTableItem.ACTableItem | ( | int | imageID, |
string | text, | ||
string | details, | ||
bool | canSelect | ||
) |
Initializes a new instance of the ActionComponents.ACTableItem class.
imageID | Image ID. |
text | Text. |
details | Details. |
canSelect | If set to true can select. |
ActionComponents.ACTableItem.ACTableItem | ( | bool | customImage, |
string | text, | ||
string | details, | ||
bool | canSelect | ||
) |
Initializes a new instance of the ActionComponents.ACTableItem class.
customImage | If set to true custom image. |
text | Text. |
details | Details. |
canSelect | If set to true can select. |
ActionComponents.ACTableItem.ACTableItem | ( | string | imageFile, |
string | text, | ||
string | details, | ||
UITableViewCellStyle | style, | ||
bool | canSelect | ||
) |
Initializes a new instance of the ActionComponents.ACTableItem class.
imageFile | Image file. |
text | Text. |
details | Details. |
style | Style. |
canSelect | If set to true can select. |
ActionComponents.ACTableItem.ACTableItem | ( | int | imageID, |
string | text, | ||
string | details, | ||
UITableViewCellStyle | style, | ||
bool | canSelect | ||
) |
Initializes a new instance of the ActionComponents.ACTableItem class.
imageID | Image I. |
text | Text. |
details | Details. |
style | Style. |
canSelect | If set to true can select. |
ActionComponents.ACTableItem.ACTableItem | ( | string | imageFile, |
string | text, | ||
string | details, | ||
UITableViewCellStyle | style, | ||
UITableViewCellAccessory | accessory, | ||
bool | canSelect | ||
) |
Initializes a new instance of the ActionComponents.ACTableItem class.
imageFile | Image file. |
text | Text. |
details | Details. |
style | Style. |
accessory | Accessory. |
canSelect | If set to true can select. |
ActionComponents.ACTableItem.ACTableItem | ( | bool | customImage, |
string | text, | ||
string | details, | ||
UITableViewCellStyle | style, | ||
UITableViewCellAccessory | accessory, | ||
bool | canSelect | ||
) |
Initializes a new instance of the ActionComponents.ACTableItem class.
customImage | If set to true custom image. |
text | Text. |
details | Details. |
style | Style. |
accessory | Accessory. |
canSelect | If set to true can select. |
ActionComponents.ACTableItem.ACTableItem | ( | ACTableItemImageSource | imageSource, |
string | imageFile, | ||
string | text, | ||
string | details, | ||
UITableViewCellStyle | style, | ||
UITableViewCellAccessory | accessory, | ||
bool | canSelect | ||
) |
Initializes a new instance of the ActionComponents.ACTableItem class.
imageSource | Image source. |
imageFile | Image file. |
text | Text. |
details | Details. |
style | Style. |
accessory | Accessory. |
canSelect | If set to true can select. |
delegate void ActionComponents.ACTableItem.AccessoryButtonTappedDelegate | ( | ACTableItem | item | ) |
Occurs when a ActionComponents.ACTableItem's accessory button is tapped
delegate void ActionComponents.ACTableItem.ACTableAccessoryButtonDelegate | ( | ) |
Occurrs when this ActionComponents.ACTableItem has an attached UIButton
accessory and the button is tapped.
delegate void ActionComponents.ACTableItem.ACTableAccessorySliderDelegate | ( | int | value | ) |
Occurrs when this ActionComponents.ACTableItem has an attached UISlider
accessory and the value is changed.
delegate void ActionComponents.ACTableItem.ACTableAccessoryStepperDelegate | ( | int | value | ) |
Occurrs when this ActionComponents.ACTableItem has an attached UIStepper
accessory and the value is changed.
delegate void ActionComponents.ACTableItem.ACTableAccessorySwitchDelegate | ( | bool | on | ) |
Occurrs when this ActionComponents.ACTableItem has an attached UISwitch
accessory and the value is changed.
delegate void ActionComponents.ACTableItem.ACTableAccessoryTextDelegate | ( | string | text | ) |
Occurrs when this ActionComponents.ACTableItem has an attached UITextField
accessory and the value is changed.
delegate Bitmap ActionComponents.ACTableItem.ACTableItemRequestCustomImageDelegate | ( | ACTableItem | item | ) |
Occurs when this ActionComponents.ACTableItem needs the caller to draw a custom image
This event will be raised based on the state of the imageSource
property
delegate void ActionComponents.ACTableItem.ACTableItemSelectedDelegate | ( | ACTableItem | item | ) |
Occurs when this ActionComponents.ACTableItem has been selected by the user
delegate void ActionComponents.ACTableItem.ACTableItemValueChangedDelegate | ( | ACTableItem | item | ) |
Occurs when the value for this ActionComponents.ACTableItem have been changed
ACImageView ActionComponents.ACTableItem.AddAccessoryActionImageView | ( | string | filename | ) |
Adds a Appracatappra.ActionComponents.ActionView.ACImageView accessory to this ActionComponents.ACTableItem
filename | Filename. |
ACImageView ActionComponents.ACTableItem.AddAccessoryActionImageView | ( | int | imageID | ) |
Adds a Appracatappra.ActionComponents.ActionView.ACImageView accessory to this ActionComponents.ACTableItem
imageID | Image ID. |
ACImageView ActionComponents.ACTableItem.AddAccessoryActionImageView | ( | Bitmap | image | ) |
Adds a Appracatappra.ActionComponents.ActionView.ACImageView accessory to this ActionComponents.ACTableItem
image | Image. |
Button ActionComponents.ACTableItem.AddAccessoryButton | ( | int | width, |
string | title | ||
) |
Adds a button accessory to this ActionComponents.ACTableItem
width | Width. |
title | Title. |
Button ActionComponents.ACTableItem.AddAccessoryButton | ( | int | width, |
string | title, | ||
ACTableAccessoryButtonDelegate | buttonDelegate | ||
) |
Adds a button accessory to this ActionComponents.ACTableItem
width | Width. |
title | Title. |
buttonDelegate | Button delegate. |
SeekBar ActionComponents.ACTableItem.AddAccessorySlider | ( | int | minimumValue, |
int | maximumValue, | ||
int | value | ||
) |
Adds a slider accessory to this ActionComponents.ACTableItem
minimumValue | Minimum value. |
maximumValue | Maximum value. |
value | Value. |
SeekBar ActionComponents.ACTableItem.AddAccessorySlider | ( | int | minimumValue, |
int | maximumValue, | ||
int | value, | ||
ACTableAccessorySliderDelegate | sliderDelegate | ||
) |
Adds a slider accessory to this ActionComponents.ACTableItem
minimumValue | Minimum value. |
maximumValue | Maximum value. |
value | Value. |
sliderDelegate | Slider delegate. |
SeekBar ActionComponents.ACTableItem.AddAccessoryStepper | ( | int | minimumValue, |
int | maximumValue, | ||
int | stepValue, | ||
int | value | ||
) |
Adds a stepper accessory to this ActionComponents.ACTableItem
minimumValue | Minimum value. |
maximumValue | Maximum value. |
stepValue | Step value. |
value | Value. |
Since Android doesn't have a compariable component to the iOS Stepper
, this is currently mapped to a SeekBar
. While still provided the setpValue
is currently ignored.
SeekBar ActionComponents.ACTableItem.AddAccessoryStepper | ( | int | minimumValue, |
int | maximumValue, | ||
int | stepValue, | ||
int | value, | ||
ACTableAccessorySliderDelegate | sliderDelegate | ||
) |
Adds a stepper accessory to this ActionComponents.ACTableItem
minimumValue | Minimum value. |
maximumValue | Maximum value. |
stepValue | Step value. |
value | Value. |
Since Android doesn't have a compariable component to the iOS Stepper
, this is currently mapped to a SeekBar
. While still provided the setpValue
is currently ignored.
ToggleButton ActionComponents.ACTableItem.AddAccessorySwitch | ( | bool | value | ) |
Adds a switch accessory to this ActionComponents.ACTableItem
value | The value that will be adjusted by the switch |
ToggleButton ActionComponents.ACTableItem.AddAccessorySwitch | ( | bool | value, |
ACTableAccessorySwitchDelegate | switchDelegate | ||
) |
Adds a switch accessory to this ActionComponents.ACTableItem
value | If set to true value. |
switchDelegate | Switch delegate. |
EditText ActionComponents.ACTableItem.AddAccessoryTextField | ( | int | width, |
string | placeholder, | ||
string | text | ||
) |
Adds an EditText
accessory to this ActionComponents.ACTableItem
width | Width. |
placeholder | Placeholder. |
text | Text. |
EditText ActionComponents.ACTableItem.AddAccessoryTextField | ( | int | width, |
string | placeholder, | ||
string | text, | ||
ACTableAccessoryTextDelegate | textDelegate | ||
) |
Adds an EditText
accessory to this ActionComponents.ACTableItem
width | Width. |
placeholder | Placeholder. |
text | Text. |
textDelegate | Text delegate. |
|
getset |
Gets or sets the table accessory type for this
The accessory.
The CellAccessory was designed to maintain compatibility with the iOS version of ActionTable
|
getset |
Gets or sets the value being modified by the accessoryView attached to this ActionComponents.ACTableItem
The accessory value.
|
getset |
Gets or sets the accessory view associated with this ActionComponents.ACTableItem
The accessory view.
|
getset |
Gets or sets the activity that this ActionComponents.ACTableItem is attached to
The activity.
|
getset |
Gets or sets a value indicating whether this ActionComponents.ACTableItem can be selected.
true
if this instance can select; otherwise, false
.
|
getset |
Gets or sets the content view associated with this ActionComponents.ACTableItem
The content view.
This property is not currently used but here as a placeholder for future expansion
|
getset |
Gets or sets the detail text for this ActionComponents.ACTableItem
The detail text.
|
get |
Gets the image for this ActionComponents.ACTableItem
The image.
This property will be used based on the value of the imageSource
property
|
getset |
Gets or sets the source of an image displayed for this ActionComponents.ACTableItem
The image file.
This property will be used based on the value of the imageSource
property
|
getset |
Gets or sets the ID of the image resource displayed for this ActionComponents.ACTableItem
The image ID
|
getset |
Gets or sets the source of an image displayed for this ActionComponents.ACTableItem
The image source.
|
getset |
Gets or sets the table cell style for this ActionComponents.ACTableItem
The style.
The style was designed to maintain compatibility with the iOS version of ActionTable
|
getset |
Gets or sets the [OPTIONAL] object tag that can be attached to this ActionComponents.ACTableItem
The tag.
|
getset |
Gets or sets the text for this ActionComponents.ACTableItem
The text.
AccessoryButtonTappedDelegate ActionComponents.ACTableItem.AccessoryButtonTapped |
ACTableItemSelectedDelegate ActionComponents.ACTableItem.ItemsSelected |
ACTableItemValueChangedDelegate ActionComponents.ACTableItem.ItemValueChanged |
ACTableItemRequestCustomImageDelegate ActionComponents.ACTableItem.RequestCustomImage |