internal NamedCollection(NamedElement parent, CommonElements common) { Common = common; this.parent = parent; nameToObject = new Hashtable(); nameToIndex = new Hashtable(); }
internal Group(CommonElements common) : base(common) { offset = new Offset(this, 0.0, 0.0); centralPointOffset = new Offset(this, 0.0, 0.0); fields = new Hashtable(); }
internal DockablePanel(CommonElements common) : base(common) { Dock = (PanelDockStyle)GetDefaultPropertyValue("Dock", null); DockAlignment = (DockAlignment)GetDefaultPropertyValue("DockAlignment", null); DockedInsideViewport = (bool)GetDefaultPropertyValue("DockedInsideViewport", null); }
internal SwatchColor(CommonElements common, string name, double fromValue, double toValue, string textValue) : base(common) { Name = name; this.fromValue = fromValue; this.toValue = toValue; this.textValue = textValue; }
internal Viewport(CommonElements common) : base(common) { Name = "Viewport"; ViewCenter = new ViewCenter(this, 50f, 50f); BackShadowOffset = 0; Visible = true; }
internal MapImage(CommonElements common) : base(common) { Location = new MapLocation(this, 20f, 20f); Location.DefaultValues = true; Size.DefaultValues = true; BorderStyle = MapDashStyle.Solid; Visible = true; }
internal MapLabel(CommonElements common) : base(common) { BackShadowOffset = 0; Location.DefaultValues = true; Size.DefaultValues = true; BorderStyle = MapDashStyle.Solid; Visible = true; }
internal NavigationPanel(CommonElements common) : base(common) { Name = "NavigationPanel"; buttonNorth = new PanelButton(this, PanelButtonType.NavigationButton, NavigationButtonClickHandler); buttonSouth = new PanelButton(this, PanelButtonType.NaviagateSouth, NavigationButtonClickHandler); buttonEast = new PanelButton(this, PanelButtonType.NaviagateEast, NavigationButtonClickHandler); buttonWest = new PanelButton(this, PanelButtonType.NaviagateWest, NavigationButtonClickHandler); buttonCenter = new PanelButton(this, PanelButtonType.NaviagateCenter, NavigationButtonClickHandler); ApplyStyle(); ApplyColors(); }
internal Panel(CommonElements common) : base(common) { Margins = new PanelMargins((PanelMargins)GetDefaultPropertyValue("Margins", null)); Location = new MapLocation((MapLocation)GetDefaultPropertyValue("Location", null)); LocationUnit = (CoordinateUnit)GetDefaultPropertyValue("LocationUnit", null); Size = new MapSize((MapSize)GetDefaultPropertyValue("Size", null)); SizeUnit = (CoordinateUnit)GetDefaultPropertyValue("SizeUnit", null); BackColor = (Color)GetDefaultPropertyValue("BackColor", null); BorderColor = (Color)GetDefaultPropertyValue("BorderColor", null); BorderWidth = (int)GetDefaultPropertyValue("BorderWidth", null); BackGradientType = (GradientType)GetDefaultPropertyValue("BackGradientType", null); BackHatchStyle = (MapHatchStyle)GetDefaultPropertyValue("BackHatchStyle", null); BackSecondaryColor = (Color)GetDefaultPropertyValue("BackSecondaryColor", null); }
internal ZoomPanel(CommonElements common) : base(common) { Name = "ZoomPanel"; scale = new LinearScale(this); pointer = new LinearPointer(this); MapCore mapCore = GetMapCore(); Scale.LabelStyle.Visible = false; Scale.MajorTickMark.Visible = false; Scale.MinorTickMark.Length = 30f; Scale.MinorTickMark.Width = 10f; Scale.MinorTickMark.EnableGradient = false; Scale.FillGradientType = GradientType.None; Scale.FillHatchStyle = MapHatchStyle.None; Scale.ShadowOffset = 0f; Scale.BorderWidth = 1; Scale.Width = 15f; Scale.Minimum = 0.0; Scale.Maximum = 100.00000000001; double tickMarksInterval = GetTickMarksInterval(TickCount); Scale.MinorTickMark.Interval = tickMarksInterval; Pointer.Placement = Placement.Cross; if (mapCore != null && mapCore.Viewport != null) { Pointer.Position = mapCore.Viewport.Zoom; } Pointer.SnappingEnabled = true; Pointer.SnappingInterval = tickMarksInterval; Pointer.FillGradientType = GradientType.None; Pointer.FillHatchStyle = MapHatchStyle.None; Pointer.ShadowOffset = 0f; if (mapCore != null && mapCore.Viewport != null) { ZoomLevel = mapCore.Viewport.Zoom; } zoomInButton = new PanelButton(this, PanelButtonType.ZoomButton, PanelButtonStyle.RoundedRectangle, zoomButtonClickHandler); zoomOutButton = new PanelButton(this, PanelButtonType.ZoomOut, PanelButtonStyle.RoundedRectangle, zoomButtonClickHandler); ApplyStyle(); ApplyColors(); }
internal DataBindingRulesCollection(NamedElement parent, CommonElements common) : base(parent, common) { elementType = typeof(DataBindingRuleBase); }
internal CustomWidthCollection(NamedElement parent, CommonElements common) : base(parent, common) { elementType = typeof(CustomWidth); }
internal ShapeCollection(NamedElement parent, CommonElements common) : base(parent, common) { elementType = typeof(Shape); }
internal LayerCollection(NamedElement parent, CommonElements common) : base(parent, common) { elementType = typeof(Layer); }
internal MapImageCollection(NamedElement parent, CommonElements common) : base(parent, common) { elementType = typeof(MapImage); }
internal LegendCellCollection(LegendItem legendItem, NamedElement parent, CommonElements common) : base(parent, common) { elementType = typeof(LegendCell); this.legendItem = legendItem; }
internal PathRule(CommonElements common) : base(common) { customColors = new CustomColorCollection(this, common); }
internal PredefinedSymbol(CommonElements common) : base(common) { affectedSymbols = new ArrayList(); }
internal GroupDataBindingRule(CommonElements common) : base(common) { }
internal NamedElement(CommonElements common) { Common = common; }
internal SymbolRule(CommonElements common) : base(common) { predefinedSymbols = new PredefinedSymbolCollection(this, common); }
internal PathRuleCollection(NamedElement parent, CommonElements common) : base(parent, common) { elementType = typeof(PathRuleBase); }
internal GroupRuleCollection(NamedElement parent, CommonElements common) : base(parent, common) { elementType = typeof(GroupRule); }
internal Field(CommonElements common) : base(common) { type = typeof(string); }
internal LegendCellColumnCollection(Legend legend, NamedElement parent, CommonElements common) : base(parent, common) { elementType = typeof(LegendCellColumn); this.legend = legend; }
internal SwatchColorCollection(NamedElement parent, CommonElements common) : base(parent, common) { elementType = typeof(SwatchColor); }
internal DataBindingRuleBase(CommonElements common) : base(common) { }
internal PathDataBindingRule(CommonElements common) : base(common) { }
internal CustomWidth(CommonElements common) : base(common) { affectedElements = new ArrayList(); }
internal LegendItemsCollection(NamedElement parent, CommonElements common) : base(parent, common) { elementType = typeof(LegendItem); }