|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.oktiva.mogno.Component com.oktiva.mogno.Visual com.oktiva.mogno.Container com.oktiva.mogno.html.Span com.oktiva.mogno.additional.PageNavigator
Field Summary | |
java.lang.String |
applicationUrl
|
boolean |
compact
|
long |
currentPage
|
boolean |
displayPrevNext
|
java.lang.String |
evOnClick
|
java.lang.String |
formSubmit
|
int |
maxDisplayedPages
|
java.lang.String |
nextLinkLabel
|
long |
numRows
|
java.lang.String |
origin
|
java.lang.String |
prevLinkLabel
|
int |
rowsPerPage
|
Fields inherited from class com.oktiva.mogno.html.Span |
align, dir, lang, onclick, ondblclick, onkeydown, onkeypress, onkeyup, onmousedown, onmousemove, onmouseout, onmouseover, onmouseup |
Fields inherited from class com.oktiva.mogno.Container |
afterEnd, content |
Fields inherited from class com.oktiva.mogno.Visual |
evOnShow, evOnSyntaxError, gridHeight, gridWeightX, gridWeightY, gridWidth, id, lastError, left, parent, problematic, style, styleClass, title, top |
Fields inherited from class com.oktiva.mogno.Component |
bag, componentFiler, componentFilerParams, designing, eventQueue, evOnCreate, name, owned, ownedClasses, owner, tag, xmlFileName |
Constructor Summary | |
PageNavigator()
Creates a new instance of PageNavigator |
Method Summary | |
java.lang.String |
getApplicationUrl()
Getter for property applicationUrl. |
long |
getCurrentPage()
Getter for property currentPage. |
long |
getCurrentPageOffset()
|
java.lang.String |
getEvOnClick()
Getter for property evOnClick. |
java.lang.String |
getFormSubmit()
Getter for property formSubmit. |
int |
getMaxDisplayedPages()
The maximum number of displayed page links if isCompact() |
java.lang.String |
getNextLinkLabel()
Getter for property nextLinkLabel. |
long |
getNumRows()
Number of rows I should try do paginate. |
java.lang.String |
getOrigin()
Getter for property origin. |
java.lang.String |
getPrevLinkLabel()
Getter for property prevLinkLabel. |
int |
getRowsPerPage()
Getter for property rowsPerPage. |
boolean |
isCompact()
If this component should display no more than maxDisplayedPages. |
boolean |
isDisplayPrevNext()
If this component should display a next and previus page link. |
java.util.Vector |
nonAttributeGetters()
Method used to define what methods started with "get" or "is" are not component attributes getter methods. |
void |
receiveRequest(javax.servlet.http.HttpServletRequest request)
Receive the request and rebuild the properties using the data that the user has filled in. |
void |
setApplicationUrl(java.lang.String applicationUrl)
Setter for property applicationUrl. |
void |
setCompact(boolean compact)
Set if this component should display no more than maxDisplayedPages. |
void |
setCurrentPage(long currentPage)
Setter for property currentPage. |
void |
setDisplayPrevNext(boolean displayPrevNext)
Sets if this component should display a next and previus page link. |
void |
setEvOnClick(java.lang.String evOnClick)
Setter for property evOnClick. |
void |
setFormSubmit(java.lang.String formSubmit)
If submitForm is set, the links will submit the form with the specified name when clicked. |
void |
setMaxDisplayedPages(int maxDisplayedPages)
Setter for property maxDisplayedPages. |
void |
setNextLinkLabel(java.lang.String nextLinkLabel)
Setter for property nextLinkLabel. |
void |
setNumRows(long numRows)
Setter for property numRows. |
void |
setOrigin(java.lang.String origin)
Setter for property origin. |
void |
setPrevLinkLabel(java.lang.String prevLinkLabel)
Setter for property prevLinkLabel. |
void |
setRowsPerPage(int rowsPerPage)
Setter for property rowsPerPage. |
java.lang.String |
show()
Builds the HTML from the ordered childs list. |
Methods inherited from class com.oktiva.mogno.html.Span |
getAlign, getDir, getLang, getOnclick, getOndblclick, getOnkeydown, getOnkeypress, getOnkeyup, getOnmousedown, getOnmousemove, getOnmouseout, getOnmouseover, getOnmouseup, htmlAttributes, setAlign, setDir, setLang, setOnclick, setOndblclick, setOnkeydown, setOnkeypress, setOnkeyup, setOnmousedown, setOnmousemove, setOnmouseout, setOnmouseover, setOnmouseup |
Methods inherited from class com.oktiva.mogno.Container |
addChildsVector, betweenColumns, betweenRows, endColumn, endContainer, endRow, getChildsVector, getContent, getFullComponentsVector, getOrderedChildNames, getOrderedChildsVector, orderChildsVector, selectParentComponent, setContent, startColumn, startContainer, startRow |
Methods inherited from class com.oktiva.mogno.Component |
attribsHash, createOwnedComponents, dispatch, dispatchAll, dispatchFunction, eventParamTypes, eventParamValues, freeChild, getApplication, getAttrsTypes, getBag, getChild, getChildClass, getClone, getEvOnCreate, getFromBag, getName, getOwner, initialize, initialize, initialize, initialize, isDesigning, listChilds, putInBag, queue, registerChild, removeFromBag, serializedBag, setBag, setComponentFiler, setComponentFilerParams, setDesigning, setEvOnCreate, setName, setOwner, setProperties, store, unserializeBag |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public boolean compact
public boolean displayPrevNext
public int maxDisplayedPages
public long numRows
public int rowsPerPage
public long currentPage
public java.lang.String evOnClick
public java.lang.String applicationUrl
public java.lang.String prevLinkLabel
public java.lang.String nextLinkLabel
public java.lang.String origin
public java.lang.String formSubmit
Constructor Detail |
public PageNavigator()
Method Detail |
public java.lang.String show() throws java.lang.Exception
Container
show
in class Container
java.lang.Exception
public void receiveRequest(javax.servlet.http.HttpServletRequest request)
Visual
receiveRequest
in class Visual
request
- HttpServletRequestpublic boolean isCompact()
public void setCompact(boolean compact)
compact
- New value of property compact.public boolean isDisplayPrevNext()
public void setDisplayPrevNext(boolean displayPrevNext)
displayPrevNext
- New value of property displayPrevNext.public int getMaxDisplayedPages()
public void setMaxDisplayedPages(int maxDisplayedPages)
maxDisplayedPages
- New value of property maxDisplayedPages.public long getNumRows()
public void setNumRows(long numRows)
numRows
- New value of property numRows.public int getRowsPerPage()
public void setRowsPerPage(int rowsPerPage)
rowsPerPage
- New value of property rowsPerPage.public long getCurrentPage()
public void setCurrentPage(long currentPage)
currentPage
- New value of property currentPage.public long getCurrentPageOffset()
public java.lang.String getEvOnClick()
public void setEvOnClick(java.lang.String evOnClick)
evOnClick
- New value of property evOnClick.public java.lang.String getApplicationUrl()
public void setApplicationUrl(java.lang.String applicationUrl)
applicationUrl
- New value of property applicationUrl.public java.lang.String getPrevLinkLabel()
public void setPrevLinkLabel(java.lang.String prevLinkLabel)
prevLinkLabel
- New value of property prevLinkLabel.public java.lang.String getNextLinkLabel()
public void setNextLinkLabel(java.lang.String nextLinkLabel)
nextLinkLabel
- New value of property nextLinkLabel.public java.lang.String getOrigin()
public void setOrigin(java.lang.String origin)
origin
- New value of property origin.public java.util.Vector nonAttributeGetters()
Component
Vector v = super.nonAttributeGetters();
return v;
nonAttributeGetters
in class Container
public java.lang.String getFormSubmit()
public void setFormSubmit(java.lang.String formSubmit)
formSubmit
- New value of property formSubmit.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |