|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.taglib.servlet.tbeans.navigationbar.NavigationBarScrollingElementTag
public class NavigationBarScrollingElementTag
The base tag for the NavigationBarScrollingElement.
Field Summary |
---|
Fields inherited from class com.sas.taglib.servlet.tbeans.BaseTransformationTag |
---|
DEFAULT_CLIENT_INFO_INSTANCE, HDML, HTML, WML |
Fields inherited from class com.sas.taglib.BaseTag |
---|
APPLICATION, PAGE, RB_KEY, REQUEST, SESSION |
Constructor Summary | |
---|---|
NavigationBarScrollingElementTag()
|
Method Summary | |
---|---|
protected void |
applyAttributes()
Apply TableView properties to the underlying NavigationBarScrollingElement object |
java.lang.String |
getGotoFieldLabel()
Returns the gotoFieldLabel property on the NavigationBarScrollingElement. |
java.lang.String |
getMessageOrientation()
Returns the messageOrientation property on the NavigationBarScrollingElement. |
java.lang.String |
getMessageTemplate()
Returns the messageTemplate property on the NavigationBarScrollingElement. |
java.lang.String |
getURLTemplate()
Returns the Viewer's URLTemplate String name |
protected void |
initialize(boolean includeAttributes)
Initializes attributes and variables for this tag handler. |
boolean |
isFirstVisible()
Returns the firstVisible property on the NavigationBarScrollingElement. |
boolean |
isGotoFieldInMessage()
Returns the gotoFieldInMessage property on the NavigationBarScrollingElement. |
boolean |
isGotoFieldVisible()
Returns the gotoFieldVisible property on the NavigationBarScrollingElement. |
boolean |
isLastVisible()
Returns the lastVisible property on the NavigationBarScrollingElement. |
boolean |
isNextVisible()
Returns the nextVisible property on the NavigationBarScrollingElement. |
boolean |
isPageBackwardVisible()
Returns the pageBackwardVisible property on the NavigationBarScrollingElement. |
boolean |
isPageForwardVisible()
Returns the pageForwardVisible property on the NavigationBarScrollingElement. |
boolean |
isPreviousVisible()
Returns the previousVisible property on the NavigationBarScrollingElement. |
void |
setFirstVisible(boolean visible)
Sets the firstVisible property on the NavigationBarScrollingElement. |
void |
setGotoFieldInMessage(boolean inMessage)
Sets the gotoFieldInMessage property on the NavigationBarScrollingElement. |
void |
setGotoFieldLabel(java.lang.String label)
Sets the gotoFieldLabel property on the NavigationBarScrollingElement. |
void |
setGotoFieldVisible(boolean visible)
Sets the gotoFieldVisible property on the NavigationBarScrollingElement. |
void |
setLastVisible(boolean visible)
Sets the lastVisible property on the NavigationBarScrollingElement. |
void |
setMessageOrientation(java.lang.String orientation)
Sets the messageOrientation property on the NavigationBarScrollingElement. |
void |
setMessageTemplate(java.lang.String template)
Sets the messageTemplate String that is used to generate this element's message. |
void |
setNextVisible(boolean visible)
Sets the nextVisible property on the NavigationBarScrollingElement. |
void |
setPageBackwardVisible(boolean visible)
Sets the pageBackwardVisible property on the NavigationBarScrollingElement. |
void |
setPageForwardVisible(boolean visible)
Sets the pageForwardVisible property on the NavigationBarScrollingElement. |
void |
setPreviousVisible(boolean visible)
Sets the previousVisible property on the NavigationBarScrollingElement. |
void |
setURLTemplate(java.lang.String urlTemplate)
Sets the Viewer's URLTemplate |
Methods inherited from class com.sas.taglib.servlet.tbeans.navigationbar.BaseNavigationBarElementTag |
---|
doEndTag, getModel, getStyleClassPrefix, setModel, setStyleClassPrefix |
Methods inherited from class com.sas.taglib.servlet.tbeans.BaseActionTransformationTag |
---|
getActionProvider, setActionProvider |
Methods inherited from class com.sas.taglib.servlet.tbeans.BaseTransformationTag |
---|
doStartTag, getCustomAttributes, getEpilog, getLocale, getName, getObjectDataProperty, getProlog, getRender, getRenderType, setCustomAttributes, setEpilog, setLocale, setName, setObjectDataProperty, setProlog, setRender, setRenderType |
Constructor Detail |
---|
public NavigationBarScrollingElementTag()
Method Detail |
---|
protected void initialize(boolean includeAttributes)
initialize
in class BaseNavigationBarElementTag
includeAttributes
- Set to true if attributes are to be set to default values.public void setURLTemplate(java.lang.String urlTemplate)
URLTemplate
- The Viewer's URLTemplate. This is the template pattern String used in the URL.public java.lang.String getURLTemplate()
public boolean isFirstVisible()
public void setFirstVisible(boolean visible)
visible
- If true, then the first action will be displayed
when the NavigationBarScrollingElement is rendered.public boolean isPageBackwardVisible()
public void setPageBackwardVisible(boolean visible)
visible
- If true, then the pageBackward action will be displayed
when the NavigationBarScrollingElement is rendered.public boolean isPreviousVisible()
public void setPreviousVisible(boolean visible)
visible
- If true, then the previous action will be displayed
when the NavigationBarScrollingElement is rendered.public boolean isNextVisible()
public void setNextVisible(boolean visible)
visible
- If true, then the next action will be displayed
when the NavigationBarScrollingElement is rendered.public boolean isPageForwardVisible()
public void setPageForwardVisible(boolean visible)
visible
- If true, then the pageForward action will be displayed
when the NavigationBarScrollingElement is rendered.public boolean isLastVisible()
public void setLastVisible(boolean visible)
visible
- If true, then the last action will be displayed
when the NavigationBarScrollingElement is rendered.public void setGotoFieldVisible(boolean visible)
visible
- If true, then the gotoField action will be displayed
when the NavigationBarScrollingElement is rendered.public boolean isGotoFieldVisible()
public void setGotoFieldInMessage(boolean inMessage)
inMessage
- If true, then the gotoField should be displayed in the
NavigationBarScrollingElement's message when the element is rendered.public boolean isGotoFieldInMessage()
public void setGotoFieldLabel(java.lang.String label)
label
- Sets the label used with the goto field when displaying the goto field.public java.lang.String getGotoFieldLabel()
public void setMessageOrientation(java.lang.String orientation)
orientation
- The position to display the scrolling element's
message in reference to the scrolling actions. Valid values are TOP,
BOTTOM, LEFT, RIGHT, and CENTER. If not set, the default is CENTER which
will display the messages between the forward and backward scrolling actions.public java.lang.String getMessageOrientation()
public void setMessageTemplate(java.lang.String template)
template
- The String used as a template which is used to generatate
the scrolling element's message. For example, when using a
NavigationBarRowScrollingElement, to generate a message of the form:
"Rows 1 - 10 of 100", you would set the messageTemplate to:
"Rows %STARTROW - %ENDROW of %ROWCOUNT". If isGotoFieldInMessage is true,
then the gotoField will be used as the substitute value for %STARTROW.public java.lang.String getMessageTemplate()
protected void applyAttributes() throws javax.servlet.jsp.JspException
applyAttributes
in class BaseNavigationBarElementTag
javax.servlet.jsp.JspException
- Thrown if a JspException occurs.
|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |