Paradox Game Engine  v1.0.0 beta06
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
Group.cs
Go to the documentation of this file.
1 // Copyright (c) 2014 Silicon Studio Corp. (http://siliconstudio.co.jp)
2 // This file is distributed under GPL v3. See LICENSE.md for details.
3 namespace MonoDroid.Dialog
4 {
5  /// <summary>
6  /// Used by root elements to fetch information when they need to
7  /// render a summary (Checkbox count or selected radio group).
8  /// </summary>
9  public class Group
10  {
11  public string Key;
12 
13  public Group(string key)
14  {
15  Key = key;
16  }
17  }
18 
19  /// <summary>
20  /// Captures the information about mutually exclusive elements in a RootElement
21  /// </summary>
22  public class RadioGroup : Group
23  {
24  public int Selected;
25 
26  public RadioGroup(string key, int selected)
27  : base(key)
28  {
29  Selected = selected;
30  }
31 
32  public RadioGroup(int selected)
33  : base(null)
34  {
35  Selected = selected;
36  }
37  }
38 }
RadioGroup(string key, int selected)
Definition: Group.cs:26
RadioGroup(int selected)
Definition: Group.cs:32
Group(string key)
Definition: Group.cs:13
Used by root elements to fetch information when they need to render a summary (Checkbox count or sele...
Definition: Group.cs:9
Captures the information about mutually exclusive elements in a RootElement
Definition: Group.cs:22