test_class.declarator: adapter = new TextAreaSelectionAdapter()
test_class.modifier: private
test_class.original_string: private TextAreaSelectionAdapter adapter = new TextAreaSelectionAdapter();
test_class.type: TextAreaSelectionAdapter
test_class.var_name: adapter
test_class.file: subprojects/griffon-pivot/src/test/java/griffon/pivot/support/adapters/TextAreaSelectionAdapterTest.java
test_class.identifier: TextAreaSelectionAdapterTest
test_case.body: @Test
      public void testSelectionChanged() {
          final boolean[] invoked = new boolean[1];
          CallableWithArgs<Void> callable = new CallableWithArgs<Void>() {
              public Void call(Object... args) {
                  invoked[0] = true;
                  return null;
              } 
          };
  
          assertNull(adapter.getSelectionChanged());
          adapter.selectionChanged(null, 0, 0);
          assertFalse(invoked[0]);
  
          adapter.setSelectionChanged(callable);
          adapter.selectionChanged(null, 0, 0);
          assertTrue(invoked[0]);
      }
test_case.class_method_signature: TextAreaSelectionAdapterTest.testSelectionChanged()
test_case.full_signature: @Test public void testSelectionChanged()
test_case.identifier: testSelectionChanged
test_case.invocations: assertNull getSelectionChanged selectionChanged assertFalse setSelectionChanged selectionChanged assertTrue
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testSelectionChanged()
focal_class.declarator: selectionChanged
focal_class.modifier: private
focal_class.original_string: private CallableWithArgs<Void> selectionChanged;
focal_class.type: CallableWithArgs<Void>
focal_class.var_name: selectionChanged
focal_class.file: subprojects/griffon-pivot/src/main/java/griffon/pivot/support/adapters/TextAreaSelectionAdapter.java
focal_class.identifier: TextAreaSelectionAdapter
focal_class.interfaces: implements GriffonPivotAdapter, org.apache.pivot.wtk.TextAreaSelectionListener
focal_class.class_method_signature: TextAreaSelectionAdapter.getSelectionChanged()
focal_class.full_signature: public CallableWithArgs<Void> getSelectionChanged()
focal_class.identifier: getSelectionChanged
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: CallableWithArgs<Void>
focal_class.signature: CallableWithArgs<Void> getSelectionChanged()
focal_class.class_method_signature: TextAreaSelectionAdapter.setSelectionChanged(CallableWithArgs<Void> selectionChanged)
focal_class.full_signature: public void setSelectionChanged(CallableWithArgs<Void> selectionChanged)
focal_class.identifier: setSelectionChanged
focal_class.modifiers: public
focal_class.parameters: (CallableWithArgs<Void> selectionChanged)
focal_class.return: void
focal_class.signature: void setSelectionChanged(CallableWithArgs<Void> selectionChanged)
focal_class.class_method_signature: TextAreaSelectionAdapter.selectionChanged(org.apache.pivot.wtk.TextArea arg0, int arg1, int arg2)
focal_class.full_signature: public void selectionChanged(org.apache.pivot.wtk.TextArea arg0, int arg1, int arg2)
focal_class.identifier: selectionChanged
focal_class.modifiers: public
focal_class.parameters: (org.apache.pivot.wtk.TextArea arg0, int arg1, int arg2)
focal_class.return: void
focal_class.signature: void selectionChanged(org.apache.pivot.wtk.TextArea arg0, int arg1, int arg2)
focal_method.body: public void selectionChanged(org.apache.pivot.wtk.TextArea arg0, int arg1, int arg2) {
          if (selectionChanged != null) {
              selectionChanged.call(arg0, arg1, arg2);
          }
      }
focal_method.class_method_signature: TextAreaSelectionAdapter.selectionChanged(org.apache.pivot.wtk.TextArea arg0, int arg1, int arg2)
focal_method.full_signature: public void selectionChanged(org.apache.pivot.wtk.TextArea arg0, int arg1, int arg2)
focal_method.identifier: selectionChanged
focal_method.invocations: call
focal_method.modifiers: public
focal_method.parameters: (org.apache.pivot.wtk.TextArea arg0, int arg1, int arg2)
focal_method.return: void
focal_method.signature: void selectionChanged(org.apache.pivot.wtk.TextArea arg0, int arg1, int arg2)