find persistentname in the available zoomstates or add new states until it is found . or the maximum allowed zoomstate is reached , in this case the zoomstate is not changed . concode_field_sep List<ZoomListener> myListeners concode_elem_sep TimeUnitPair myTimeUnitPair concode_elem_sep ArrayList<ZoomState> myZoomStates concode_elem_sep int myBottomUnitWidth concode_elem_sep int myStateNumber concode_elem_sep boolean myMaximumZoomStateReached concode_elem_sep float myZoomStep concode_elem_sep int myZooming concode_field_sep ZoomState getZoomState concode_elem_sep ZoomState getZoomState concode_elem_sep int getValue concode_elem_sep boolean canZoomIn concode_elem_sep boolean canZoomOut concode_elem_sep void zoomIn concode_elem_sep String getPersistentName concode_elem_sep void zoomOut concode_elem_sep TimeUnitPair getTimeUnitPair concode_elem_sep int getBottomUnitWidth concode_elem_sep void addZoomListener concode_elem_sep void removeZoomListener concode_elem_sep void fireZoomingChanged
void function ( String arg0 ) { for ( int loc0 = 0 ; loc0 < myZoomStates . size ( ) || myMaximumZoomStateReached == false ; loc0 ++ ) { if ( getZoomState ( loc0 ) . getPersistentName ( ) . equals ( arg0 ) ) { myZooming = loc0 ; fireZoomingChanged ( 0 , myZooming ) ; break ; } } }