![]() |
ActionComponents
04.05.00
Customizable UI and time-saving tools for Android development with Xamarin and Visual Studio.
|
Creates, maintains and controls a scrollable collection of ACTile
object that can be organized into ACTileGroups
. Provides routines to automatically "live update" the contents or styling of the tiles and routines to handle user interaction with the tile selection.
More...
Public Member Functions | |
ACTileController () | |
Initializes a new instance of the T:ActionComponents.ACTileController class. More... | |
ACTileController (CGRect rect) | |
Initializes a new instance of the T:ActionComponents.ACTileController class. More... | |
ACTileController (Context context) | |
Initializes a new instance of the T:ActionComponents.ACTileController class. More... | |
ACTileController (Context context, IAttributeSet attr) | |
Initializes a new instance of the T:ActionComponents.ACTileController class. More... | |
ACTileController (IntPtr javaReference, JniHandleOwnership transfer) | |
Initializes a new instance of the T:ActionComponents.ACTileController class. More... | |
ACTileController (Context context, IAttributeSet attr, int defStyle) | |
Initializes a new instance of the T:ActionComponents.ACTileController class. More... | |
ACTileGroup | AddGroup (ACTileGroupType groupType, string title, string footer) |
Adds a new group to the tile controller with the given properties. More... | |
void | AddGroup (ACTileGroup group) |
Adds a new group to the tile controller with the given properties. More... | |
void | RemoveGroupAt (int index) |
Removes the ACTilegGroup at index. More... | |
void | ClearGroups () |
Removes all ACTileGroup s More... | |
void | Redraw () |
Redraw this instance. More... | |
void | MoveToPoint (float x, float y) |
Moves this ACTile to the given point and honors any ACTileDragConstraint s applied to the X or Y axis More... | |
void | MoveToPoint (CGPoint pt) |
Moves this ACTile to the given point and honors any ACTileDragConstraint s applied to the X or Y axis More... | |
void | Resize (float width, float height) |
Resize this ACTile to the specified width and height. More... | |
bool | PointInside (nfloat x, nfloat y) |
Tests to see if the given x and y coordinates are inside this ACTile More... | |
bool | PointInside (CGPoint pt) |
Test to see if the given point is inside this ACTile More... | |
override void | LayoutSubviews () |
Layouts the subviews. More... | |
override void | TouchesBegan (NSSet touches, UIEvent evt) |
Sent when one or more fingers touches the screen. More... | |
override void | TouchesMoved (NSSet touches, UIEvent evt) |
Sent when the ACTile is being dragged More... | |
override void | TouchesEnded (NSSet touches, UIEvent evt) |
Send when one or more fingers are lifted from the screen. More... | |
override void | Draw (CGRect rect) |
Draw the specified rect. More... | |
delegate void | ACTileControllerTouchedDelegate (ACTileController view) |
Occurs when this ACTileController is touched More... | |
delegate void | ACTileControllerMovedDelegate (ACTileController view) |
Occurs when this ACTileController is moved More... | |
delegate void | ACTileControllerReleasedDelegate (ACTileController view) |
Occurs when this ACTileController is released More... | |
delegate void | ACTileControllerLiveUpdatingDelegate (ACTileController controller) |
Occurs when live updating has been kicked off by the ACTileController More... | |
![]() | |
UIView () | |
Initializes a new instance of the T:UIKit.UIView class. More... | |
UIView (CGRect rect) | |
Initializes a new instance of the T:UIKit.UIView class. More... | |
UIView (Context context) | |
Initializes a new instance of the T:UIKit.UIView class. More... | |
UIView (Context context, IAttributeSet attr) | |
Initializes a new instance of the T:UIKit.UIView class. More... | |
UIView (IntPtr javaReference, JniHandleOwnership transfer) | |
Initializes a new instance of the T:UIKit.UIView class. More... | |
UIView (Context context, IAttributeSet attr, int defStyle) | |
Initializes a new instance of the T:UIKit.UIView class. More... | |
void | SetNeedsDisplay () |
Sets the needs display flag. More... | |
void | SetNeedsLayout () |
Sets the needs layout. More... | |
virtual void | AddSubview (UIView view) |
Adds the subview. More... | |
void | InvokeOnMainThread (Action action) |
Invokes the given action on the main UI thread. More... | |
override bool | OnTouchEvent (MotionEvent e) |
Handle the touch event. More... | |
Properties | |
Object | tag [get, set] |
Gets or sets the [OPTIONAL] tag that can be assosciated with this ACTileController. More... | |
List< ACTileGroup > | groups [get] |
Gets all of the ACTileGroups controlled by this ACTileController . More... | |
ACTileLiveUpdate | liveUpdateAction [get, set] |
Gets or sets the .ACTileLiveUpdate action that will be performed via an automatic update kicked off by the liveUpdateTimer in the parent ACTileController More... | |
bool | liveUpdateRunning [get] |
Gets a value indicating whether this ACTileController is running a live update More... | |
bool | setScrollDirectionFromDeviceOrientation [get, set] |
Gets or sets a value indicating whether this T:ActionComponents.ACTileController sets scroll direction from device orientation. More... | |
bool | suspendUpdates [get, set] |
Gets or sets a value indicating whether this ACTileController suspends updates while ACTileGroup s and/or ACTile s are being added, edited or removed. More... | |
ACTileNavigationBar | navigationBar [get] |
Gets the ACTileNavigationBar attached to this ACTileController More... | |
bool | liveUpdate [get, set] |
Gets or sets a value indicating whether this ACTileController does automatic "live updating" of the ACTile s inside it's ACTileGroup s More... | |
int | liveUpdateFrequency [get, set] |
Gets or sets the "live update" frequency for ACTile s in this ACTileController 's ACTileGroup s More... | |
ACTileGroupAppearance | groupAppearance [get, set] |
Gets or sets the default ACTileGroupAppearance for this ACTileController More... | |
ACTileAppearance | tileAppearance [get, set] |
Gets or sets the default ACTileAppearance for this ACTileController More... | |
ACTileControllerScrollDirection | scrollDirection [get, set] |
Gets or sets the ACTileControllerScrollDirection for this ACTileController More... | |
ACTileControllerAppearance | appearance [get, set] |
Gets or sets the ACTileControllerAppearance fro this ACTileController More... | |
UIScrollView | scrollView [get] |
Gets the UIScrollView inside this ACTileController More... | |
string | title [get, set] |
Gets or sets the navigation bar title. More... | |
bool | Enabled [get, set] |
Gets or sets a value indicating whether this ACTile is enabled. More... | |
ACTileGroup | this[int index] [get, set] |
Gets or sets the ACTileGroup at the specified index. More... | |
int | Count [get] |
Gets the number of ACTileGroup s contained in this ACTileController More... | |
![]() | |
CGRect | Frame [get, set] |
Gets or sets the frame. More... | |
CGRect | Bounds [get, set] |
Gets or sets the bounds. More... | |
Canvas | DrawCanvas [get, set] |
Gets or sets the draw canvas. More... | |
ACColor | BackgroundColor = null [get, set] |
Gets or sets the color of the background. More... | |
bool | UserInteractionEnabled [get, set] |
Gets or sets a value indicating whether this T:UIKit.UIView user interaction enabled. More... | |
bool | MultipleTouchEnabled = false [get, set] |
Gets or sets a value indicating whether this T:UIKit.UIView multiple touch enabled. More... | |
CGPoint | LastTouchPoint = false [get, set] |
Gets or sets the last touch point. More... | |
bool | ClipsToBounds = new CGPoint(0, 0) [get, set] |
Gets or sets a value indicating whether this T:UIKit.UIView clips to bounds. More... | |
bool | ExclusiveTouch [get, set] |
Gets or sets a value indicating whether this T:UIKit.UIView exclusive touch. More... | |
bool | CacheViewDrawing = true [get, set] |
Gets or sets a value indicating whether this T:UIKit.UIView cache view drawing to improve redraw performance. More... | |
List< UIView > | Subviews = true [get] |
Gets the subviews. More... | |
Events | |
ACTileControllerTouchedDelegate | Touched |
ACTileControllerMovedDelegate | Moved |
ACTileControllerReleasedDelegate | Released |
ACTileControllerLiveUpdatingDelegate | LiveUpdating |
ACTileGroup.ACTileGroupTileTouchedDelegate | TileTouched |
Occurs when a tile is touched in this group. More... | |
Additional Inherited Members | |
![]() | |
override void | OnDraw (Canvas canvas) |
Called when the view needs to draw itself. More... | |
override void | OnLayout (bool changed, nint left, nint top, nint right, nint bottom) |
Called when the view is being laid out. More... | |
Creates, maintains and controls a scrollable collection of ACTile
object that can be organized into ACTileGroups
. Provides routines to automatically "live update" the contents or styling of the tiles and routines to handle user interaction with the tile selection.
ActionComponents.ACTileController.ACTileController | ( | ) |
Initializes a new instance of the T:ActionComponents.ACTileController class.
ActionComponents.ACTileController.ACTileController | ( | CGRect | rect | ) |
Initializes a new instance of the T:ActionComponents.ACTileController class.
rect | Rect. |
ActionComponents.ACTileController.ACTileController | ( | Context | context | ) |
Initializes a new instance of the T:ActionComponents.ACTileController class.
context | Context. |
ActionComponents.ACTileController.ACTileController | ( | Context | context, |
IAttributeSet | attr | ||
) |
Initializes a new instance of the T:ActionComponents.ACTileController class.
context | Context. |
attr | Attr. |
ActionComponents.ACTileController.ACTileController | ( | IntPtr | javaReference, |
JniHandleOwnership | transfer | ||
) |
Initializes a new instance of the T:ActionComponents.ACTileController class.
javaReference | Java reference. |
transfer | Transfer. |
ActionComponents.ACTileController.ACTileController | ( | Context | context, |
IAttributeSet | attr, | ||
int | defStyle | ||
) |
Initializes a new instance of the T:ActionComponents.ACTileController class.
context | Context. |
attr | Attr. |
defStyle | Def style. |
delegate void ActionComponents.ACTileController.ACTileControllerLiveUpdatingDelegate | ( | ACTileController | controller | ) |
Occurs when live updating has been kicked off by the ACTileController
delegate void ActionComponents.ACTileController.ACTileControllerMovedDelegate | ( | ACTileController | view | ) |
Occurs when this ACTileController
is moved
delegate void ActionComponents.ACTileController.ACTileControllerReleasedDelegate | ( | ACTileController | view | ) |
Occurs when this ACTileController
is released
delegate void ActionComponents.ACTileController.ACTileControllerTouchedDelegate | ( | ACTileController | view | ) |
Occurs when this ACTileController
is touched
ACTileGroup ActionComponents.ACTileController.AddGroup | ( | ACTileGroupType | groupType, |
string | title, | ||
string | footer | ||
) |
Adds a new group to the tile controller with the given properties.
groupType | The type of group to create. |
title | The title of the new group. |
footer | The footer for the new group. |
void ActionComponents.ACTileController.AddGroup | ( | ACTileGroup | group | ) |
Adds a new group to the tile controller with the given properties.
group | Group. |
void ActionComponents.ACTileController.ClearGroups | ( | ) |
Removes all ACTileGroup
s
|
virtual |
Draw the specified rect.
rect | Rect. |
Reimplemented from UIKit.UIView.
|
virtual |
Layouts the subviews.
Reimplemented from UIKit.UIView.
void ActionComponents.ACTileController.MoveToPoint | ( | float | x, |
float | y | ||
) |
Moves this ACTile
to the given point and honors any ACTileDragConstraint
s applied to the X
or Y
axis
x | The x coordinate. |
y | The y coordinate. |
void ActionComponents.ACTileController.MoveToPoint | ( | CGPoint | pt | ) |
Moves this ACTile
to the given point and honors any ACTileDragConstraint
s applied to the X
or Y
axis
pt | Point. |
bool ActionComponents.ACTileController.PointInside | ( | nfloat | x, |
nfloat | y | ||
) |
Tests to see if the given x and y coordinates are inside this ACTile
true
, if the point was inside, false
otherwise.x | The x coordinate. |
y | The y coordinate. |
bool ActionComponents.ACTileController.PointInside | ( | CGPoint | pt | ) |
Test to see if the given point is inside this ACTile
true
, if point was inside, false
otherwise.pt | Point. |
void ActionComponents.ACTileController.Redraw | ( | ) |
Redraw this instance.
void ActionComponents.ACTileController.RemoveGroupAt | ( | int | index | ) |
Removes the ACTilegGroup
at index.
index | Index. |
void ActionComponents.ACTileController.Resize | ( | float | width, |
float | height | ||
) |
Resize this ACTile
to the specified width and height.
width | Width. |
height | Height. |
Sent when one or more fingers touches the screen.
<Docs>Set containing the touches.</Docs>
touches | Touches. |
evt | Evt. |
Reimplemented from UIKit.UIView.
Send when one or more fingers are lifted from the screen.
<Docs>Set containing the touches.</Docs>
touches | Touches. |
evt | Evt. |
Reimplemented from UIKit.UIView.
Sent when the ACTile
is being dragged
<Docs>Set containing the touches.</Docs>
touches | Touches. |
evt | Evt. |
Reimplemented from UIKit.UIView.
|
getset |
Gets or sets the ACTileControllerAppearance
fro this ACTileController
The appearance.
|
get |
Gets the number of ACTileGroup
s contained in this ACTileController
The count.
|
getset |
|
getset |
Gets or sets the default ACTileGroupAppearance
for this ACTileController
The group appearance.
|
get |
Gets all of the ACTileGroups
controlled by this ACTileController
.
The groups in this controller.
|
getset |
Gets or sets a value indicating whether this ACTileController
does automatic "live updating" of the ACTile
s inside it's ACTileGroup
s
true
if live update; otherwise, false
.
|
getset |
Gets or sets the .ACTileLiveUpdate action that will be performed via an automatic update kicked off by the liveUpdateTimer
in the parent ACTileController
The live update action.
|
getset |
Gets or sets the "live update" frequency for ACTile
s in this ACTileController
's ACTileGroup
s
The live update frequency.
|
get |
Gets a value indicating whether this ACTileController
is running a live update
true
if live update running; otherwise, false
.
|
get |
Gets the ACTileNavigationBar
attached to this ACTileController
The navigation bar.
|
getset |
Gets or sets the ACTileControllerScrollDirection
for this ACTileController
The scroll direction.
The default scroll direction will match the device's orientation
|
get |
Gets the UIScrollView
inside this ACTileController
The scroll view.
|
getset |
Gets or sets a value indicating whether this T:ActionComponents.ACTileController sets scroll direction from device orientation.
true
if sets scroll direction from device orientation; otherwise, false
.
|
getset |
Gets or sets a value indicating whether this ACTileController
suspends updates while ACTileGroup
s and/or ACTile
s are being added, edited or removed.
true
if suspend updates; otherwise, false
.
You should set this property to true
when adding or removing large sums of ACTileGroup
s or ACTile
s.
|
getset |
Gets or sets the [OPTIONAL] tag that can be assosciated with this ACTileController.
The tag.
|
getset |
Gets or sets the ACTileGroup
at the specified index.
index | Index. |
|
getset |
Gets or sets the default ACTileAppearance
for this ACTileController
The tile appearance.
|
getset |
Gets or sets the navigation bar title.
The title.
ACTileControllerLiveUpdatingDelegate ActionComponents.ACTileController.LiveUpdating |
ACTileControllerMovedDelegate ActionComponents.ACTileController.Moved |
ACTileControllerReleasedDelegate ActionComponents.ACTileController.Released |
ACTileGroup.ACTileGroupTileTouchedDelegate ActionComponents.ACTileController.TileTouched |
Occurs when a tile is touched in this group.
ACTileControllerTouchedDelegate ActionComponents.ACTileController.Touched |