protected override void setJSON(JObject obj, BaseClassIfc host, SetJsonOptions options) { base.setJSON(obj, host, options); if (mHorizontal != null) { obj["Horizontal"] = Horizontal.getJson(this, options); } if (mVertical != null) { obj["Vertical"] = Vertical.getJson(this, options); } setAttribute(obj, "Tag", Tag); }