@Test public void testMaximumLengthChanged() { final boolean[] invoked = new boolean[1]; CallableWithArgs<Void> callable = new CallableWithArgs<Void>() { public Void call(Object... args) { invoked[0] = true; return null; } }; assertNull(adapter.getMaximumLengthChanged()); adapter.maximumLengthChanged(null, 0); assertFalse(invoked[0]); adapter.setMaximumLengthChanged(callable); adapter.maximumLengthChanged(null, 0); assertTrue(invoked[0]); }
public void maximumLengthChanged(org.apache.pivot.wtk.TextArea arg0, int arg1) { if (maximumLengthChanged != null) { maximumLengthChanged.call(arg0, arg1); } }
TextAreaAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.TextAreaListener { public void maximumLengthChanged(org.apache.pivot.wtk.TextArea arg0, int arg1) { if (maximumLengthChanged != null) { maximumLengthChanged.call(arg0, arg1); } } }
TextAreaAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.TextAreaListener { public void maximumLengthChanged(org.apache.pivot.wtk.TextArea arg0, int arg1) { if (maximumLengthChanged != null) { maximumLengthChanged.call(arg0, arg1); } }  }
TextAreaAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.TextAreaListener { public void maximumLengthChanged(org.apache.pivot.wtk.TextArea arg0, int arg1) { if (maximumLengthChanged != null) { maximumLengthChanged.call(arg0, arg1); } }  CallableWithArgs<Void> getMaximumLengthChanged(); CallableWithArgs<Void> getEditableChanged(); void setMaximumLengthChanged(CallableWithArgs<Void> maximumLengthChanged); void setEditableChanged(CallableWithArgs<Void> editableChanged); void maximumLengthChanged(org.apache.pivot.wtk.TextArea arg0, int arg1); void editableChanged(org.apache.pivot.wtk.TextArea arg0); }
TextAreaAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.TextAreaListener { public void maximumLengthChanged(org.apache.pivot.wtk.TextArea arg0, int arg1) { if (maximumLengthChanged != null) { maximumLengthChanged.call(arg0, arg1); } }  CallableWithArgs<Void> getMaximumLengthChanged(); CallableWithArgs<Void> getEditableChanged(); void setMaximumLengthChanged(CallableWithArgs<Void> maximumLengthChanged); void setEditableChanged(CallableWithArgs<Void> editableChanged); void maximumLengthChanged(org.apache.pivot.wtk.TextArea arg0, int arg1); void editableChanged(org.apache.pivot.wtk.TextArea arg0);  }