Revision 20910 branches/v10/applications/appgvSIG/src/com/iver/cit/gvsig/gui/layout/fframes/FFrameView.java

View differences:

FFrameView.java
117 117
	private Point2D p1;
118 118
	private Point2D p2;
119 119
	private IFFrame grid;
120
	private boolean showGrid=false;
120 121
	/**
121 122
     * Creates a new FFrameView object.
122 123
     */
......
452 453
					.getAffineTransform());
453 454

  
454 455
		}
455
		if (grid!=null){
456
		if (showGrid && grid!=null){
456 457
			((FFrameGrid)grid).setFFrameDependence(this);
457 458
			grid.draw(g,at,rv,imgBase);
458 459
		}
......
1077 1078
		if (grid!=null)
1078 1079
			grid.setRotation(rotation);
1079 1080
	}
1081
	public void showGrid(boolean b){
1082
		showGrid=b;
1083
	}
1084

  
1085
	public boolean isShowGrid() {
1086
		return showGrid;
1087
	}
1080 1088
}

Also available in: Unified diff