test_class.declarator: adapter = new BlockAdapter()
test_class.modifier: private
test_class.original_string: private BlockAdapter adapter = new BlockAdapter();
test_class.type: BlockAdapter
test_class.var_name: adapter
test_class.file: subprojects/griffon-pivot/src/test/java/griffon/pivot/support/adapters/BlockAdapterTest.java
test_class.identifier: BlockAdapterTest
test_case.body: @Test
      public void testHorizontalAlignmentChanged() {
          final boolean[] invoked = new boolean[1];
          CallableWithArgs<Void> callable = new CallableWithArgs<Void>() {
              public Void call(Object... args) {
                  invoked[0] = true;
                  return null;
              } 
          };
  
          assertNull(adapter.getHorizontalAlignmentChanged());
          adapter.horizontalAlignmentChanged(null, null);
          assertFalse(invoked[0]);
  
          adapter.setHorizontalAlignmentChanged(callable);
          adapter.horizontalAlignmentChanged(null, null);
          assertTrue(invoked[0]);
      }
test_case.class_method_signature: BlockAdapterTest.testHorizontalAlignmentChanged()
test_case.full_signature: @Test public void testHorizontalAlignmentChanged()
test_case.identifier: testHorizontalAlignmentChanged
test_case.invocations: assertNull getHorizontalAlignmentChanged horizontalAlignmentChanged assertFalse setHorizontalAlignmentChanged horizontalAlignmentChanged assertTrue
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testHorizontalAlignmentChanged()
focal_class.declarator: horizontalAlignmentChanged
focal_class.modifier: private
focal_class.original_string: private CallableWithArgs<Void> horizontalAlignmentChanged;
focal_class.type: CallableWithArgs<Void>
focal_class.var_name: horizontalAlignmentChanged
focal_class.file: subprojects/griffon-pivot/src/main/java/griffon/pivot/support/adapters/BlockAdapter.java
focal_class.identifier: BlockAdapter
focal_class.interfaces: implements GriffonPivotAdapter, org.apache.pivot.wtk.text.BlockListener
focal_class.class_method_signature: BlockAdapter.getHorizontalAlignmentChanged()
focal_class.full_signature: public CallableWithArgs<Void> getHorizontalAlignmentChanged()
focal_class.identifier: getHorizontalAlignmentChanged
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: CallableWithArgs<Void>
focal_class.signature: CallableWithArgs<Void> getHorizontalAlignmentChanged()
focal_class.class_method_signature: BlockAdapter.setHorizontalAlignmentChanged(CallableWithArgs<Void> horizontalAlignmentChanged)
focal_class.full_signature: public void setHorizontalAlignmentChanged(CallableWithArgs<Void> horizontalAlignmentChanged)
focal_class.identifier: setHorizontalAlignmentChanged
focal_class.modifiers: public
focal_class.parameters: (CallableWithArgs<Void> horizontalAlignmentChanged)
focal_class.return: void
focal_class.signature: void setHorizontalAlignmentChanged(CallableWithArgs<Void> horizontalAlignmentChanged)
focal_class.class_method_signature: BlockAdapter.horizontalAlignmentChanged(org.apache.pivot.wtk.text.Block arg0, org.apache.pivot.wtk.HorizontalAlignment arg1)
focal_class.full_signature: public void horizontalAlignmentChanged(org.apache.pivot.wtk.text.Block arg0, org.apache.pivot.wtk.HorizontalAlignment arg1)
focal_class.identifier: horizontalAlignmentChanged
focal_class.modifiers: public
focal_class.parameters: (org.apache.pivot.wtk.text.Block arg0, org.apache.pivot.wtk.HorizontalAlignment arg1)
focal_class.return: void
focal_class.signature: void horizontalAlignmentChanged(org.apache.pivot.wtk.text.Block arg0, org.apache.pivot.wtk.HorizontalAlignment arg1)
focal_method.body: public void horizontalAlignmentChanged(org.apache.pivot.wtk.text.Block arg0, org.apache.pivot.wtk.HorizontalAlignment arg1) {
          if (horizontalAlignmentChanged != null) {
              horizontalAlignmentChanged.call(arg0, arg1);
          }
      }
focal_method.class_method_signature: BlockAdapter.horizontalAlignmentChanged(org.apache.pivot.wtk.text.Block arg0, org.apache.pivot.wtk.HorizontalAlignment arg1)
focal_method.full_signature: public void horizontalAlignmentChanged(org.apache.pivot.wtk.text.Block arg0, org.apache.pivot.wtk.HorizontalAlignment arg1)
focal_method.identifier: horizontalAlignmentChanged
focal_method.invocations: call
focal_method.modifiers: public
focal_method.parameters: (org.apache.pivot.wtk.text.Block arg0, org.apache.pivot.wtk.HorizontalAlignment arg1)
focal_method.return: void
focal_method.signature: void horizontalAlignmentChanged(org.apache.pivot.wtk.text.Block arg0, org.apache.pivot.wtk.HorizontalAlignment arg1)