@Test public void testTitleChanged() { final boolean[] invoked = new boolean[1]; CallableWithArgs<Void> callable = new CallableWithArgs<Void>() { public Void call(Object... args) { invoked[0] = true; return null; } }; assertNull(adapter.getTitleChanged()); adapter.titleChanged(null, null); assertFalse(invoked[0]); adapter.setTitleChanged(callable); adapter.titleChanged(null, null); assertTrue(invoked[0]); }
public void titleChanged(org.apache.pivot.wtk.Border arg0, java.lang.String arg1) { if (titleChanged != null) { titleChanged.call(arg0, arg1); } }
BorderAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.BorderListener { public void titleChanged(org.apache.pivot.wtk.Border arg0, java.lang.String arg1) { if (titleChanged != null) { titleChanged.call(arg0, arg1); } } }
BorderAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.BorderListener { public void titleChanged(org.apache.pivot.wtk.Border arg0, java.lang.String arg1) { if (titleChanged != null) { titleChanged.call(arg0, arg1); } }  }
BorderAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.BorderListener { public void titleChanged(org.apache.pivot.wtk.Border arg0, java.lang.String arg1) { if (titleChanged != null) { titleChanged.call(arg0, arg1); } }  CallableWithArgs<Void> getTitleChanged(); CallableWithArgs<Void> getContentChanged(); void setTitleChanged(CallableWithArgs<Void> titleChanged); void setContentChanged(CallableWithArgs<Void> contentChanged); void titleChanged(org.apache.pivot.wtk.Border arg0, java.lang.String arg1); void contentChanged(org.apache.pivot.wtk.Border arg0, org.apache.pivot.wtk.Component arg1); }
BorderAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.BorderListener { public void titleChanged(org.apache.pivot.wtk.Border arg0, java.lang.String arg1) { if (titleChanged != null) { titleChanged.call(arg0, arg1); } }  CallableWithArgs<Void> getTitleChanged(); CallableWithArgs<Void> getContentChanged(); void setTitleChanged(CallableWithArgs<Void> titleChanged); void setContentChanged(CallableWithArgs<Void> contentChanged); void titleChanged(org.apache.pivot.wtk.Border arg0, java.lang.String arg1); void contentChanged(org.apache.pivot.wtk.Border arg0, org.apache.pivot.wtk.Component arg1);  }