/** * Hides the top pager so that the panel shows nicely in a small space (such as in a popup * window) * * @param compact */ public void setCompactMode(boolean compact) { table.getTopPager().setVisible(!compact); }
/** * Hides the top pager so that the panel shows nicely in a small space (such as in a * popup window) * @param compact */ public void setCompactMode(boolean compact) { table.getTopPager().setVisible(!compact); }
public RolePanel setPagersVisible(boolean top, boolean bottom) { roles.getTopPager().setVisible(top); roles.getBottomPager().setVisible(bottom); return this; }
public RolePanel setPagersVisible(boolean top, boolean bottom) { roles.getTopPager().setVisible(top); roles.getBottomPager().setVisible(bottom); return this; }
public UserPanel setPagersVisible(boolean top, boolean bottom) { users.getTopPager().setVisible(top); users.getBottomPager().setVisible(bottom); return this; }
public UserPanel setPagersVisible(boolean top, boolean bottom) { users.getTopPager().setVisible(top); users.getBottomPager().setVisible(bottom); return this; }
public GroupPanel setPagersVisible(boolean top, boolean bottom) { groups.getTopPager().setVisible(top); groups.getBottomPager().setVisible(bottom); return this; }
public RolePanel setPagersVisible(boolean top, boolean bottom) { roles.getTopPager().setVisible(top); roles.getBottomPager().setVisible(bottom); return this; }
public UserPanel setPagersVisible(boolean top, boolean bottom) { users.getTopPager().setVisible(top); users.getBottomPager().setVisible(bottom); return this; }
public GroupPanel setPagersVisible(boolean top, boolean bottom) { groups.getTopPager().setVisible(top); groups.getBottomPager().setVisible(bottom); return this; }
public GroupPanel setPagersVisible(boolean top, boolean bottom) { groups.getTopPager().setVisible(top); groups.getBottomPager().setVisible(bottom); return this; }
public BandsPanel(String id, CoverageInfo coverage) { super(id, new Model<CoverageInfo>(coverage)); // the parameters table bands = new GeoServerTablePanel<CoverageDimensionInfo>( "bands", new CoverageDimensionsProvider(), true) { @Override protected GeoServerTablePanel<CoverageDimensionInfo> getComponentForProperty( String id, IModel<CoverageDimensionInfo> itemModel, Property<CoverageDimensionInfo> property) { return null; } }; bands.setFilterVisible(false); bands.setSortable(false); bands.getTopPager().setVisible(false); bands.getBottomPager().setVisible(false); bands.setOutputMarkupId(true); bands.setItemReuseStrategy(ReuseIfModelsEqualStrategy.getInstance()); bands.setFilterable(false); bands.setSelectable(false); add(bands); }
parameters.setFilterVisible(false); parameters.setSortable(false); parameters.getTopPager().setVisible(false); parameters.getBottomPager().setVisible(false); parameters.setOutputMarkupId(true);