Paradox Game Engine  v1.0.0 beta06
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
MonoDroid.Dialog.Element Class Reference
Inheritance diagram for MonoDroid.Dialog.Element:
MonoDroid.Dialog.BoolElement MonoDroid.Dialog.CheckboxElement MonoDroid.Dialog.EntryElement MonoDroid.Dialog.FloatElement MonoDroid.Dialog.ImageElement MonoDroid.Dialog.RootElement MonoDroid.Dialog.Section MonoDroid.Dialog.StringElement

Public Member Functions

 Element (string caption)
 Initializes the element with the given caption. More...
 
 Element (string caption, int layoutId)
 
void Dispose ()
 
virtual string Summary ()
 Returns a summary of the value represented by this object, suitable for rendering as the result of a RootElement with child objects. More...
 
virtual View GetView (Context context, View convertView, ViewGroup parent)
 Overriden my most derived classes, creates a view that creates a View with the contents for display More...
 
virtual void Selected ()
 
virtual bool Matches (string text)
 
Context GetContext ()
 

Protected Member Functions

virtual void Dispose (bool disposing)
 

Properties

string Caption [get, set]
 The caption to display for this given element More...
 
int LayoutId [get, set]
 
Element Parent [get, set]
 
Action Click [get, set]
 Override for click the click event More...
 
Action LongClick [get, set]
 Override for long click events, some elements use this for action More...
 
Object Tag [get, set]
 An Object that contains data about the element. The default is null. More...
 

Detailed Description

Definition at line 9 of file Element.cs.

Constructor & Destructor Documentation

MonoDroid.Dialog.Element.Element ( string  caption)

Initializes the element with the given caption.

Parameters
captionThe caption.

Definition at line 17 of file Element.cs.

MonoDroid.Dialog.Element.Element ( string  caption,
int  layoutId 
)

Definition at line 22 of file Element.cs.

Member Function Documentation

void MonoDroid.Dialog.Element.Dispose ( )

Definition at line 55 of file Element.cs.

virtual void MonoDroid.Dialog.Element.Dispose ( bool  disposing)
protectedvirtual
Context MonoDroid.Dialog.Element.GetContext ( )

Definition at line 94 of file Element.cs.

References MonoDroid.Dialog.Element.Parent.

virtual bool MonoDroid.Dialog.Element.Matches ( string  text)
virtual

Reimplemented in MonoDroid.Dialog.EntryElement, and MonoDroid.Dialog.StringElement.

Definition at line 89 of file Element.cs.

virtual void MonoDroid.Dialog.Element.Selected ( )
virtual

Reimplemented in MonoDroid.Dialog.EntryElement, and MonoDroid.Dialog.StringElement.

Definition at line 87 of file Element.cs.

virtual string MonoDroid.Dialog.Element.Summary ( )
virtual

Returns a summary of the value represented by this object, suitable for rendering as the result of a RootElement with child objects.

Returns
The return value must be a short description of the value.

Reimplemented in MonoDroid.Dialog.RootElement, MonoDroid.Dialog.StringElement, MonoDroid.Dialog.EntryElement, MonoDroid.Dialog.BoolElement, MonoDroid.Dialog.RadioElement, and MonoDroid.Dialog.ButtonElement.

Definition at line 69 of file Element.cs.

Property Documentation

string MonoDroid.Dialog.Element.Caption
getset

The caption to display for this given element

Definition at line 31 of file Element.cs.

Action MonoDroid.Dialog.Element.Click
getset

Override for click the click event

Definition at line 43 of file Element.cs.

int MonoDroid.Dialog.Element.LayoutId
getset

Definition at line 33 of file Element.cs.

Action MonoDroid.Dialog.Element.LongClick
getset

Override for long click events, some elements use this for action

Definition at line 48 of file Element.cs.

Element MonoDroid.Dialog.Element.Parent
getset

For sections this points to a RootElement, for every other object this points to a Section and it is null for the root RootElement.

Definition at line 38 of file Element.cs.

Referenced by MonoDroid.Dialog.Element.GetContext().

Object MonoDroid.Dialog.Element.Tag
getset

An Object that contains data about the element. The default is null.

Definition at line 53 of file Element.cs.


The documentation for this class was generated from the following file: