test_class.declarator: adapter = new ElementAdapter()
test_class.modifier: private
test_class.original_string: private ElementAdapter adapter = new ElementAdapter();
test_class.type: ElementAdapter
test_class.var_name: adapter
test_class.file: subprojects/griffon-pivot/src/test/java/griffon/pivot/support/adapters/ElementAdapterTest.java
test_class.identifier: ElementAdapterTest
test_case.body: @Test
      public void testNodesRemoved() {
          final boolean[] invoked = new boolean[1];
          CallableWithArgs<Void> callable = new CallableWithArgs<Void>() {
              public Void call(Object... args) {
                  invoked[0] = true;
                  return null;
              } 
          };
  
          assertNull(adapter.getNodesRemoved());
          adapter.nodesRemoved(null, 0, null);
          assertFalse(invoked[0]);
  
          adapter.setNodesRemoved(callable);
          adapter.nodesRemoved(null, 0, null);
          assertTrue(invoked[0]);
      }
test_case.class_method_signature: ElementAdapterTest.testNodesRemoved()
test_case.full_signature: @Test public void testNodesRemoved()
test_case.identifier: testNodesRemoved
test_case.invocations: assertNull getNodesRemoved nodesRemoved assertFalse setNodesRemoved nodesRemoved assertTrue
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testNodesRemoved()
focal_class.declarator: nodeInserted
focal_class.modifier: private
focal_class.original_string: private CallableWithArgs<Void> nodeInserted;
focal_class.type: CallableWithArgs<Void>
focal_class.var_name: nodeInserted
focal_class.declarator: nodesRemoved
focal_class.modifier: private
focal_class.original_string: private CallableWithArgs<Void> nodesRemoved;
focal_class.type: CallableWithArgs<Void>
focal_class.var_name: nodesRemoved
focal_class.declarator: fontChanged
focal_class.modifier: private
focal_class.original_string: private CallableWithArgs<Void> fontChanged;
focal_class.type: CallableWithArgs<Void>
focal_class.var_name: fontChanged
focal_class.declarator: foregroundColorChanged
focal_class.modifier: private
focal_class.original_string: private CallableWithArgs<Void> foregroundColorChanged;
focal_class.type: CallableWithArgs<Void>
focal_class.var_name: foregroundColorChanged
focal_class.declarator: backgroundColorChanged
focal_class.modifier: private
focal_class.original_string: private CallableWithArgs<Void> backgroundColorChanged;
focal_class.type: CallableWithArgs<Void>
focal_class.var_name: backgroundColorChanged
focal_class.declarator: underlineChanged
focal_class.modifier: private
focal_class.original_string: private CallableWithArgs<Void> underlineChanged;
focal_class.type: CallableWithArgs<Void>
focal_class.var_name: underlineChanged
focal_class.declarator: strikethroughChanged
focal_class.modifier: private
focal_class.original_string: private CallableWithArgs<Void> strikethroughChanged;
focal_class.type: CallableWithArgs<Void>
focal_class.var_name: strikethroughChanged
focal_class.file: subprojects/griffon-pivot/src/main/java/griffon/pivot/support/adapters/ElementAdapter.java
focal_class.identifier: ElementAdapter
focal_class.interfaces: implements GriffonPivotAdapter, org.apache.pivot.wtk.text.ElementListener
focal_class.class_method_signature: ElementAdapter.getNodeInserted()
focal_class.full_signature: public CallableWithArgs<Void> getNodeInserted()
focal_class.identifier: getNodeInserted
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: CallableWithArgs<Void>
focal_class.signature: CallableWithArgs<Void> getNodeInserted()
focal_class.class_method_signature: ElementAdapter.getNodesRemoved()
focal_class.full_signature: public CallableWithArgs<Void> getNodesRemoved()
focal_class.identifier: getNodesRemoved
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: CallableWithArgs<Void>
focal_class.signature: CallableWithArgs<Void> getNodesRemoved()
focal_class.class_method_signature: ElementAdapter.getFontChanged()
focal_class.full_signature: public CallableWithArgs<Void> getFontChanged()
focal_class.identifier: getFontChanged
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: CallableWithArgs<Void>
focal_class.signature: CallableWithArgs<Void> getFontChanged()
focal_class.class_method_signature: ElementAdapter.getForegroundColorChanged()
focal_class.full_signature: public CallableWithArgs<Void> getForegroundColorChanged()
focal_class.identifier: getForegroundColorChanged
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: CallableWithArgs<Void>
focal_class.signature: CallableWithArgs<Void> getForegroundColorChanged()
focal_class.class_method_signature: ElementAdapter.getBackgroundColorChanged()
focal_class.full_signature: public CallableWithArgs<Void> getBackgroundColorChanged()
focal_class.identifier: getBackgroundColorChanged
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: CallableWithArgs<Void>
focal_class.signature: CallableWithArgs<Void> getBackgroundColorChanged()
focal_class.class_method_signature: ElementAdapter.getUnderlineChanged()
focal_class.full_signature: public CallableWithArgs<Void> getUnderlineChanged()
focal_class.identifier: getUnderlineChanged
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: CallableWithArgs<Void>
focal_class.signature: CallableWithArgs<Void> getUnderlineChanged()
focal_class.class_method_signature: ElementAdapter.getStrikethroughChanged()
focal_class.full_signature: public CallableWithArgs<Void> getStrikethroughChanged()
focal_class.identifier: getStrikethroughChanged
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: CallableWithArgs<Void>
focal_class.signature: CallableWithArgs<Void> getStrikethroughChanged()
focal_class.class_method_signature: ElementAdapter.setNodeInserted(CallableWithArgs<Void> nodeInserted)
focal_class.full_signature: public void setNodeInserted(CallableWithArgs<Void> nodeInserted)
focal_class.identifier: setNodeInserted
focal_class.modifiers: public
focal_class.parameters: (CallableWithArgs<Void> nodeInserted)
focal_class.return: void
focal_class.signature: void setNodeInserted(CallableWithArgs<Void> nodeInserted)
focal_class.class_method_signature: ElementAdapter.setNodesRemoved(CallableWithArgs<Void> nodesRemoved)
focal_class.full_signature: public void setNodesRemoved(CallableWithArgs<Void> nodesRemoved)
focal_class.identifier: setNodesRemoved
focal_class.modifiers: public
focal_class.parameters: (CallableWithArgs<Void> nodesRemoved)
focal_class.return: void
focal_class.signature: void setNodesRemoved(CallableWithArgs<Void> nodesRemoved)
focal_class.class_method_signature: ElementAdapter.setFontChanged(CallableWithArgs<Void> fontChanged)
focal_class.full_signature: public void setFontChanged(CallableWithArgs<Void> fontChanged)
focal_class.identifier: setFontChanged
focal_class.modifiers: public
focal_class.parameters: (CallableWithArgs<Void> fontChanged)
focal_class.return: void
focal_class.signature: void setFontChanged(CallableWithArgs<Void> fontChanged)
focal_class.class_method_signature: ElementAdapter.setForegroundColorChanged(CallableWithArgs<Void> foregroundColorChanged)
focal_class.full_signature: public void setForegroundColorChanged(CallableWithArgs<Void> foregroundColorChanged)
focal_class.identifier: setForegroundColorChanged
focal_class.modifiers: public
focal_class.parameters: (CallableWithArgs<Void> foregroundColorChanged)
focal_class.return: void
focal_class.signature: void setForegroundColorChanged(CallableWithArgs<Void> foregroundColorChanged)
focal_class.class_method_signature: ElementAdapter.setBackgroundColorChanged(CallableWithArgs<Void> backgroundColorChanged)
focal_class.full_signature: public void setBackgroundColorChanged(CallableWithArgs<Void> backgroundColorChanged)
focal_class.identifier: setBackgroundColorChanged
focal_class.modifiers: public
focal_class.parameters: (CallableWithArgs<Void> backgroundColorChanged)
focal_class.return: void
focal_class.signature: void setBackgroundColorChanged(CallableWithArgs<Void> backgroundColorChanged)
focal_class.class_method_signature: ElementAdapter.setUnderlineChanged(CallableWithArgs<Void> underlineChanged)
focal_class.full_signature: public void setUnderlineChanged(CallableWithArgs<Void> underlineChanged)
focal_class.identifier: setUnderlineChanged
focal_class.modifiers: public
focal_class.parameters: (CallableWithArgs<Void> underlineChanged)
focal_class.return: void
focal_class.signature: void setUnderlineChanged(CallableWithArgs<Void> underlineChanged)
focal_class.class_method_signature: ElementAdapter.setStrikethroughChanged(CallableWithArgs<Void> strikethroughChanged)
focal_class.full_signature: public void setStrikethroughChanged(CallableWithArgs<Void> strikethroughChanged)
focal_class.identifier: setStrikethroughChanged
focal_class.modifiers: public
focal_class.parameters: (CallableWithArgs<Void> strikethroughChanged)
focal_class.return: void
focal_class.signature: void setStrikethroughChanged(CallableWithArgs<Void> strikethroughChanged)
focal_class.class_method_signature: ElementAdapter.nodeInserted(org.apache.pivot.wtk.text.Element arg0, int arg1)
focal_class.full_signature: public void nodeInserted(org.apache.pivot.wtk.text.Element arg0, int arg1)
focal_class.identifier: nodeInserted
focal_class.modifiers: public
focal_class.parameters: (org.apache.pivot.wtk.text.Element arg0, int arg1)
focal_class.return: void
focal_class.signature: void nodeInserted(org.apache.pivot.wtk.text.Element arg0, int arg1)
focal_class.class_method_signature: ElementAdapter.nodesRemoved(org.apache.pivot.wtk.text.Element arg0, int arg1, org.apache.pivot.collections.Sequence<Node> arg2)
focal_class.full_signature: public void nodesRemoved(org.apache.pivot.wtk.text.Element arg0, int arg1, org.apache.pivot.collections.Sequence<Node> arg2)
focal_class.identifier: nodesRemoved
focal_class.modifiers: public
focal_class.parameters: (org.apache.pivot.wtk.text.Element arg0, int arg1, org.apache.pivot.collections.Sequence<Node> arg2)
focal_class.return: void
focal_class.signature: void nodesRemoved(org.apache.pivot.wtk.text.Element arg0, int arg1, org.apache.pivot.collections.Sequence<Node> arg2)
focal_class.class_method_signature: ElementAdapter.fontChanged(org.apache.pivot.wtk.text.Element arg0, java.awt.Font arg1)
focal_class.full_signature: public void fontChanged(org.apache.pivot.wtk.text.Element arg0, java.awt.Font arg1)
focal_class.identifier: fontChanged
focal_class.modifiers: public
focal_class.parameters: (org.apache.pivot.wtk.text.Element arg0, java.awt.Font arg1)
focal_class.return: void
focal_class.signature: void fontChanged(org.apache.pivot.wtk.text.Element arg0, java.awt.Font arg1)
focal_class.class_method_signature: ElementAdapter.foregroundColorChanged(org.apache.pivot.wtk.text.Element arg0, java.awt.Color arg1)
focal_class.full_signature: public void foregroundColorChanged(org.apache.pivot.wtk.text.Element arg0, java.awt.Color arg1)
focal_class.identifier: foregroundColorChanged
focal_class.modifiers: public
focal_class.parameters: (org.apache.pivot.wtk.text.Element arg0, java.awt.Color arg1)
focal_class.return: void
focal_class.signature: void foregroundColorChanged(org.apache.pivot.wtk.text.Element arg0, java.awt.Color arg1)
focal_class.class_method_signature: ElementAdapter.backgroundColorChanged(org.apache.pivot.wtk.text.Element arg0, java.awt.Color arg1)
focal_class.full_signature: public void backgroundColorChanged(org.apache.pivot.wtk.text.Element arg0, java.awt.Color arg1)
focal_class.identifier: backgroundColorChanged
focal_class.modifiers: public
focal_class.parameters: (org.apache.pivot.wtk.text.Element arg0, java.awt.Color arg1)
focal_class.return: void
focal_class.signature: void backgroundColorChanged(org.apache.pivot.wtk.text.Element arg0, java.awt.Color arg1)
focal_class.class_method_signature: ElementAdapter.underlineChanged(org.apache.pivot.wtk.text.Element arg0)
focal_class.full_signature: public void underlineChanged(org.apache.pivot.wtk.text.Element arg0)
focal_class.identifier: underlineChanged
focal_class.modifiers: public
focal_class.parameters: (org.apache.pivot.wtk.text.Element arg0)
focal_class.return: void
focal_class.signature: void underlineChanged(org.apache.pivot.wtk.text.Element arg0)
focal_class.class_method_signature: ElementAdapter.strikethroughChanged(org.apache.pivot.wtk.text.Element arg0)
focal_class.full_signature: public void strikethroughChanged(org.apache.pivot.wtk.text.Element arg0)
focal_class.identifier: strikethroughChanged
focal_class.modifiers: public
focal_class.parameters: (org.apache.pivot.wtk.text.Element arg0)
focal_class.return: void
focal_class.signature: void strikethroughChanged(org.apache.pivot.wtk.text.Element arg0)
focal_method.body: public void nodesRemoved(org.apache.pivot.wtk.text.Element arg0, int arg1, org.apache.pivot.collections.Sequence<Node> arg2) {
          if (nodesRemoved != null) {
              nodesRemoved.call(arg0, arg1, arg2);
          }
      }
focal_method.class_method_signature: ElementAdapter.nodesRemoved(org.apache.pivot.wtk.text.Element arg0, int arg1, org.apache.pivot.collections.Sequence<Node> arg2)
focal_method.full_signature: public void nodesRemoved(org.apache.pivot.wtk.text.Element arg0, int arg1, org.apache.pivot.collections.Sequence<Node> arg2)
focal_method.identifier: nodesRemoved
focal_method.invocations: call
focal_method.modifiers: public
focal_method.parameters: (org.apache.pivot.wtk.text.Element arg0, int arg1, org.apache.pivot.collections.Sequence<Node> arg2)
focal_method.return: void
focal_method.signature: void nodesRemoved(org.apache.pivot.wtk.text.Element arg0, int arg1, org.apache.pivot.collections.Sequence<Node> arg2)