コード例 #1
0
 internal NamedCollection(NamedElement parent, CommonElements common)
 {
     Common       = common;
     this.parent  = parent;
     nameToObject = new Hashtable();
     nameToIndex  = new Hashtable();
 }
コード例 #2
0
 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();
 }
コード例 #3
0
 internal DockablePanel(CommonElements common)
     : base(common)
 {
     Dock                 = (PanelDockStyle)GetDefaultPropertyValue("Dock", null);
     DockAlignment        = (DockAlignment)GetDefaultPropertyValue("DockAlignment", null);
     DockedInsideViewport = (bool)GetDefaultPropertyValue("DockedInsideViewport", null);
 }
コード例 #4
0
 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;
 }
コード例 #5
0
 internal Viewport(CommonElements common)
     : base(common)
 {
     Name             = "Viewport";
     ViewCenter       = new ViewCenter(this, 50f, 50f);
     BackShadowOffset = 0;
     Visible          = true;
 }
コード例 #6
0
 internal MapImage(CommonElements common)
     : base(common)
 {
     Location = new MapLocation(this, 20f, 20f);
     Location.DefaultValues = true;
     Size.DefaultValues     = true;
     BorderStyle            = MapDashStyle.Solid;
     Visible = true;
 }
コード例 #7
0
 internal MapLabel(CommonElements common)
     : base(common)
 {
     BackShadowOffset       = 0;
     Location.DefaultValues = true;
     Size.DefaultValues     = true;
     BorderStyle            = MapDashStyle.Solid;
     Visible = true;
 }
コード例 #8
0
 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();
 }
コード例 #9
0
ファイル: Panel.cs プロジェクト: zatuliveter/reportviewercore
 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);
 }
コード例 #10
0
        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();
        }
コード例 #11
0
 internal DataBindingRulesCollection(NamedElement parent, CommonElements common)
     : base(parent, common)
 {
     elementType = typeof(DataBindingRuleBase);
 }
コード例 #12
0
 internal CustomWidthCollection(NamedElement parent, CommonElements common)
     : base(parent, common)
 {
     elementType = typeof(CustomWidth);
 }
コード例 #13
0
 internal ShapeCollection(NamedElement parent, CommonElements common)
     : base(parent, common)
 {
     elementType = typeof(Shape);
 }
コード例 #14
0
 internal LayerCollection(NamedElement parent, CommonElements common)
     : base(parent, common)
 {
     elementType = typeof(Layer);
 }
コード例 #15
0
 internal MapImageCollection(NamedElement parent, CommonElements common)
     : base(parent, common)
 {
     elementType = typeof(MapImage);
 }
コード例 #16
0
 internal LegendCellCollection(LegendItem legendItem, NamedElement parent, CommonElements common)
     : base(parent, common)
 {
     elementType     = typeof(LegendCell);
     this.legendItem = legendItem;
 }
コード例 #17
0
 internal PathRule(CommonElements common)
     : base(common)
 {
     customColors = new CustomColorCollection(this, common);
 }
コード例 #18
0
 internal PredefinedSymbol(CommonElements common)
     : base(common)
 {
     affectedSymbols = new ArrayList();
 }
コード例 #19
0
 internal GroupDataBindingRule(CommonElements common)
     : base(common)
 {
 }
コード例 #20
0
 internal NamedElement(CommonElements common)
 {
     Common = common;
 }
コード例 #21
0
 internal SymbolRule(CommonElements common)
     : base(common)
 {
     predefinedSymbols = new PredefinedSymbolCollection(this, common);
 }
コード例 #22
0
 internal PathRuleCollection(NamedElement parent, CommonElements common)
     : base(parent, common)
 {
     elementType = typeof(PathRuleBase);
 }
コード例 #23
0
 internal GroupRuleCollection(NamedElement parent, CommonElements common)
     : base(parent, common)
 {
     elementType = typeof(GroupRule);
 }
コード例 #24
0
ファイル: Field.cs プロジェクト: zatuliveter/reportviewercore
 internal Field(CommonElements common)
     : base(common)
 {
     type = typeof(string);
 }
コード例 #25
0
 internal LegendCellColumnCollection(Legend legend, NamedElement parent, CommonElements common)
     : base(parent, common)
 {
     elementType = typeof(LegendCellColumn);
     this.legend = legend;
 }
コード例 #26
0
 internal SwatchColorCollection(NamedElement parent, CommonElements common)
     : base(parent, common)
 {
     elementType = typeof(SwatchColor);
 }
コード例 #27
0
 internal DataBindingRuleBase(CommonElements common)
     : base(common)
 {
 }
コード例 #28
0
 internal PathDataBindingRule(CommonElements common)
     : base(common)
 {
 }
コード例 #29
0
 internal CustomWidth(CommonElements common)
     : base(common)
 {
     affectedElements = new ArrayList();
 }
コード例 #30
0
 internal LegendItemsCollection(NamedElement parent, CommonElements common)
     : base(parent, common)
 {
     elementType = typeof(LegendItem);
 }