ActionComponents  04.05.00
Customizable UI and time-saving tools for Android development with Xamarin and Visual Studio.
ActionComponents.ACTableViewController Class Reference

The ActionComponents.ACTableViewController is a type of custom ListView that has several helper routines to make working with simple lists easier and requiring fewer lines of code. The ActionTable has been designed to be highly code compatible with the iOS version so that a maximum of code can be shared between the two platforms. The ActionComponents.ACTableViewController contains a ActionComponents.ACTableViewDataSource with a collection of ActionComponents.ACTableSections and ActionComponents.ACTableItems that provide the data for the list. More...

Inheritance diagram for ActionComponents.ACTableViewController:
Collaboration diagram for ActionComponents.ACTableViewController:

Public Member Functions

 ACTableViewController (Context context)
 Initializes a new instance of the Appracatappra.ActionComponents.ActionView.ACView class. More...
 
 ACTableViewController (Context context, IAttributeSet attr)
 Initializes a new instance of the Appracatappra.ActionComponents.ActionView.ACView class. More...
 
 ACTableViewController (IntPtr javaReference, JniHandleOwnership transfer)
 Initializes a new instance of the Appracatappra.ActionComponents.ActionView.ACView class. More...
 
 ACTableViewController (Context context, IAttributeSet attr, int defStyle)
 Initializes a new instance of the Appracatappra.ActionComponents.ActionView.ACView class. More...
 
void LoadData ()
 Causes this ActionComponents.ACTableViewController to populate it's TableView with data from the attached ActionComponents.ACTableViewDataSource More...
 
void RefreshView ()
 Causes this ActionComponents.ACTableViewController to redisplay all of the rows it controls More...
 
void ClearSelection ()
 Clears the selected ActionComponents.ACTableItem from this ActionComponents.ACTableViewController More...
 
void SelectItem (int sectionPosition, int itemPosition)
 Selects the given ActionComponents.ACTableItem from the given ActionComponents.ACTableSection More...
 
void SelectItem (string text)
 Selects the ActionComponents.ACTableItem with a text property that matches the given value More...
 
override bool OnTouchEvent (MotionEvent e)
 Raises the touch event event. More...
 
delegate void ACTableItemSelectedDelegate (ACTableItem item)
 Occurs when this ActionComponents.ACTableItem has been selected by the user 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] tag that can be assosciated with this ActionComponents.ACTableViewController More...
 
ACTableItem selectedItem [get]
 Gets the selected ActionComponents.ACTableItem or returns null if nothing is selected More...
 
bool allowsTouchHeader [get, set]
 Gets or sets a value indicating whether this ActionComponents.ACTableViewController allows touching a row header. More...
 
bool allowsTouchFooter [get, set]
 Gets or sets a value indicating whether this ActionComponents.ACTableViewController allows touching a row footer. More...
 
bool allowsHighlight [get, set]
 Gets or sets a value indicating whether this ActionComponents.ACTableViewController allows highlighting of rows in the contained UITableView More...
 
bool allowsSelection [get, set]
 Gets or sets a value indicating whether this ActionComponents.ACTableViewController allows selection of rows in the contained UITableView More...
 
ACTableViewDataSource dataSource [get, set]
 Gets or sets the ActionComponents.ACTableViewDataSource for this ActionComponents.ACTableViewController More...
 
Activity activity [get, set]
 Gets or sets the activity. More...
 
ACTableViewAppearance appearance [get, set]
 Gets or sets the ActionComponents.ACTableViewAppearance for the items in the ListView controlled by this ActionComponents.ACTableViewController More...
 
int LeftMargin [get, set]
 Gets or sets the left margin. More...
 
int TopMargin [get, set]
 Gets or sets the top margin. More...
 
int RightMargin [get, set]
 Gets or sets the right margin. More...
 
int BottomMargin [get, set]
 Gets or sets the bottom margin. More...
 
int LayoutWidth [get, set]
 Gets or sets the width of the layout. More...
 
int LayoutHeight [get, set]
 Gets or sets the height of the layout. More...
 

Events

ACTableItemSelectedDelegate ItemsSelected
 
AccessoryButtonTappedDelegate AccessoryButtonTapped
 

Detailed Description

The ActionComponents.ACTableViewController is a type of custom ListView that has several helper routines to make working with simple lists easier and requiring fewer lines of code. The ActionTable has been designed to be highly code compatible with the iOS version so that a maximum of code can be shared between the two platforms. The ActionComponents.ACTableViewController contains a ActionComponents.ACTableViewDataSource with a collection of ActionComponents.ACTableSections and ActionComponents.ACTableItems that provide the data for the list.

Available in ActionPack Business or Enterprise only.

Constructor & Destructor Documentation

ActionComponents.ACTableViewController.ACTableViewController ( Context  context)

Initializes a new instance of the Appracatappra.ActionComponents.ActionView.ACView class.

