Code example for ZoomButtonsController

Methods: setVisible

0
	/** 
	 * needed to disable the Zoombuttons when not visible 
	 */ 
	@Override 
	protected void onDetachedFromWindow (){ 
		this.zbc.setVisible(false);
	} 
	 
	/** 
	 * Disables the Field 
	 * @param disabled is true field is disabled 
	 */ 
	public void setDisabled(boolean disabled) {
		if (disabled) {
			this.selectedFieldX = -1;
			this.selectedFieldY = -1;
			invalidate();
		} 
		 
		this.fieldDisabled = disabled;
	}