|
PAJES 3.0.21 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.pajes.html.PajeTemplate
org.pajes.db.entity.ListerTemplate
public class ListerTemplate
Generates an Paje instance to display a lost of Entity objects. The source
HTML file from which the Paje is generated must contain an Container object
(such as a table cell (<td>)) which has an ID attribute of entityContainer.
| Field Summary | |
|---|---|
static java.lang.String |
ADD_ROW
The ID attribute of the row in the Table used to display a list of Entity objects managed by this class, that contains anchor or button to add a new entity. |
static java.lang.String |
EVEN_PROTOTYPE_ID
The ID attribute of the even prototype row in the Table used to display a list of Entity objects managed by this class. |
static java.lang.String |
HEADER_ROW
The ID attribute of the header row in the Table used to display a list of Entity objects managed by this class. |
static java.lang.String |
LIST_CONTAINER_ID
Constant for accessing the document element with the ID attribute of "entityContainer". |
static java.lang.String |
NAVIGATE_FIRST_ID
The ID attribute of the tag that allows the user to navigate to the first page in a sequence of multiple pages. |
static java.lang.String |
NAVIGATE_LAST_ID
The ID attribute of the tag that allows the user to navigate to the last page in a sequence of multiple pages. |
static java.lang.String |
NAVIGATE_NEXT_ID
The ID attribute of the tag that allows the user to navigate to the next page in a sequence of multiple pages. |
static java.lang.String |
NAVIGATE_PREVIOUS_ID
The ID attribute of the tag that allows the user to navigate to the previous page in a sequence of multiple pages. |
static java.lang.String |
NAVIGATE_UPTO_MESSAGE_ID
The ID attribute of the tag that informs the user the page location of this page in the total number of pages in the list. |
static java.lang.String |
NAVIGATION_ROW
The ID attribute of the row in the Table used to display a list of Entity objects managed by this class, that contains anchors or buttons to navigate through mulitple pages. |
static java.lang.String |
ODD_PROTOTYPE_ID
The ID attribute of the odd prototype row in the Table used to display a list of Entity objects managed by this class. |
| Constructor Summary | |
|---|---|
ListerTemplate()
|
|
| Method Summary | |
|---|---|
static Container |
getAddRow(Container container)
Retrieves the tag identified with an ID attribute of ADD_ROW. |
static Container |
getHeaderRow(Container container)
Retrieves the tag identified with an ID attribute of HEADER_ROW. |
static Container |
getListContainer(Container container)
Retrieves the tag identified with an ID attribute of LIST_CONTAINER_ID. |
static Tag |
getNavigateFirst(Container container)
Retrieves the tag identified with an ID attribute of NAVIGATE_FIRST_ID. |
static Tag |
getNavigateLast(Container container)
Retrieves the tag identified with an ID attribute of NAVIGATE_LAST_ID. |
static Tag |
getNavigateNext(Container container)
Retrieves the tag identified with an ID attribute of NAVIGATE_NEXT_ID. |
static Tag |
getNavigatePrevious(Container container)
Retrieves the tag identified with an ID attribute of NAVIGATE_PREVIOUS_ID. |
static Tag |
getNavigateUptoMessage(Container container)
Retrieves the tag identified with an ID attribute of NAVIGATE_UPTO_MESSAGE_ID. |
static Container |
getNavigationRow(Container container)
Retrieves the tag identified with an ID attribute of NAVIGATION_ROW. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String ADD_ROW
public static final java.lang.String HEADER_ROW
public static final java.lang.String EVEN_PROTOTYPE_ID
public static final java.lang.String LIST_CONTAINER_ID
public static final java.lang.String NAVIGATE_FIRST_ID
public static final java.lang.String NAVIGATE_LAST_ID
public static final java.lang.String NAVIGATE_NEXT_ID
public static final java.lang.String NAVIGATE_PREVIOUS_ID
public static final java.lang.String NAVIGATE_UPTO_MESSAGE_ID
public static final java.lang.String NAVIGATION_ROW
public static final java.lang.String ODD_PROTOTYPE_ID
| Constructor Detail |
|---|
public ListerTemplate()
| Method Detail |
|---|
public static final Container getAddRow(Container container)
ADD_ROW.
container - the Container object in which the tag is to be located. This
should be the lowest possible container within the document
hierarchy to enable the most efficient retrieval.
ADD_ROW Tag instance.public static final Container getHeaderRow(Container container)
HEADER_ROW.
container - the Container object in which the tag is to be located. This
should be the lowest possible container within the document
hierarchy to enable the most efficient retrieval.
HEADER_ROW Tag instance.public static final Container getListContainer(Container container)
LIST_CONTAINER_ID.
container - the Container object in which the tag is to be located. This
should be the lowest possible container within the document
hierarchy to enable the most efficient retrieval.
LIST_CONTAINER_ID Tag instancepublic static final Tag getNavigateFirst(Container container)
NAVIGATE_FIRST_ID.
container - the Container object in which the tag is to be located. This
should be the lowest possible container within the document
hierarchy to enable the most efficient retrieval.
NAVIGATE_FIRST_ID Tag instance.public static final Tag getNavigateLast(Container container)
NAVIGATE_LAST_ID.
container - the Container object in which the tag is to be located. This
should be the lowest possible container within the document
hierarchy to enable the most efficient retrieval.
NAVIGATE_LAST_ID Tag instance.public static final Tag getNavigateNext(Container container)
NAVIGATE_NEXT_ID.
container - the Container object in which the tag is to be located. This
should be the lowest possible container within the document
hierarchy to enable the most efficient retrieval.
NAVIGATE_NEXT_ID Tag instance.public static final Tag getNavigatePrevious(Container container)
NAVIGATE_PREVIOUS_ID.
container - the Container object in which the tag is to be located. This
should be the lowest possible container within the document
hierarchy to enable the most efficient retrieval.
NAVIGATE_PREVIOUS_ID Tag instance.public static final Tag getNavigateUptoMessage(Container container)
NAVIGATE_UPTO_MESSAGE_ID.
container - the Container object in which the tag is to be located. This
should be the lowest possible container within the document
hierarchy to enable the most efficient retrieval.
NAVIGATE_UPTO_MESSAGE_ID Tag instance.public static final Container getNavigationRow(Container container)
NAVIGATION_ROW.
container - the Container object in which the tag is to be located. This
should be the lowest possible container within the document
hierarchy to enable the most efficient retrieval.
NAVIGATION_ROW Tag instance.
|
PAJES 3.0.21 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||