com.ibm.commerce.pa.beans
Class SortByColumnDataBean
java.lang.Object
|
+--com.ibm.commerce.pa.beans.DynamicDataBeanImpl
|
+--com.ibm.commerce.pa.widget.beans.ListDataBean
|
+--com.ibm.commerce.pa.beans.SortByColumnDataBean
- All Implemented Interfaces:
- CommandDataBean, DataBean, DynamicDataBean, InputDataBean, java.io.Serializable
- public class SortByColumnDataBean
- extends ListDataBean
This bean defines a column containing buttons which can
be used to select which row to sort on.
- See Also:
- Serialized Form
Field Summary |
static java.lang.String |
COPYRIGHT
|
protected java.lang.String |
Heading
|
protected java.lang.String |
image
|
protected java.lang.String |
text
|
Fields inherited from class com.ibm.commerce.pa.beans.DynamicDataBeanImpl |
constraintList, defaultWidget, errorCode, errorMessage, interfaceName, metaData, pageName, parent, parentName, requestProperties, scriptName |
Method Summary |
java.lang.String |
getCommandInterfaceName()
Returns the name of the command which populates
the databean. |
java.lang.String |
getHeading()
Return the text to use for the column heading. |
java.lang.String |
getImage()
Return the relative pathname of the image to use for the sort by button
in each row of the table. |
java.lang.String |
getText()
Return the text to use as alternate text or as the
display name if no image is defined. |
void |
setHeading(java.lang.String newValue)
Set the name of the column heading. |
void |
setImage(java.lang.String newValue)
Set the relative pathname to use for the sort button image. |
void |
setText(java.lang.String newValue)
Set the alternate text for the sort button. |
Methods inherited from class com.ibm.commerce.pa.beans.DynamicDataBeanImpl |
addConstraint, getConstraintList, getDefaultWidget, getErrorCode, getErrorMessage, getMetaData, getPageName, getParent, getParentName, getRequestProperties, getScriptName, setCommandInterfaceName, setConstraintList, setDefaultWidget, setErrorCode, setErrorMessage, setMetaData, setPageName, setParent, setParentName, setRequestProperties, setScriptName |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
COPYRIGHT
public static final java.lang.String COPYRIGHT
Heading
protected java.lang.String Heading
image
protected java.lang.String image
text
protected java.lang.String text
SortByColumnDataBean
public SortByColumnDataBean()
- SortByColumnDataBean constructor.
getCommandInterfaceName
public java.lang.String getCommandInterfaceName()
- Returns the name of the command which populates
the databean.
- Overrides:
getCommandInterfaceName
in class DynamicDataBeanImpl
- Returns:
- java.lang.String
getHeading
public java.lang.String getHeading()
- Return the text to use for the column heading.
- Returns:
- java.lang.String
getImage
public java.lang.String getImage()
- Return the relative pathname of the image to use for the sort by button
in each row of the table.
- Returns:
- java.lang.String
getText
public java.lang.String getText()
- Return the text to use as alternate text or as the
display name if no image is defined.
- Returns:
- java.lang.String
setHeading
public void setHeading(java.lang.String newValue)
- Set the name of the column heading.
- Parameters:
newValue
- java.lang.String
setImage
public void setImage(java.lang.String newValue)
- Set the relative pathname to use for the sort button image.
- Parameters:
newValue
- java.lang.String
setText
public void setText(java.lang.String newValue)
- Set the alternate text for the sort button. If no
image is defined, this is used in its place.
- Parameters:
newValue
- java.lang.String