public GridField(JsonComponent owner, string text, string gridName, string fieldName, string gridIndex) : base(owner, text) { this.GridName = gridName; this.FieldName = fieldName; this.GridIndex = gridIndex; }
public Button(JsonComponent owner, string text) : base(owner, text) { if (IsClick) { Text += "."; // TODO } }
private void Constructor(JsonComponent owner, string text) { this.Type = GetType().Name; this.Text = text; if (owner != null) { if (owner.List == null) { owner.List = new List <JsonComponent>(); } int count = 0; foreach (var item in owner.List) { if (item.Key.StartsWith(this.Type + "-")) { count += 1; } } this.Key = this.Type + "-" + count.ToString(); owner.List.Add(this); } }
public Label(JsonComponent owner, string text) : base(owner, text) { }
public Input(JsonComponent owner, string text) : base(owner, text) { }
public LayoutContainer(JsonComponent owner, string text) : base(owner, text) { }
public GridKeyboard(JsonComponent owner, string text) : base(owner, text) { }
public JsonComponent(JsonComponent owner, string text) { Constructor(owner, text); }
public Grid(JsonComponent owner, string text, string gridName) : base(owner, text) { this.GridName = gridName; }