Parameters
contextContext.
ActionComponents.ACTableViewController.ACTableViewController ( Context  context,
IAttributeSet  attr 
)

Initializes a new instance of the Appracatappra.ActionComponents.ActionView.ACView class.

Parameters
contextContext.
attrAttr.
ActionComponents.ACTableViewController.ACTableViewController ( IntPtr  javaReference,
JniHandleOwnership  transfer 
)

Initializes a new instance of the Appracatappra.ActionComponents.ActionView.ACView class.

Parameters
javaReferenceJava reference.
transferTransfer.
ActionComponents.ACTableViewController.ACTableViewController ( Context  context,
IAttributeSet  attr,
int  defStyle 
)

Initializes a new instance of the Appracatappra.ActionComponents.ActionView.ACView class.

Parameters
contextContext.
attrAttr.
defStyleDef style.

Here is the call graph for this function:

Member Function Documentation

delegate void ActionComponents.ACTableViewController.AccessoryButtonTappedDelegate ( ACTableItem  item)

Occurs when a ActionComponents.ACTableItem's accessory button is tapped

delegate void ActionComponents.ACTableViewController.ACTableItemSelectedDelegate ( ACTableItem  item)

Occurs when this ActionComponents.ACTableItem has been selected by the user

Here is the caller graph for this function:

void ActionComponents.ACTableViewController.ClearSelection ( )
void ActionComponents.ACTableViewController.LoadData ( )

Causes this ActionComponents.ACTableViewController to populate it's TableView with data from the attached ActionComponents.ACTableViewDataSource

Here is the call graph for this function:

override bool ActionComponents.ACTableViewController.OnTouchEvent ( MotionEvent  e)

Raises the touch event event.

Parameters
eE.

Here is the call graph for this function:

void ActionComponents.ACTableViewController.RefreshView ( )

Causes this ActionComponents.ACTableViewController to redisplay all of the rows it controls

Here is the call graph for this function:

Here is the caller graph for this function:

void ActionComponents.ACTableViewController.SelectItem ( int  sectionPosition,
int  itemPosition 
)

Selects the given ActionComponents.ACTableItem from the given ActionComponents.ACTableSection

Parameters
sectionPositionSection position.
itemPositionItem position.
void ActionComponents.ACTableViewController.SelectItem ( string  text)

Selects the ActionComponents.ACTableItem with a text property that matches the given value

Parameters
textText.

Nothing will be selected in the text cannot be found

Property Documentation

Activity ActionComponents.ACTableViewController.activity
getset

Gets or sets the activity.

The activity.

bool ActionComponents.ACTableViewController.allowsHighlight
getset

Gets or sets a value indicating whether this ActionComponents.ACTableViewController allows highlighting of rows in the contained UITableView

true if allows highlight; otherwise, false.

bool ActionComponents.ACTableViewController.allowsSelection
getset

Gets or sets a value indicating whether this ActionComponents.ACTableViewController allows selection of rows in the contained UITableView

true if allows selection; otherwise, false.

bool ActionComponents.ACTableViewController.allowsTouchFooter
getset

Gets or sets a value indicating whether this ActionComponents.ACTableViewController allows touching a row footer.

true if allows touch footer; otherwise, false.

bool ActionComponents.ACTableViewController.allowsTouchHeader
getset

Gets or sets a value indicating whether this ActionComponents.ACTableViewController allows touching a row header.

true if allows touch header; otherwise, false.

ACTableViewAppearance ActionComponents.ACTableViewController.appearance
getset

Gets or sets the ActionComponents.ACTableViewAppearance for the items in the ListView controlled by this ActionComponents.ACTableViewController

The appearance.

int ActionComponents.ACTableViewController.BottomMargin
getset

Gets or sets the bottom margin.

The bottom margin.

ACTableViewDataSource ActionComponents.ACTableViewController.dataSource
getset
int ActionComponents.ACTableViewController.LayoutHeight
getset

Gets or sets the height of the layout.

The height of the layout.

int ActionComponents.ACTableViewController.LayoutWidth
getset

Gets or sets the width of the layout.

The width of the layout.

int ActionComponents.ACTableViewController.LeftMargin
getset

Gets or sets the left margin.

The left margin.

int ActionComponents.ACTableViewController.RightMargin
getset

Gets or sets the right margin.

The right margin.

ACTableItem ActionComponents.ACTableViewController.selectedItem
get

Gets the selected ActionComponents.ACTableItem or returns null if nothing is selected

The selected item.

Object ActionComponents.ACTableViewController.tag
getset

Gets or sets the [OPTIONAL] tag that can be assosciated with this ActionComponents.ACTableViewController

The tag.

int ActionComponents.ACTableViewController.TopMargin
getset

Gets or sets the top margin.

The top margin.

Event Documentation

AccessoryButtonTappedDelegate ActionComponents.ACTableViewController.AccessoryButtonTapped
ACTableItemSelectedDelegate ActionComponents.ACTableViewController.ItemsSelected