test_class.declarator: adapter = new ViewportAdapter()
test_class.modifier: private
test_class.original_string: private ViewportAdapter adapter = new ViewportAdapter();
test_class.type: ViewportAdapter
test_class.var_name: adapter
test_class.file: subprojects/griffon-pivot/src/test/java/griffon/pivot/support/adapters/ViewportAdapterTest.java
test_class.identifier: ViewportAdapterTest
test_case.body: @Test
      public void testScrollLeftChanged() {
          final boolean[] invoked = new boolean[1];
          CallableWithArgs<Void> callable = new CallableWithArgs<Void>() {
              public Void call(Object... args) {
                  invoked[0] = true;
                  return null;
              } 
          };
  
          assertNull(adapter.getScrollLeftChanged());
          adapter.scrollLeftChanged(null, 0);
          assertFalse(invoked[0]);
  
          adapter.setScrollLeftChanged(callable);
          adapter.scrollLeftChanged(null, 0);
          assertTrue(invoked[0]);
      }
test_case.class_method_signature: ViewportAdapterTest.testScrollLeftChanged()
test_case.full_signature: @Test public void testScrollLeftChanged()
test_case.identifier: testScrollLeftChanged
test_case.invocations: assertNull getScrollLeftChanged scrollLeftChanged assertFalse setScrollLeftChanged scrollLeftChanged assertTrue
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testScrollLeftChanged()
focal_class.declarator: scrollTopChanged
focal_class.modifier: private
focal_class.original_string: private CallableWithArgs<Void> scrollTopChanged;
focal_class.type: CallableWithArgs<Void>
focal_class.var_name: scrollTopChanged
focal_class.declarator: scrollLeftChanged
focal_class.modifier: private
focal_class.original_string: private CallableWithArgs<Void> scrollLeftChanged;
focal_class.type: CallableWithArgs<Void>
focal_class.var_name: scrollLeftChanged
focal_class.declarator: viewChanged
focal_class.modifier: private
focal_class.original_string: private CallableWithArgs<Void> viewChanged;
focal_class.type: CallableWithArgs<Void>
focal_class.var_name: viewChanged
focal_class.file: subprojects/griffon-pivot/src/main/java/griffon/pivot/support/adapters/ViewportAdapter.java
focal_class.identifier: ViewportAdapter
focal_class.interfaces: implements GriffonPivotAdapter, org.apache.pivot.wtk.ViewportListener
focal_class.class_method_signature: ViewportAdapter.getScrollTopChanged()
focal_class.full_signature: public CallableWithArgs<Void> getScrollTopChanged()
focal_class.identifier: getScrollTopChanged
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: CallableWithArgs<Void>
focal_class.signature: CallableWithArgs<Void> getScrollTopChanged()
focal_class.class_method_signature: ViewportAdapter.getScrollLeftChanged()
focal_class.full_signature: public CallableWithArgs<Void> getScrollLeftChanged()
focal_class.identifier: getScrollLeftChanged
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: CallableWithArgs<Void>
focal_class.signature: CallableWithArgs<Void> getScrollLeftChanged()
focal_class.class_method_signature: ViewportAdapter.getViewChanged()
focal_class.full_signature: public CallableWithArgs<Void> getViewChanged()
focal_class.identifier: getViewChanged
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: CallableWithArgs<Void>
focal_class.signature: CallableWithArgs<Void> getViewChanged()
focal_class.class_method_signature: ViewportAdapter.setScrollTopChanged(CallableWithArgs<Void> scrollTopChanged)
focal_class.full_signature: public void setScrollTopChanged(CallableWithArgs<Void> scrollTopChanged)
focal_class.identifier: setScrollTopChanged
focal_class.modifiers: public
focal_class.parameters: (CallableWithArgs<Void> scrollTopChanged)
focal_class.return: void
focal_class.signature: void setScrollTopChanged(CallableWithArgs<Void> scrollTopChanged)
focal_class.class_method_signature: ViewportAdapter.setScrollLeftChanged(CallableWithArgs<Void> scrollLeftChanged)
focal_class.full_signature: public void setScrollLeftChanged(CallableWithArgs<Void> scrollLeftChanged)
focal_class.identifier: setScrollLeftChanged
focal_class.modifiers: public
focal_class.parameters: (CallableWithArgs<Void> scrollLeftChanged)
focal_class.return: void
focal_class.signature: void setScrollLeftChanged(CallableWithArgs<Void> scrollLeftChanged)
focal_class.class_method_signature: ViewportAdapter.setViewChanged(CallableWithArgs<Void> viewChanged)
focal_class.full_signature: public void setViewChanged(CallableWithArgs<Void> viewChanged)
focal_class.identifier: setViewChanged
focal_class.modifiers: public
focal_class.parameters: (CallableWithArgs<Void> viewChanged)
focal_class.return: void
focal_class.signature: void setViewChanged(CallableWithArgs<Void> viewChanged)
focal_class.class_method_signature: ViewportAdapter.scrollTopChanged(org.apache.pivot.wtk.Viewport arg0, int arg1)
focal_class.full_signature: public void scrollTopChanged(org.apache.pivot.wtk.Viewport arg0, int arg1)
focal_class.identifier: scrollTopChanged
focal_class.modifiers: public
focal_class.parameters: (org.apache.pivot.wtk.Viewport arg0, int arg1)
focal_class.return: void
focal_class.signature: void scrollTopChanged(org.apache.pivot.wtk.Viewport arg0, int arg1)
focal_class.class_method_signature: ViewportAdapter.scrollLeftChanged(org.apache.pivot.wtk.Viewport arg0, int arg1)
focal_class.full_signature: public void scrollLeftChanged(org.apache.pivot.wtk.Viewport arg0, int arg1)
focal_class.identifier: scrollLeftChanged
focal_class.modifiers: public
focal_class.parameters: (org.apache.pivot.wtk.Viewport arg0, int arg1)
focal_class.return: void
focal_class.signature: void scrollLeftChanged(org.apache.pivot.wtk.Viewport arg0, int arg1)
focal_class.class_method_signature: ViewportAdapter.viewChanged(org.apache.pivot.wtk.Viewport arg0, org.apache.pivot.wtk.Component arg1)
focal_class.full_signature: public void viewChanged(org.apache.pivot.wtk.Viewport arg0, org.apache.pivot.wtk.Component arg1)
focal_class.identifier: viewChanged
focal_class.modifiers: public
focal_class.parameters: (org.apache.pivot.wtk.Viewport arg0, org.apache.pivot.wtk.Component arg1)
focal_class.return: void
focal_class.signature: void viewChanged(org.apache.pivot.wtk.Viewport arg0, org.apache.pivot.wtk.Component arg1)
focal_method.body: public void scrollLeftChanged(org.apache.pivot.wtk.Viewport arg0, int arg1) {
          if (scrollLeftChanged != null) {
              scrollLeftChanged.call(arg0, arg1);
          }
      }
focal_method.class_method_signature: ViewportAdapter.scrollLeftChanged(org.apache.pivot.wtk.Viewport arg0, int arg1)
focal_method.full_signature: public void scrollLeftChanged(org.apache.pivot.wtk.Viewport arg0, int arg1)
focal_method.identifier: scrollLeftChanged
focal_method.invocations: call
focal_method.modifiers: public
focal_method.parameters: (org.apache.pivot.wtk.Viewport arg0, int arg1)
focal_method.return: void
focal_method.signature: void scrollLeftChanged(org.apache.pivot.wtk.Viewport arg0, int arg1)