/** * Find the x-offset relative to the GridWidget origin where Floating columns are positioned. * @return */ private double getFloatingColumnOffset() { final Bounds bounds = getVisibleBounds(); return bounds.getX() - view.getAbsoluteX(); }
/** * Find the x-offset relative to the GridWidget origin where Floating columns are positioned. * @return */ private double getFloatingColumnOffset() { final Bounds bounds = getVisibleBounds(); return bounds.getX() - view.getAbsoluteX(); }
/** * Find the y-offset relative to the GridWidget origin where Floating Header is positioned. * @return */ private double getHeaderOffsetY() { final double vpY = getVisibleBounds().getY(); if (view.isSelected()) { if (view.getAbsoluteY() < vpY && view.getAbsoluteY() + view.getHeight() > vpY + view.getRenderer().getHeaderHeight()) { return vpY - view.getAbsoluteY(); } } return 0.0; }
/** * Find the y-offset relative to the GridWidget origin where Floating Header is positioned. * @return */ private double getHeaderOffsetY() { final double vpY = getVisibleBounds().getY(); if (view.isSelected()) { if (view.getAbsoluteY() < vpY && view.getAbsoluteY() + view.getHeight() > vpY + view.getRenderer().getHeaderHeight()) { return vpY - view.getAbsoluteY(); } } return 0.0; }
final Bounds bounds = getVisibleBounds(); final List<GridColumn<?>> allColumns = new ArrayList<GridColumn<?>>(); final List<GridColumn<?>> bodyColumns = new ArrayList<GridColumn<?>>();
final Bounds bounds = getVisibleBounds(); final List<GridColumn<?>> allColumns = new ArrayList<GridColumn<?>>(); final List<GridColumn<?>> bodyColumns = new ArrayList<GridColumn<?>>();