/** * Construct a {@link SimplePager} with the default resources and default image button names. * * @param location the location of the text relative to the buttons * @param showFastForwardButton if true, show a fast-forward button that * advances by a larger increment than a single page * @param fastForwardRows the number of rows to jump when fast forwarding * @param showLastPageButton if true, show a button to go to the last page */ public SimplePager(TextLocation location, boolean showFastForwardButton, final int fastForwardRows, boolean showLastPageButton) { this(location, getDefaultResources(), showFastForwardButton, fastForwardRows, showLastPageButton); }
/** * Construct a {@link SimplePager} with the specified text location. * * @param location the location of the text relative to the buttons */ @UiConstructor public SimplePager(TextLocation location) { this(location, getDefaultResources(), true, DEFAULT_FAST_FORWARD_ROWS, false); }
/** * Construct a {@link SimplePager} with the default resources and default image button names. * * @param location the location of the text relative to the buttons * @param showFastForwardButton if true, show a fast-forward button that * advances by a larger increment than a single page * @param fastForwardRows the number of rows to jump when fast forwarding * @param showLastPageButton if true, show a button to go to the last page */ public SimplePager(TextLocation location, boolean showFastForwardButton, final int fastForwardRows, boolean showLastPageButton) { this(location, getDefaultResources(), showFastForwardButton, fastForwardRows, showLastPageButton); }
/** * Construct a {@link SimplePager} with the default resources and default image button names. * * @param location the location of the text relative to the buttons * @param showFastForwardButton if true, show a fast-forward button that * advances by a larger increment than a single page * @param fastForwardRows the number of rows to jump when fast forwarding * @param showLastPageButton if true, show a button to go to the last page */ public SimplePager(TextLocation location, boolean showFastForwardButton, final int fastForwardRows, boolean showLastPageButton) { this(location, getDefaultResources(), showFastForwardButton, fastForwardRows, showLastPageButton); }
/** * Construct a {@link SimplePager} with the specified text location. * * @param location the location of the text relative to the buttons */ @UiConstructor public SimplePager(TextLocation location) { this(location, getDefaultResources(), true, DEFAULT_FAST_FORWARD_ROWS, false); }
/** * Construct a {@link SimplePager} with the specified text location. * * @param location the location of the text relative to the buttons */ @UiConstructor public SimplePager(TextLocation location) { this(location, getDefaultResources(), true, DEFAULT_FAST_FORWARD_ROWS, false); }