@Test public void testLocationChanged() { final boolean[] invoked = new boolean[1]; CallableWithArgs<Void> callable = new CallableWithArgs<Void>() { public Void call(Object... args) { invoked[0] = true; return null; } }; assertNull(adapter.getLocationChanged()); adapter.locationChanged(null, 0, 0); assertFalse(invoked[0]); adapter.setLocationChanged(callable); adapter.locationChanged(null, 0, 0); assertTrue(invoked[0]); }
public void locationChanged(org.apache.pivot.wtk.Component arg0, int arg1, int arg2) { if (locationChanged != null) { locationChanged.call(arg0, arg1, arg2); } }
ComponentAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.ComponentListener { public void locationChanged(org.apache.pivot.wtk.Component arg0, int arg1, int arg2) { if (locationChanged != null) { locationChanged.call(arg0, arg1, arg2); } } }
ComponentAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.ComponentListener { public void locationChanged(org.apache.pivot.wtk.Component arg0, int arg1, int arg2) { if (locationChanged != null) { locationChanged.call(arg0, arg1, arg2); } }  }
ComponentAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.ComponentListener { public void locationChanged(org.apache.pivot.wtk.Component arg0, int arg1, int arg2) { if (locationChanged != null) { locationChanged.call(arg0, arg1, arg2); } }  CallableWithArgs<Void> getTooltipTextChanged(); CallableWithArgs<Void> getParentChanged(); CallableWithArgs<Void> getSizeChanged(); CallableWithArgs<Void> getPreferredSizeChanged(); CallableWithArgs<Void> getWidthLimitsChanged(); CallableWithArgs<Void> getHeightLimitsChanged(); CallableWithArgs<Void> getLocationChanged(); CallableWithArgs<Void> getVisibleChanged(); CallableWithArgs<Void> getCursorChanged(); CallableWithArgs<Void> getTooltipDelayChanged(); CallableWithArgs<Void> getDragSourceChanged(); CallableWithArgs<Void> getDropTargetChanged(); CallableWithArgs<Void> getMenuHandlerChanged(); CallableWithArgs<Void> getNameChanged(); void setTooltipTextChanged(CallableWithArgs<Void> tooltipTextChanged); void setParentChanged(CallableWithArgs<Void> parentChanged); void setSizeChanged(CallableWithArgs<Void> sizeChanged); void setPreferredSizeChanged(CallableWithArgs<Void> preferredSizeChanged); void setWidthLimitsChanged(CallableWithArgs<Void> widthLimitsChanged); void setHeightLimitsChanged(CallableWithArgs<Void> heightLimitsChanged); void setLocationChanged(CallableWithArgs<Void> locationChanged); void setVisibleChanged(CallableWithArgs<Void> visibleChanged); void setCursorChanged(CallableWithArgs<Void> cursorChanged); void setTooltipDelayChanged(CallableWithArgs<Void> tooltipDelayChanged); void setDragSourceChanged(CallableWithArgs<Void> dragSourceChanged); void setDropTargetChanged(CallableWithArgs<Void> dropTargetChanged); void setMenuHandlerChanged(CallableWithArgs<Void> menuHandlerChanged); void setNameChanged(CallableWithArgs<Void> nameChanged); void tooltipTextChanged(org.apache.pivot.wtk.Component arg0, java.lang.String arg1); void parentChanged(org.apache.pivot.wtk.Component arg0, org.apache.pivot.wtk.Container arg1); void sizeChanged(org.apache.pivot.wtk.Component arg0, int arg1, int arg2); void preferredSizeChanged(org.apache.pivot.wtk.Component arg0, int arg1, int arg2); void widthLimitsChanged(org.apache.pivot.wtk.Component arg0, int arg1, int arg2); void heightLimitsChanged(org.apache.pivot.wtk.Component arg0, int arg1, int arg2); void locationChanged(org.apache.pivot.wtk.Component arg0, int arg1, int arg2); void visibleChanged(org.apache.pivot.wtk.Component arg0); void cursorChanged(org.apache.pivot.wtk.Component arg0, org.apache.pivot.wtk.Cursor arg1); void tooltipDelayChanged(org.apache.pivot.wtk.Component arg0, int arg1); void dragSourceChanged(org.apache.pivot.wtk.Component arg0, org.apache.pivot.wtk.DragSource arg1); void dropTargetChanged(org.apache.pivot.wtk.Component arg0, org.apache.pivot.wtk.DropTarget arg1); void menuHandlerChanged(org.apache.pivot.wtk.Component arg0, org.apache.pivot.wtk.MenuHandler arg1); void nameChanged(org.apache.pivot.wtk.Component arg0, java.lang.String arg1); }
ComponentAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.ComponentListener { public void locationChanged(org.apache.pivot.wtk.Component arg0, int arg1, int arg2) { if (locationChanged != null) { locationChanged.call(arg0, arg1, arg2); } }  CallableWithArgs<Void> getTooltipTextChanged(); CallableWithArgs<Void> getParentChanged(); CallableWithArgs<Void> getSizeChanged(); CallableWithArgs<Void> getPreferredSizeChanged(); CallableWithArgs<Void> getWidthLimitsChanged(); CallableWithArgs<Void> getHeightLimitsChanged(); CallableWithArgs<Void> getLocationChanged(); CallableWithArgs<Void> getVisibleChanged(); CallableWithArgs<Void> getCursorChanged(); CallableWithArgs<Void> getTooltipDelayChanged(); CallableWithArgs<Void> getDragSourceChanged(); CallableWithArgs<Void> getDropTargetChanged(); CallableWithArgs<Void> getMenuHandlerChanged(); CallableWithArgs<Void> getNameChanged(); void setTooltipTextChanged(CallableWithArgs<Void> tooltipTextChanged); void setParentChanged(CallableWithArgs<Void> parentChanged); void setSizeChanged(CallableWithArgs<Void> sizeChanged); void setPreferredSizeChanged(CallableWithArgs<Void> preferredSizeChanged); void setWidthLimitsChanged(CallableWithArgs<Void> widthLimitsChanged); void setHeightLimitsChanged(CallableWithArgs<Void> heightLimitsChanged); void setLocationChanged(CallableWithArgs<Void> locationChanged); void setVisibleChanged(CallableWithArgs<Void> visibleChanged); void setCursorChanged(CallableWithArgs<Void> cursorChanged); void setTooltipDelayChanged(CallableWithArgs<Void> tooltipDelayChanged); void setDragSourceChanged(CallableWithArgs<Void> dragSourceChanged); void setDropTargetChanged(CallableWithArgs<Void> dropTargetChanged); void setMenuHandlerChanged(CallableWithArgs<Void> menuHandlerChanged); void setNameChanged(CallableWithArgs<Void> nameChanged); void tooltipTextChanged(org.apache.pivot.wtk.Component arg0, java.lang.String arg1); void parentChanged(org.apache.pivot.wtk.Component arg0, org.apache.pivot.wtk.Container arg1); void sizeChanged(org.apache.pivot.wtk.Component arg0, int arg1, int arg2); void preferredSizeChanged(org.apache.pivot.wtk.Component arg0, int arg1, int arg2); void widthLimitsChanged(org.apache.pivot.wtk.Component arg0, int arg1, int arg2); void heightLimitsChanged(org.apache.pivot.wtk.Component arg0, int arg1, int arg2); void locationChanged(org.apache.pivot.wtk.Component arg0, int arg1, int arg2); void visibleChanged(org.apache.pivot.wtk.Component arg0); void cursorChanged(org.apache.pivot.wtk.Component arg0, org.apache.pivot.wtk.Cursor arg1); void tooltipDelayChanged(org.apache.pivot.wtk.Component arg0, int arg1); void dragSourceChanged(org.apache.pivot.wtk.Component arg0, org.apache.pivot.wtk.DragSource arg1); void dropTargetChanged(org.apache.pivot.wtk.Component arg0, org.apache.pivot.wtk.DropTarget arg1); void menuHandlerChanged(org.apache.pivot.wtk.Component arg0, org.apache.pivot.wtk.MenuHandler arg1); void nameChanged(org.apache.pivot.wtk.Component arg0, java.lang.String arg1);  }