public void setZoomButtonsVisible ( boolean zoomButtonsVisible ) { boolean old = this . isZoomButtonsVisible ( ) ; this . zoomButtonsVisible = zoomButtonsVisible ; zoomInButton . setVisible ( zoomButtonsVisible ) ; zoomOutButton . setVisible ( zoomButtonsVisible ) ; firePropertyChange ( "zoomButtonsVisible" , old , this . isZoomButtonsVisible ( ) ) ; }
Sets if the zoom buttons should be visible . This ia bound property . Changes can be listened for using a PropertyChaneListener