com.redijedi.tapestry.internal.pagedloop.PagerPosition Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of redijedi-t5-components
Show all versions of redijedi-t5-components
A collection of components built specifically for Tapestry 5.
The newest version!
package com.redijedi.tapestry.internal.pagedloop;
/**
*
* @author torr
*
*/
public enum PagerPosition {
/** Position the pager above the paged content. */
TOP(true, false),
/** Position the pager below the paged content (this is the default). */
BOTTOM(false, true),
/** Show the pager above and below the paged content. */
BOTH(true, true),
/**
* Don't show a pager (the application will need to supply its own
* navigation mechanism).
*/
NONE(false, false);
private final boolean _matchTop;
private final boolean _matchBottom;
private PagerPosition(boolean matchTop, boolean matchBottom) {
_matchTop = matchTop;
_matchBottom = matchBottom;
}
public boolean isMatchBottom() {
return _matchBottom;
}
public boolean isMatchTop() {
return _matchTop;
}
}