|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.AbstractMap
java.util.HashMap
planetj.property.PropertyGroup
planetj.property.DefaultPropertyGroup
planetj.dataengine.action.ActionDescriptor
planetj.dataengine.action.paging.PagingPropertyGroup
A PagingPropertyGroup contains properties that are used to determine the type of paging that is rendered on a results table.
Field Summary | |
static boolean |
DEFAULT_ENABLED
|
static boolean |
DEFAULT_FIRST_AND_LAST
|
static java.lang.String |
DEFAULT_JUSTIFICATION
|
static boolean |
DEFAULT_NEXT_AND_PREVIOUS
|
static boolean |
DEFAULT_PAGE_NUMBERS
|
static java.lang.String |
DEFAULT_PAGING_DISPLAY_TYPE
|
static java.lang.String |
DEFAULT_PAGING_LOCATION
|
static java.util.List |
DEFAULT_PAGING_LOCATION_LIST
|
static java.lang.String |
DEFAULT_STRING
Default Paging property group string |
static java.lang.String |
DEFAULT_TEXT
The default text to display |
static java.lang.String |
ENABLED
Whether or not to include paging. |
static java.lang.String |
JUSTIFICATION
Allows users to set which side of the table the Next and Previous links appear on. |
static java.lang.String |
JUSTIFY_LEFT
|
static java.lang.String |
JUSTIFY_RIGHT
|
static java.lang.String |
PAGE_COUNT_TO_SHOW
Holds the number or page numbers to show. |
static java.lang.String |
PAGING
The name of the property group. |
static java.lang.String |
PLACEHOLDER_CURRENT_PAGE
Placeholder for the current page being displayed |
static java.lang.String |
PLACEHOLDER_FIRST_ROW
Placeholder for the number of the first row which is being displayed |
static java.lang.String |
PLACEHOLDER_LAST_ROW
Placeholder for the number of the last row which is being displayed |
static java.lang.String |
PLACEHOLDER_TOTAL_PAGES
Placeholder for the total number of pages available for display |
static java.lang.String |
PLACEHOLDER_TOTAL_ROWS
Placeholder for the total number of rows available for display |
static java.lang.String |
SHOW_FIRST_AND_LAST
Whether or not to show the next link, icon, or button. |
static java.lang.String |
SHOW_NEXT_AND_PREVIOUS
Whether or not to show the next link, icon, or button. |
static java.lang.String |
SHOW_PAGE_NUMBERS
Whether or not to page numbers. |
static java.lang.String |
TEXT
What text to display. |
static java.lang.String |
USE_TEXT
Whether or not to show what records are being looked at. |
Fields inherited from class planetj.property.PropertyGroup |
ALL, ALL_FALSE, ALL_TRUE, BOOLEAN_PROPERTY, DATE_PROPERTY, DOUBLE_PROPERTY, FLOAT_PROPERTY, INTEGER_PROPERTY, JAVA_CLASS_PROPERTY, LIST_PROPERTY, MAP_PROPERTY, NONE, ROW_COLLECTION_KEY, STRING_PROPERTY |
Constructor Summary | |
PagingPropertyGroup()
DisplayPropertyGroup constructor comment. |
|
PagingPropertyGroup(int initialCapacity)
DisplayPropertyGroup constructor comment. |
|
PagingPropertyGroup(java.lang.String pName)
DisplayPropertyGroup constructor comment. |
Method Summary | |
java.util.List |
getAllPropertyNames()
Gets a List containing the names of all the supported properties. |
java.lang.String |
getDisplayType()
Get the display type to generate for action. |
java.lang.String |
getJustification()
Get the justification for paging. |
java.lang.String |
getLocation()
Deprecated. |
java.util.List |
getLocations()
Gets the location where the paging links are displayed |
int |
getPageCountToShow()
Gets the number of page numbers to show. |
java.util.List |
getRequiredPropertyNames()
Gets a List containing the names of all the required properties. |
java.lang.String |
getText()
Gets the paging text to display (before the placeholders are replaced) |
java.lang.String |
getText(int firstRow,
int lastRow,
int totalRows,
int currentPage,
int totalPages)
Gets the paging text to display (after the placeholders are replaced) |
boolean |
isEnabled()
Check whether or not paging is turned on. |
boolean |
isFirstAndLastEnabled()
Check whether or not first and last should be shown |
boolean |
isNextAndPreviousEnabled()
Check whether or not next and previous should be shown |
boolean |
isPageNumbersEnabled()
Check whether or not page numbers should be shown |
boolean |
isUseText()
Checks if the text should be displayed. |
protected short |
propertyType(java.lang.String propName)
Gets the type of property for a specified property name. |
protected java.lang.String |
replaceAll(java.lang.String val,
java.lang.String placeholder,
int num)
Replaces all occurences of the the placeholder in the String with the int value |
Methods inherited from class planetj.dataengine.action.ActionDescriptor |
createDescriptor, createProperty, getActionName, getActionType, getDescription, getDetailsLocations, getDetailsModes, getImageSource, getLabel, getLayoutPropertyNames, getNewWindowProperties, getNoSelectionErrorMessage, getTarget, hasNavigationEnd, hasNavigationStart, isNavigationEnd, isNavigationStart, setActionName, setActionType, setDisplayType, setEndNavigationGroup, setImageSource, setLabel, setLocation, setStartNavigationGroup, setTarget, updateProperty, validate |
Methods inherited from class planetj.property.DefaultPropertyGroup |
getDefaultPropertiesString |
Methods inherited from class java.util.HashMap |
clear, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values |
Methods inherited from class java.util.AbstractMap |
equals, hashCode |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.Map |
equals, hashCode |
Field Detail |
public static final java.lang.String PAGING
public static final java.lang.String ENABLED
public static final boolean DEFAULT_ENABLED
public static final java.lang.String JUSTIFICATION
public static final java.lang.String JUSTIFY_LEFT
public static final java.lang.String JUSTIFY_RIGHT
public static final java.lang.String DEFAULT_JUSTIFICATION
public static final java.lang.String PAGE_COUNT_TO_SHOW
public static final java.lang.String SHOW_FIRST_AND_LAST
public static final boolean DEFAULT_FIRST_AND_LAST
public static final java.lang.String SHOW_NEXT_AND_PREVIOUS
public static final boolean DEFAULT_NEXT_AND_PREVIOUS
public static final java.lang.String SHOW_PAGE_NUMBERS
public static final boolean DEFAULT_PAGE_NUMBERS
public static final java.lang.String USE_TEXT
public static final java.lang.String TEXT
public static final java.lang.String PLACEHOLDER_FIRST_ROW
public static final java.lang.String PLACEHOLDER_LAST_ROW
public static final java.lang.String PLACEHOLDER_TOTAL_ROWS
public static final java.lang.String PLACEHOLDER_CURRENT_PAGE
public static final java.lang.String PLACEHOLDER_TOTAL_PAGES
public static final java.lang.String DEFAULT_TEXT
public static final java.lang.String DEFAULT_PAGING_LOCATION
public static final java.util.List DEFAULT_PAGING_LOCATION_LIST
public static final java.lang.String DEFAULT_PAGING_DISPLAY_TYPE
public static final java.lang.String DEFAULT_STRING
Constructor Detail |
public PagingPropertyGroup()
public PagingPropertyGroup(int initialCapacity)
initialCapacity
- intpublic PagingPropertyGroup(java.lang.String pName)
pName
- java.lang.StringMethod Detail |
public java.util.List getAllPropertyNames()
getAllPropertyNames
in class ActionDescriptor
public java.lang.String getDisplayType()
ActionDescriptor
getDisplayType
in class ActionDescriptor
public java.lang.String getJustification()
public java.lang.String getLocation()
getLocation
in class ActionDescriptor
public java.util.List getLocations()
getLocations
in class ActionDescriptor
public int getPageCountToShow()
public java.util.List getRequiredPropertyNames()
getRequiredPropertyNames
in class DefaultPropertyGroup
public java.lang.String getText()
public java.lang.String getText(int firstRow, int lastRow, int totalRows, int currentPage, int totalPages)
protected short propertyType(java.lang.String propName)
ActionDescriptor
propertyType
in class ActionDescriptor
protected java.lang.String replaceAll(java.lang.String val, java.lang.String placeholder, int num)
public boolean isEnabled()
public boolean isFirstAndLastEnabled()
public boolean isNextAndPreviousEnabled()
public boolean isPageNumbersEnabled()
public boolean isUseText()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |