test_class.declarator: adapter = new CalendarButtonSelectionAdapter()
test_class.modifier: private
test_class.original_string: private CalendarButtonSelectionAdapter adapter = new CalendarButtonSelectionAdapter();
test_class.type: CalendarButtonSelectionAdapter
test_class.var_name: adapter
test_class.file: subprojects/griffon-pivot/src/test/java/griffon/pivot/support/adapters/CalendarButtonSelectionAdapterTest.java
test_class.identifier: CalendarButtonSelectionAdapterTest
test_case.body: @Test
      public void testSelectedDateChanged() {
          final boolean[] invoked = new boolean[1];
          CallableWithArgs<Void> callable = new CallableWithArgs<Void>() {
              public Void call(Object... args) {
                  invoked[0] = true;
                  return null;
              } 
          };
  
          assertNull(adapter.getSelectedDateChanged());
          adapter.selectedDateChanged(null, null);
          assertFalse(invoked[0]);
  
          adapter.setSelectedDateChanged(callable);
          adapter.selectedDateChanged(null, null);
          assertTrue(invoked[0]);
      }
test_case.class_method_signature: CalendarButtonSelectionAdapterTest.testSelectedDateChanged()
test_case.full_signature: @Test public void testSelectedDateChanged()
test_case.identifier: testSelectedDateChanged
test_case.invocations: assertNull getSelectedDateChanged selectedDateChanged assertFalse setSelectedDateChanged selectedDateChanged assertTrue
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testSelectedDateChanged()
focal_class.declarator: selectedDateChanged
focal_class.modifier: private
focal_class.original_string: private CallableWithArgs<Void> selectedDateChanged;
focal_class.type: CallableWithArgs<Void>
focal_class.var_name: selectedDateChanged
focal_class.file: subprojects/griffon-pivot/src/main/java/griffon/pivot/support/adapters/CalendarButtonSelectionAdapter.java
focal_class.identifier: CalendarButtonSelectionAdapter
focal_class.interfaces: implements GriffonPivotAdapter, org.apache.pivot.wtk.CalendarButtonSelectionListener
focal_class.class_method_signature: CalendarButtonSelectionAdapter.getSelectedDateChanged()
focal_class.full_signature: public CallableWithArgs<Void> getSelectedDateChanged()
focal_class.identifier: getSelectedDateChanged
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: CallableWithArgs<Void>
focal_class.signature: CallableWithArgs<Void> getSelectedDateChanged()
focal_class.class_method_signature: CalendarButtonSelectionAdapter.setSelectedDateChanged(CallableWithArgs<Void> selectedDateChanged)
focal_class.full_signature: public void setSelectedDateChanged(CallableWithArgs<Void> selectedDateChanged)
focal_class.identifier: setSelectedDateChanged
focal_class.modifiers: public
focal_class.parameters: (CallableWithArgs<Void> selectedDateChanged)
focal_class.return: void
focal_class.signature: void setSelectedDateChanged(CallableWithArgs<Void> selectedDateChanged)
focal_class.class_method_signature: CalendarButtonSelectionAdapter.selectedDateChanged(org.apache.pivot.wtk.CalendarButton arg0, org.apache.pivot.util.CalendarDate arg1)
focal_class.full_signature: public void selectedDateChanged(org.apache.pivot.wtk.CalendarButton arg0, org.apache.pivot.util.CalendarDate arg1)
focal_class.identifier: selectedDateChanged
focal_class.modifiers: public
focal_class.parameters: (org.apache.pivot.wtk.CalendarButton arg0, org.apache.pivot.util.CalendarDate arg1)
focal_class.return: void
focal_class.signature: void selectedDateChanged(org.apache.pivot.wtk.CalendarButton arg0, org.apache.pivot.util.CalendarDate arg1)
focal_method.body: public void selectedDateChanged(org.apache.pivot.wtk.CalendarButton arg0, org.apache.pivot.util.CalendarDate arg1) {
          if (selectedDateChanged != null) {
              selectedDateChanged.call(arg0, arg1);
          }
      }
focal_method.class_method_signature: CalendarButtonSelectionAdapter.selectedDateChanged(org.apache.pivot.wtk.CalendarButton arg0, org.apache.pivot.util.CalendarDate arg1)
focal_method.full_signature: public void selectedDateChanged(org.apache.pivot.wtk.CalendarButton arg0, org.apache.pivot.util.CalendarDate arg1)
focal_method.identifier: selectedDateChanged
focal_method.invocations: call
focal_method.modifiers: public
focal_method.parameters: (org.apache.pivot.wtk.CalendarButton arg0, org.apache.pivot.util.CalendarDate arg1)
focal_method.return: void
focal_method.signature: void selectedDateChanged(org.apache.pivot.wtk.CalendarButton arg0, org.apache.pivot.util.CalendarDate arg1)