@Test public void testCharactersRemoved() { final boolean[] invoked = new boolean[1]; CallableWithArgs<Void> callable = new CallableWithArgs<Void>() { public Void call(Object... args) { invoked[0] = true; return null; } }; assertNull(adapter.getCharactersRemoved()); adapter.charactersRemoved(null, 0, 0); assertFalse(invoked[0]); adapter.setCharactersRemoved(callable); adapter.charactersRemoved(null, 0, 0); assertTrue(invoked[0]); }
public void charactersRemoved(org.apache.pivot.wtk.text.TextNode arg0, int arg1, int arg2) { if (charactersRemoved != null) { charactersRemoved.call(arg0, arg1, arg2); } }
TextNodeAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.text.TextNodeListener { public void charactersRemoved(org.apache.pivot.wtk.text.TextNode arg0, int arg1, int arg2) { if (charactersRemoved != null) { charactersRemoved.call(arg0, arg1, arg2); } } }
TextNodeAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.text.TextNodeListener { public void charactersRemoved(org.apache.pivot.wtk.text.TextNode arg0, int arg1, int arg2) { if (charactersRemoved != null) { charactersRemoved.call(arg0, arg1, arg2); } }  }
TextNodeAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.text.TextNodeListener { public void charactersRemoved(org.apache.pivot.wtk.text.TextNode arg0, int arg1, int arg2) { if (charactersRemoved != null) { charactersRemoved.call(arg0, arg1, arg2); } }  CallableWithArgs<Void> getCharactersInserted(); CallableWithArgs<Void> getCharactersRemoved(); void setCharactersInserted(CallableWithArgs<Void> charactersInserted); void setCharactersRemoved(CallableWithArgs<Void> charactersRemoved); void charactersInserted(org.apache.pivot.wtk.text.TextNode arg0, int arg1, int arg2); void charactersRemoved(org.apache.pivot.wtk.text.TextNode arg0, int arg1, int arg2); }
TextNodeAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.text.TextNodeListener { public void charactersRemoved(org.apache.pivot.wtk.text.TextNode arg0, int arg1, int arg2) { if (charactersRemoved != null) { charactersRemoved.call(arg0, arg1, arg2); } }  CallableWithArgs<Void> getCharactersInserted(); CallableWithArgs<Void> getCharactersRemoved(); void setCharactersInserted(CallableWithArgs<Void> charactersInserted); void setCharactersRemoved(CallableWithArgs<Void> charactersRemoved); void charactersInserted(org.apache.pivot.wtk.text.TextNode arg0, int arg1, int arg2); void charactersRemoved(org.apache.pivot.wtk.text.TextNode arg0, int arg1, int arg2);  }