ActionComponents  04.05.00
Customizable UI and time-saving tools for Android development with Xamarin and Visual Studio.
ActionComponents.ACOval Class Reference
Inheritance diagram for ActionComponents.ACOval:
Collaboration diagram for ActionComponents.ACOval:

Public Member Functions

 ACOval (Context context)
 Initializes a new instance of the ActionComponents.ACOval class. More...
 
 ACOval (Context context, IAttributeSet attr)
 Initializes a new instance of the ActionComponents.ACOval class. More...
 
 ACOval (IntPtr javaReference, JniHandleOwnership transfer)
 Initializes a new instance of the ActionComponents.ACOval class. More...
 
 ACOval (Context context, IAttributeSet attr, int defStyle)
 Initializes a new instance of the ActionComponents.ACOval class. More...
 
void Redraw ()
 Redraw this ActionComponents.ACOval. More...
 
- Public Member Functions inherited from ActionComponents.ACView
 ACView (Context context)
 Initializes a new instance of the ActionComponents.ACView class. More...
 
 ACView (Context context, IAttributeSet attr)
 Initializes a new instance of the ActionComponents.ACView class. More...
 
 ACView (IntPtr javaReference, JniHandleOwnership transfer)
 Initializes a new instance of the ActionComponents.ACView class. More...
 
 ACView (Context context, IAttributeSet attr, int defStyle)
 Initializes a new instance of the ActionComponents.ACView class. More...
 
void MoveToPoint (int x, int y)
 Moves this ActionComponents.ACView to the given point and honors any ActionComponents.ACViewDragConstraints applied to the X or Y axis More...
 
void MoveToPoint (Point point)
 Moves this ActionComponents.ACView to the given point and honors any ActionComponents.ACViewDragConstraints applied to the X or Y axis More...
 
void Resize (int width, int height)
 Resize this ActionComponents.ACView to the specified width and height. More...
 
bool PointInside (int x, int y)
 Test to see if the given x and y coordinates are inside this ActionComponents.ACView More...
 
bool PointInside (Point pt)
 Test to see if the given point is inside this ActionComponents.ACView More...
 
void Purge (bool forceGarbageCollection)
 The Purge command causes this ActionComponents.ACView to force the removal of any subview from the screen and dispose of the memory that they contain. If forceGarbageCollection is true, garbage collection will be forced at the end of the purge cycle. The Purge command will cascade to any ActionComponents.ACView or ActionComponents.ACImageView subviews attached to this ActionComponents.ACView More...
 
override bool OnTouchEvent (MotionEvent e)
 Raises the touch event event. More...
 
delegate void ACViewTouchedDelegate (ACView view)
 Occurs when this ActionComponents.ACView is touched More...
 
delegate void ACViewMovedDelegate (ACView view)
 Occurs when this ActionComponents.ACView is moved More...
 
delegate void ACViewReleasedDelegate (ACView view)
 Occurs when this ActionComponents.ACView is released More...
 

Protected Member Functions

override void OnDraw (Canvas canvas)
 Raises the draw event. More...
 

Properties

bool Enabled [get, set]
 Gets or sets a value indicating whether this ActionComponents.ACOval is enabled. More...
 
ACOvalAppearance Appearance [get, set]
 Gets or sets the appearance for this ActionComponents.ACOval. More...
 
ACOvalAppearance AppearanceDisabled [get, set]
 Gets or sets the disabled appearance for this ActionComponents.ACOval. More...
 
ACOvalAppearance AppearanceTouched [get, set]
 Gets or sets the touched appearance for this ActionComponents.ACOval. More...
 
string Text [get, set]
 Gets or sets the text value for this ActionComponents.ACOval. More...
 
Bitmap Image [get, set]
 Shortcut to set the image of all appearance types for this ActionComponents.ACOval. More...
 
ACOvalImagePlacement ImagePlacement [get, set]
 Shortcut to set the image placement of all appearance types for this ActionComponents.ACOval. More...
 
int ImageX [get, set]
 Shortcut to set the image placement of all appearance types for this ActionComponents.ACOval. More...
 
int ImageY [get, set]
 Shortcut to set the image placement of all appearance types for this ActionComponents.ACOval. More...
 
int ImageWidth [get, set]
 Shortcut to set the image width of all appearance types for this ActionComponents.ACOval. More...
 
int ImageHeight [get, set]
 Shortcut to set the image height of all appearance types for this ActionComponents.ACOval. More...
 
- Properties inherited from ActionComponents.ACView
Object tag [get, set]
 Gets or sets the [OPTIONAL] tag that can be assosciated with this ActionComponents.ACView More...
 
bool draggable [get, set]
 Gets or sets a value indicating whether this ActionComponents.ACView is draggable. More...
 
bool dragging [get]
 Gets a value indicating whether this ActionComponents.ACView is being dragged by the user. More...
 
bool bringToFrontOnTouched [get, set]
 Gets or sets a value indicating whether this ActionComponents.ACView is automatically brought to the front when touched. More...
 
ACViewDragConstraint xConstraint [get, set]
 Gets or sets the ActionComponents.ACViewDragConstraint applied to the x axis of this ActionComponents.ACView More...
 
