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