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