ACViewDragConstraint yConstraint [get, set]
 Gets or sets the ActionComponents.ACViewDragConstraint applied to the y axis of this ActionComponents.ACView 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...
 

Additional Inherited Members

- Static Public Member Functions inherited from ActionComponents.ACView
static Display DefaultDisplay (View view)
 Gets the default display for the given view More...
 
static Rect WindowVisibleDisplayFrame (View view)
 Gets the window visible display frame for the given view. More...
 
static int StatusBarHeight (View view)
 Gets the status bar height for the given view. More...
 
static int ActionBarHeight (View view)
 Gets the height of the action bar for a view. More...
 
static int NavigationBarHeight (View view)
 Gets the navigation bar height for the given view. More...
 
static int DefaultDisplayHeight (View view)
 Returns the height of the default display for the given view. More...
 
static int DefaultDisplayWidth (View view)
 Returns the width for the default display for the given view. More...
 
static int GetViewHeight (View view)
 Decodes the LayoutParameters for the given View and returns the Height property More...
 
static void SetViewHeight (View view, int height)
 Decodes the LayoutParameters for the given View and sets the Height property More...
 
static int GetViewWidth (View view)
 Decodes the LayoutParameters for the given View and returns the Width property More...
 
static void SetViewWidth (View view, int Width)
 Decodes the LayoutParameters for the given View and sets the Width property More...
 
static int GetViewLeftMargin (View view)
 Decodes the LayoutParameters for the given View and returns the LeftMargin property More...
 
static void SetViewLeftMargin (View view, int LeftMargin)
 Decodes the LayoutParameters for the given View and sets the LeftMargin property More...
 
static int GetViewRightMargin (View view)
 Decodes the LayoutParameters for the given View and returns the RightMargin property More...
 
static void SetViewRightMargin (View view, int RightMargin)
 Decodes the LayoutParameters for the given View and sets the RightMargin property More...
 
static int GetViewTopMargin (View view)
 Decodes the LayoutParameters for the given View and returns the TopMargin property More...
 
static void SetViewTopMargin (View view, int TopMargin)
 Decodes the LayoutParameters for the given View and sets the TopMargin property More...
 
static int GetViewBottomMargin (View view)
 Decodes the LayoutParameters for the given View and returns the BottomMargin property More...
 
static void SetViewBottomMargin (View view, int BottomMargin)
 Decodes the LayoutParameters for the given View and sets the BottomMargin property More...
 
- Events inherited from ActionComponents.ACView
ACViewTouchedDelegate Touched
 
ACViewMovedDelegate Moved
 
ACViewReleasedDelegate Released
 

Constructor & Destructor Documentation

ActionComponents.ACOval.ACOval ( Context  context)

Initializes a new instance of the ActionComponents.ACOval class.

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

Initializes a new instance of the ActionComponents.ACOval class.

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

Initializes a new instance of the ActionComponents.ACOval class.

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

Initializes a new instance of the ActionComponents.ACOval class.

Parameters
contextContext.
attrAttr.
defStyleDef style.

Here is the call graph for this function:

Member Function Documentation

override void ActionComponents.ACOval.OnDraw ( Canvas  canvas)
protected

Raises the draw event.

<Docs>the canvas on which the background will be drawn</Docs>

Implement this to do your drawing.

<format type="text/html">[Android Documentation]</format> <since version="Added in API level 1"></since>

Parameters
canvasCanvas.
void ActionComponents.ACOval.Redraw ( )

Redraw this ActionComponents.ACOval.

Here is the call graph for this function:

Here is the caller graph for this function:

Property Documentation

ACOvalAppearance ActionComponents.ACOval.Appearance
getset

Gets or sets the appearance for this ActionComponents.ACOval.

The appearance.

ACOvalAppearance ActionComponents.ACOval.AppearanceDisabled
getset

Gets or sets the disabled appearance for this ActionComponents.ACOval.

The appearance disabled.

ACOvalAppearance ActionComponents.ACOval.AppearanceTouched
getset

Gets or sets the touched appearance for this ActionComponents.ACOval.

The appearance touched.

bool ActionComponents.ACOval.Enabled
getset

Gets or sets a value indicating whether this ActionComponents.ACOval is enabled.

true if enabled; otherwise, false.

Bitmap ActionComponents.ACOval.Image
getset

Shortcut to set the image of all appearance types for this ActionComponents.ACOval.

The image.

int ActionComponents.ACOval.ImageHeight
getset

Shortcut to set the image height of all appearance types for this ActionComponents.ACOval.

The height of the image.

ACOvalImagePlacement ActionComponents.ACOval.ImagePlacement
getset

Shortcut to set the image placement of all appearance types for this ActionComponents.ACOval.

The image placement.

int ActionComponents.ACOval.ImageWidth
getset

Shortcut to set the image width of all appearance types for this ActionComponents.ACOval.

The width of the image.

int ActionComponents.ACOval.ImageX
getset

Shortcut to set the image placement of all appearance types for this ActionComponents.ACOval.

The image x.

int ActionComponents.ACOval.ImageY
getset

Shortcut to set the image placement of all appearance types for this ActionComponents.ACOval.

The image y.

string ActionComponents.ACOval.Text
getset

Gets or sets the text value for this ActionComponents.ACOval.

The text.