RSS

(root)/freeplane/freeplane_program/release_branches/1_0_x : 888 : freeplane/src/org/freeplane/features/common/addins/mapstyle/MapStyleModel.java

« back to all changes in this revision

Viewing changes to freeplane/src/org/freeplane/features/common/addins/mapstyle/MapStyleModel.java

dpolivaev at sourceforge
2009-11-15 10:06:02
Revision ID: dpolivaev@users.sourceforge.net-20091115100602-wxmefhl9h5gkvh0q
save zoom and layout type in the map file

Show diffs side-by-side

added added

removed removed

59
59
        protected void setBackgroundColor(final Color backgroundColor) {
60
60
                this.backgroundColor = backgroundColor;
61
61
        }
 
62
 
 
63
        private float zoom = 1f;
 
64
 
 
65
        public float getZoom() {
 
66
                return zoom;
 
67
        }
 
68
 
 
69
        public MapViewLayout getMapViewLayout() {
 
70
                return mapViewLayout;
 
71
        }
 
72
 
 
73
        void setMapViewLayout(MapViewLayout mapViewLayout) {
 
74
                this.mapViewLayout = mapViewLayout;
 
75
        }
 
76
 
 
77
        void setZoom(float zoom) {
 
78
                this.zoom = zoom;
 
79
        }
 
80
        
 
81
        private MapViewLayout mapViewLayout = MapViewLayout.MAP;
62
82
}

Loggerhead 1.17 is a web-based interface for Bazaar branches