X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=android-libraries%2Fachartengine%2Fsrc%2Forg%2Fachartengine%2Ftools%2FZoomListener.java;fp=android-libraries%2Fachartengine%2Fsrc%2Forg%2Fachartengine%2Ftools%2FZoomListener.java;h=4827483ea3f1e5ae46e98842c59ddceb6a63bd7e;hb=dfe153139b917cc91dddc1efa0298d4204616462;hp=0000000000000000000000000000000000000000;hpb=a2fe0ba2c348102bb0c6486b201be097523c2c9a;p=debian%2Fopenrocket diff --git a/android-libraries/achartengine/src/org/achartengine/tools/ZoomListener.java b/android-libraries/achartengine/src/org/achartengine/tools/ZoomListener.java new file mode 100644 index 00000000..4827483e --- /dev/null +++ b/android-libraries/achartengine/src/org/achartengine/tools/ZoomListener.java @@ -0,0 +1,33 @@ +/** + * Copyright (C) 2009 - 2012 SC 4ViewSoft SRL + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.achartengine.tools; + +/** + * A zoom listener. + */ +public interface ZoomListener { + + /** + * Called when a zoom change is triggered. + * @param e the zoom event + */ + void zoomApplied(ZoomEvent e); + + /** + * Called when a zoom reset is done. + */ + void zoomReset(); +}