test_class.declarator: adapter = new TextPaneAdapter()
test_class.modifier: private
test_class.original_string: private TextPaneAdapter adapter = new TextPaneAdapter();
test_class.type: TextPaneAdapter
test_class.var_name: adapter
test_class.file: subprojects/griffon-pivot/src/test/java/griffon/pivot/support/adapters/TextPaneAdapterTest.java
test_class.identifier: TextPaneAdapterTest
test_case.body: @Test
      public void testDocumentChanged() {
          final boolean[] invoked = new boolean[1];
          CallableWithArgs<Void> callable = new CallableWithArgs<Void>() {
              public Void call(Object... args) {
                  invoked[0] = true;
                  return null;
              } 
          };
  
          assertNull(adapter.getDocumentChanged());
          adapter.documentChanged(null, null);
          assertFalse(invoked[0]);
  
          adapter.setDocumentChanged(callable);
          adapter.documentChanged(null, null);
          assertTrue(invoked[0]);
      }
test_case.class_method_signature: TextPaneAdapterTest.testDocumentChanged()
test_case.full_signature: @Test public void testDocumentChanged()
test_case.identifier: testDocumentChanged
test_case.invocations: assertNull getDocumentChanged documentChanged assertFalse setDocumentChanged documentChanged assertTrue
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testDocumentChanged()
focal_class.declarator: documentChanged
focal_class.modifier: private
focal_class.original_string: private CallableWithArgs<Void> documentChanged;
focal_class.type: CallableWithArgs<Void>
focal_class.var_name: documentChanged
focal_class.declarator: editableChanged
focal_class.modifier: private
focal_class.original_string: private CallableWithArgs<Void> editableChanged;
focal_class.type: CallableWithArgs<Void>
focal_class.var_name: editableChanged
focal_class.file: subprojects/griffon-pivot/src/main/java/griffon/pivot/support/adapters/TextPaneAdapter.java
focal_class.identifier: TextPaneAdapter
focal_class.interfaces: implements GriffonPivotAdapter, org.apache.pivot.wtk.TextPaneListener
focal_class.class_method_signature: TextPaneAdapter.getDocumentChanged()
focal_class.full_signature: public CallableWithArgs<Void> getDocumentChanged()
focal_class.identifier: getDocumentChanged
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: CallableWithArgs<Void>
focal_class.signature: CallableWithArgs<Void> getDocumentChanged()
focal_class.class_method_signature: TextPaneAdapter.getEditableChanged()
focal_class.full_signature: public CallableWithArgs<Void> getEditableChanged()
focal_class.identifier: getEditableChanged
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: CallableWithArgs<Void>
focal_class.signature: CallableWithArgs<Void> getEditableChanged()
focal_class.class_method_signature: TextPaneAdapter.setDocumentChanged(CallableWithArgs<Void> documentChanged)
focal_class.full_signature: public void setDocumentChanged(CallableWithArgs<Void> documentChanged)
focal_class.identifier: setDocumentChanged
focal_class.modifiers: public
focal_class.parameters: (CallableWithArgs<Void> documentChanged)
focal_class.return: void
focal_class.signature: void setDocumentChanged(CallableWithArgs<Void> documentChanged)
focal_class.class_method_signature: TextPaneAdapter.setEditableChanged(CallableWithArgs<Void> editableChanged)
focal_class.full_signature: public void setEditableChanged(CallableWithArgs<Void> editableChanged)
focal_class.identifier: setEditableChanged
focal_class.modifiers: public
focal_class.parameters: (CallableWithArgs<Void> editableChanged)
focal_class.return: void
focal_class.signature: void setEditableChanged(CallableWithArgs<Void> editableChanged)
focal_class.class_method_signature: TextPaneAdapter.documentChanged(org.apache.pivot.wtk.TextPane arg0, org.apache.pivot.wtk.text.Document arg1)
focal_class.full_signature: public void documentChanged(org.apache.pivot.wtk.TextPane arg0, org.apache.pivot.wtk.text.Document arg1)
focal_class.identifier: documentChanged
focal_class.modifiers: public
focal_class.parameters: (org.apache.pivot.wtk.TextPane arg0, org.apache.pivot.wtk.text.Document arg1)
focal_class.return: void
focal_class.signature: void documentChanged(org.apache.pivot.wtk.TextPane arg0, org.apache.pivot.wtk.text.Document arg1)
focal_class.class_method_signature: TextPaneAdapter.editableChanged(org.apache.pivot.wtk.TextPane arg0)
focal_class.full_signature: public void editableChanged(org.apache.pivot.wtk.TextPane arg0)
focal_class.identifier: editableChanged
focal_class.modifiers: public
focal_class.parameters: (org.apache.pivot.wtk.TextPane arg0)
focal_class.return: void
focal_class.signature: void editableChanged(org.apache.pivot.wtk.TextPane arg0)
focal_method.body: public void documentChanged(org.apache.pivot.wtk.TextPane arg0, org.apache.pivot.wtk.text.Document arg1) {
          if (documentChanged != null) {
              documentChanged.call(arg0, arg1);
          }
      }
focal_method.class_method_signature: TextPaneAdapter.documentChanged(org.apache.pivot.wtk.TextPane arg0, org.apache.pivot.wtk.text.Document arg1)
focal_method.full_signature: public void documentChanged(org.apache.pivot.wtk.TextPane arg0, org.apache.pivot.wtk.text.Document arg1)
focal_method.identifier: documentChanged
focal_method.invocations: call
focal_method.modifiers: public
focal_method.parameters: (org.apache.pivot.wtk.TextPane arg0, org.apache.pivot.wtk.text.Document arg1)
focal_method.return: void
focal_method.signature: void documentChanged(org.apache.pivot.wtk.TextPane arg0, org.apache.pivot.wtk.text.Document arg1)