@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.Window arg0, java.lang.String arg1) { if (titleChanged != null) { titleChanged.call(arg0, arg1); } }
WindowAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.WindowListener { public void titleChanged(org.apache.pivot.wtk.Window arg0, java.lang.String arg1) { if (titleChanged != null) { titleChanged.call(arg0, arg1); } } }
WindowAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.WindowListener { public void titleChanged(org.apache.pivot.wtk.Window arg0, java.lang.String arg1) { if (titleChanged != null) { titleChanged.call(arg0, arg1); } }  }
WindowAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.WindowListener { public void titleChanged(org.apache.pivot.wtk.Window arg0, java.lang.String arg1) { if (titleChanged != null) { titleChanged.call(arg0, arg1); } }  CallableWithArgs<Void> getIconAdded(); CallableWithArgs<Void> getIconInserted(); CallableWithArgs<Void> getIconsRemoved(); CallableWithArgs<Void> getTitleChanged(); CallableWithArgs<Void> getContentChanged(); CallableWithArgs<Void> getActiveChanged(); CallableWithArgs<Void> getMaximizedChanged(); void setIconAdded(CallableWithArgs<Void> iconAdded); void setIconInserted(CallableWithArgs<Void> iconInserted); void setIconsRemoved(CallableWithArgs<Void> iconsRemoved); void setTitleChanged(CallableWithArgs<Void> titleChanged); void setContentChanged(CallableWithArgs<Void> contentChanged); void setActiveChanged(CallableWithArgs<Void> activeChanged); void setMaximizedChanged(CallableWithArgs<Void> maximizedChanged); void iconAdded(org.apache.pivot.wtk.Window arg0, org.apache.pivot.wtk.media.Image arg1); void iconInserted(org.apache.pivot.wtk.Window arg0, org.apache.pivot.wtk.media.Image arg1, int arg2); void iconsRemoved(org.apache.pivot.wtk.Window arg0, int arg1, org.apache.pivot.collections.Sequence<Image> arg2); void titleChanged(org.apache.pivot.wtk.Window arg0, java.lang.String arg1); void contentChanged(org.apache.pivot.wtk.Window arg0, org.apache.pivot.wtk.Component arg1); void activeChanged(org.apache.pivot.wtk.Window arg0, org.apache.pivot.wtk.Window arg1); void maximizedChanged(org.apache.pivot.wtk.Window arg0); }
WindowAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.WindowListener { public void titleChanged(org.apache.pivot.wtk.Window arg0, java.lang.String arg1) { if (titleChanged != null) { titleChanged.call(arg0, arg1); } }  CallableWithArgs<Void> getIconAdded(); CallableWithArgs<Void> getIconInserted(); CallableWithArgs<Void> getIconsRemoved(); CallableWithArgs<Void> getTitleChanged(); CallableWithArgs<Void> getContentChanged(); CallableWithArgs<Void> getActiveChanged(); CallableWithArgs<Void> getMaximizedChanged(); void setIconAdded(CallableWithArgs<Void> iconAdded); void setIconInserted(CallableWithArgs<Void> iconInserted); void setIconsRemoved(CallableWithArgs<Void> iconsRemoved); void setTitleChanged(CallableWithArgs<Void> titleChanged); void setContentChanged(CallableWithArgs<Void> contentChanged); void setActiveChanged(CallableWithArgs<Void> activeChanged); void setMaximizedChanged(CallableWithArgs<Void> maximizedChanged); void iconAdded(org.apache.pivot.wtk.Window arg0, org.apache.pivot.wtk.media.Image arg1); void iconInserted(org.apache.pivot.wtk.Window arg0, org.apache.pivot.wtk.media.Image arg1, int arg2); void iconsRemoved(org.apache.pivot.wtk.Window arg0, int arg1, org.apache.pivot.collections.Sequence<Image> arg2); void titleChanged(org.apache.pivot.wtk.Window arg0, java.lang.String arg1); void contentChanged(org.apache.pivot.wtk.Window arg0, org.apache.pivot.wtk.Component arg1); void activeChanged(org.apache.pivot.wtk.Window arg0, org.apache.pivot.wtk.Window arg1); void maximizedChanged(org.apache.pivot.wtk.Window arg0);  }