public void AddPanListener(global::Org.Achartengine.Tools.IPanListener p0)
 {
     if (id_addPanListener_Lorg_achartengine_tools_PanListener_ == IntPtr.Zero)
     {
         id_addPanListener_Lorg_achartengine_tools_PanListener_ = JNIEnv.GetMethodID(class_ref, "addPanListener", "(Lorg/achartengine/tools/PanListener;)V");
     }
     JNIEnv.CallVoidMethod(Handle, id_addPanListener_Lorg_achartengine_tools_PanListener_, new JValue(p0));
 }
Beispiel #2
0
        public virtual void AddPanListener(global::Org.Achartengine.Tools.IPanListener p0)
        {
            if (id_addPanListener_Lorg_achartengine_tools_PanListener_ == IntPtr.Zero)
            {
                id_addPanListener_Lorg_achartengine_tools_PanListener_ = JNIEnv.GetMethodID(class_ref, "addPanListener", "(Lorg/achartengine/tools/PanListener;)V");
            }

            if (GetType() == ThresholdType)
            {
                JNIEnv.CallVoidMethod(Handle, id_addPanListener_Lorg_achartengine_tools_PanListener_, new JValue(p0));
            }
            else
            {
                JNIEnv.CallNonvirtualVoidMethod(Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "addPanListener", "(Lorg/achartengine/tools/PanListener;)V"), new JValue(p0));
            }
        }
 static void n_AddPanListener_Lorg_achartengine_tools_PanListener_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
 {
     global::Org.Achartengine.ITouchHandler      __this = global::Java.Lang.Object.GetObject <global::Org.Achartengine.ITouchHandler> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Org.Achartengine.Tools.IPanListener p0     = (global::Org.Achartengine.Tools.IPanListener)global::Java.Lang.Object.GetObject <global::Org.Achartengine.Tools.IPanListener> (native_p0, JniHandleOwnership.DoNotTransfer);
     __this.AddPanListener(p0);
 }