@Test public void testHorizontalScrollBarPolicyChanged() { final boolean[] invoked = new boolean[1]; CallableWithArgs<Void> callable = new CallableWithArgs<Void>() { public Void call(Object... args) { invoked[0] = true; return null; } }; assertNull(adapter.getHorizontalScrollBarPolicyChanged()); adapter.horizontalScrollBarPolicyChanged(null, null); assertFalse(invoked[0]); adapter.setHorizontalScrollBarPolicyChanged(callable); adapter.horizontalScrollBarPolicyChanged(null, null); assertTrue(invoked[0]); }
public void horizontalScrollBarPolicyChanged(org.apache.pivot.wtk.ScrollPane arg0, org.apache.pivot.wtk.ScrollPane.ScrollBarPolicy arg1) { if (horizontalScrollBarPolicyChanged != null) { horizontalScrollBarPolicyChanged.call(arg0, arg1); } }
ScrollPaneAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.ScrollPaneListener { public void horizontalScrollBarPolicyChanged(org.apache.pivot.wtk.ScrollPane arg0, org.apache.pivot.wtk.ScrollPane.ScrollBarPolicy arg1) { if (horizontalScrollBarPolicyChanged != null) { horizontalScrollBarPolicyChanged.call(arg0, arg1); } } }
ScrollPaneAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.ScrollPaneListener { public void horizontalScrollBarPolicyChanged(org.apache.pivot.wtk.ScrollPane arg0, org.apache.pivot.wtk.ScrollPane.ScrollBarPolicy arg1) { if (horizontalScrollBarPolicyChanged != null) { horizontalScrollBarPolicyChanged.call(arg0, arg1); } }  }
ScrollPaneAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.ScrollPaneListener { public void horizontalScrollBarPolicyChanged(org.apache.pivot.wtk.ScrollPane arg0, org.apache.pivot.wtk.ScrollPane.ScrollBarPolicy arg1) { if (horizontalScrollBarPolicyChanged != null) { horizontalScrollBarPolicyChanged.call(arg0, arg1); } }  CallableWithArgs<Void> getHorizontalScrollBarPolicyChanged(); CallableWithArgs<Void> getRowHeaderChanged(); CallableWithArgs<Void> getVerticalScrollBarPolicyChanged(); CallableWithArgs<Void> getColumnHeaderChanged(); CallableWithArgs<Void> getCornerChanged(); void setHorizontalScrollBarPolicyChanged(CallableWithArgs<Void> horizontalScrollBarPolicyChanged); void setRowHeaderChanged(CallableWithArgs<Void> rowHeaderChanged); void setVerticalScrollBarPolicyChanged(CallableWithArgs<Void> verticalScrollBarPolicyChanged); void setColumnHeaderChanged(CallableWithArgs<Void> columnHeaderChanged); void setCornerChanged(CallableWithArgs<Void> cornerChanged); void horizontalScrollBarPolicyChanged(org.apache.pivot.wtk.ScrollPane arg0, org.apache.pivot.wtk.ScrollPane.ScrollBarPolicy arg1); void rowHeaderChanged(org.apache.pivot.wtk.ScrollPane arg0, org.apache.pivot.wtk.Component arg1); void verticalScrollBarPolicyChanged(org.apache.pivot.wtk.ScrollPane arg0, org.apache.pivot.wtk.ScrollPane.ScrollBarPolicy arg1); void columnHeaderChanged(org.apache.pivot.wtk.ScrollPane arg0, org.apache.pivot.wtk.Component arg1); void cornerChanged(org.apache.pivot.wtk.ScrollPane arg0, org.apache.pivot.wtk.Component arg1); }
ScrollPaneAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.ScrollPaneListener { public void horizontalScrollBarPolicyChanged(org.apache.pivot.wtk.ScrollPane arg0, org.apache.pivot.wtk.ScrollPane.ScrollBarPolicy arg1) { if (horizontalScrollBarPolicyChanged != null) { horizontalScrollBarPolicyChanged.call(arg0, arg1); } }  CallableWithArgs<Void> getHorizontalScrollBarPolicyChanged(); CallableWithArgs<Void> getRowHeaderChanged(); CallableWithArgs<Void> getVerticalScrollBarPolicyChanged(); CallableWithArgs<Void> getColumnHeaderChanged(); CallableWithArgs<Void> getCornerChanged(); void setHorizontalScrollBarPolicyChanged(CallableWithArgs<Void> horizontalScrollBarPolicyChanged); void setRowHeaderChanged(CallableWithArgs<Void> rowHeaderChanged); void setVerticalScrollBarPolicyChanged(CallableWithArgs<Void> verticalScrollBarPolicyChanged); void setColumnHeaderChanged(CallableWithArgs<Void> columnHeaderChanged); void setCornerChanged(CallableWithArgs<Void> cornerChanged); void horizontalScrollBarPolicyChanged(org.apache.pivot.wtk.ScrollPane arg0, org.apache.pivot.wtk.ScrollPane.ScrollBarPolicy arg1); void rowHeaderChanged(org.apache.pivot.wtk.ScrollPane arg0, org.apache.pivot.wtk.Component arg1); void verticalScrollBarPolicyChanged(org.apache.pivot.wtk.ScrollPane arg0, org.apache.pivot.wtk.ScrollPane.ScrollBarPolicy arg1); void columnHeaderChanged(org.apache.pivot.wtk.ScrollPane arg0, org.apache.pivot.wtk.Component arg1); void cornerChanged(org.apache.pivot.wtk.ScrollPane arg0, org.apache.pivot.wtk.Component arg1);  }