![]() |
Paradox Game Engine
v1.0.0 beta06
|
Public Member Functions | |
| RootElement (string caption) | |
| Initializes a RootSection with a caption More... | |
| RootElement (string caption, Func< RootElement, View > createOnSelected) | |
| Initializes a RootSection with a caption and a callback that will create the nested UIViewController that is activated when the user taps on the element. More... | |
| RootElement (string caption, int section, int element) | |
| Initializes a RootElement with a caption with a summary fetched from the specified section and leement More... | |
| RootElement (string caption, Group group) | |
| Initializes a RootElement that renders the summary based on the radio settings of the contained elements. More... | |
| override 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... | |
| void | Add (Section section) |
| Adds a new section to this RootElement More... | |
| void | Add (IEnumerable< Section > sections) |
| void | Insert (int idx, params Section[] newSections) |
| Inserts a new section into the RootElement More... | |
| void | RemoveAt (int idx) |
| Removes a section at a specified location More... | |
| void | Remove (Section s) |
| void | Clear () |
| override 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... | |
| void | SelectRadio () |
| IEnumerator< Section > | GetEnumerator () |
| Enumerator that returns all the sections in the RootElement. More... | |
Public Member Functions inherited from MonoDroid.Dialog.Element | |
| Element (string caption) | |
| Initializes the element with the given caption. More... | |
| Element (string caption, int layoutId) | |
| void | Dispose () |
| virtual void | Selected () |
| virtual bool | Matches (string text) |
| Context | GetContext () |
Public Attributes | |
| bool | UnevenRows |
| Func< RootElement, View > | _createOnSelected |
Protected Member Functions | |
| override void | Dispose (bool disposing) |
Properties | |
| Context | Context [get, set] |
| Single save point for a context, elements can get this context via GetContext() for navigation operations More... | |
| int | Count [get] |
| Section | this[int idx] [get] |
| int | RadioSelected [get, set] |
| The currently selected Radio item in the whole Root. More... | |
Properties inherited from MonoDroid.Dialog.Element | |
| 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... | |
Definition at line 13 of file RootElement.cs.
| MonoDroid.Dialog.RootElement.RootElement | ( | string | caption | ) |
Initializes a RootSection with a caption
| caption | The caption to render. |
Definition at line 29 of file RootElement.cs.
| MonoDroid.Dialog.RootElement.RootElement | ( | string | caption, |
| Func< RootElement, View > | createOnSelected | ||
| ) |
Initializes a RootSection with a caption and a callback that will create the nested UIViewController that is activated when the user taps on the element.
| caption | The caption to render. |
Definition at line 44 of file RootElement.cs.
| MonoDroid.Dialog.RootElement.RootElement | ( | string | caption, |
| int | section, | ||
| int | element | ||
| ) |
Initializes a RootElement with a caption with a summary fetched from the specified section and leement
| caption | The caption to render cref="System.String"/> |
| section | The section that contains the element with the summary. |
| element | The element index inside the section that contains the summary for this RootSection. |
Definition at line 64 of file RootElement.cs.
| MonoDroid.Dialog.RootElement.RootElement | ( | string | caption, |
| Group | group | ||
| ) |
Initializes a RootElement that renders the summary based on the radio settings of the contained elements.
| caption | The caption to ender |
| group | The group that contains the checkbox or radio information. This is used to display the summary information when a RootElement is rendered inside a section. |
Definition at line 81 of file RootElement.cs.
| void MonoDroid.Dialog.RootElement.Add | ( | Section | section | ) |
Adds a new section to this RootElement
| section | The section to add, if the root is visible, the section is inserted with no animation |
Definition at line 158 of file RootElement.cs.
| void MonoDroid.Dialog.RootElement.Add | ( | IEnumerable< Section > | sections | ) |
Definition at line 175 of file RootElement.cs.
| void MonoDroid.Dialog.RootElement.Clear | ( | ) |
Definition at line 241 of file RootElement.cs.
|
protectedvirtual |
Reimplemented from MonoDroid.Dialog.Element.
Definition at line 248 of file RootElement.cs.
| IEnumerator<Section> MonoDroid.Dialog.RootElement.GetEnumerator | ( | ) |
Enumerator that returns all the sections in the RootElement.
Definition at line 401 of file RootElement.cs.
|
virtual |
Overriden my most derived classes, creates a view that creates a View with the contents for display
| context | |
| convertView | |
| parent |
Reimplemented from MonoDroid.Dialog.Element.
Definition at line 306 of file RootElement.cs.
References DirectX.count.
| void MonoDroid.Dialog.RootElement.Insert | ( | int | idx, |
| params Section[] | newSections | ||
| ) |
Inserts a new section into the RootElement
| idx | The index where the section is added System.Int32 |
| newSections | A Section[] list of sections to insert |
This inserts the specified list of sections (a params argument) into the root using the specified animation.
Definition at line 196 of file RootElement.cs.
References s().
| void MonoDroid.Dialog.RootElement.Remove | ( | Section | s | ) |
Definition at line 229 of file RootElement.cs.
References s().
| void MonoDroid.Dialog.RootElement.RemoveAt | ( | int | idx | ) |
Removes a section at a specified location
Definition at line 219 of file RootElement.cs.
| void MonoDroid.Dialog.RootElement.SelectRadio | ( | ) |
Definition at line 364 of file RootElement.cs.
|
virtual |
Returns a summary of the value represented by this object, suitable for rendering as the result of a RootElement with child objects.
Reimplemented from MonoDroid.Dialog.Element.
Definition at line 138 of file RootElement.cs.
| Func<RootElement, View> MonoDroid.Dialog.RootElement._createOnSelected |
Definition at line 21 of file RootElement.cs.
| bool MonoDroid.Dialog.RootElement.UnevenRows |
Definition at line 20 of file RootElement.cs.
|
getset |
Single save point for a context, elements can get this context via GetContext() for navigation operations
Definition at line 90 of file RootElement.cs.
|
get |
Definition at line 95 of file RootElement.cs.
|
getset |
The currently selected Radio item in the whole Root.
Definition at line 264 of file RootElement.cs.
|
get |
Definition at line 103 of file RootElement.cs.