java.lang.Object | +--com.ibm.commerce.pa.beans.DynamicDataBeanImpl | +--com.ibm.commerce.pa.widget.beans.ColumnDataBean
Field Summary | |
---|---|
protected
java.util.Vector |
column |
static java.lang.String |
COPYRIGHT |
protected
java.lang.String |
formElementName |
protected
java.lang.String |
ignoredText |
protected
java.lang.String |
undoURL |
Fields inherited from class com.ibm.commerce.pa.beans. DynamicDataBeanImpl |
constraintList,
defaultWidget,
errorCode,
errorMessage,
interfaceName,
metaData,
pageName,
parent,
parentName,
requestProperties,
scriptName |
Fields inherited from interface com.ibm.commerce.beans. DataBean |
emptyString |
Constructor Summary | |
---|---|
ColumnDataBean() ColumnDataBean constructor. |
Method Summary | |
---|---|
void |
addElement(
DsData data) Add an element to the column. |
void |
copy(
DynamicDataBean ds) Copies a databean into this databean. |
java.util.Vector |
getColumn() Gets the collection of data objects making up the column. |
java.lang.String |
getCommandInterfaceName() Retrieve the interface name of the command which can be used to populate this databean. |
DsData |
getDataElementAt(int x) This method returns one element in a column. |
ElementDataBean |
getElementAt(int x) This method returns one element in a column as an ElementDataBean. |
java.lang.String |
getFormElementName() Get the form element name assigned to this object. |
java.lang.String |
getIgnoredText() Insert the method's description here. |
int |
getSize() This method returns the number of elements in the column |
java.lang.String |
getUndoURL() Get the url string to use for any "undo" images to be associated with this column. |
void |
insertElementAt(
DsData data, int index) Add a data object to the column at the index supplied. |
boolean |
isNull() This method will return true if all its data elements are null. |
void |
setColumn(java.util.Vector newValue) Sets the collection of data in the column in one call. |
void |
setFormElementName(java.lang.String newValue) Set the form element name to associate with this column. |
void |
setIgnoredText(java.lang.String newIgnoredText) Insert the method's description here. |
void |
setUndoURL(java.lang.String newValue) Set the url string for the undo image to associate with this column. |
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 |
Field Detail |
---|
public static final java.lang.String COPYRIGHT
protected java.util.Vector column
protected java.lang.String formElementName
protected java.lang.String undoURL
protected java.lang.String ignoredText
Constructor Detail |
---|
public ColumnDataBean()
Method Detail |
---|
public void addElement(DsData data)
public void copy(DynamicDataBean ds)
copy
in interface
DynamicDataBean
copy
in class
DynamicDataBeanImpl
ds
- The databean to copy.public java.util.Vector getColumn()
public java.lang.String getCommandInterfaceName()
getCommandInterfaceName
in interface
CommandDataBean
getCommandInterfaceName
in class
DynamicDataBeanImpl
public DsData getDataElementAt(int x)
x
- The index of the element to retrieve.public ElementDataBean getElementAt(int x)
x
- The index of the element to retrieve.public java.lang.String getFormElementName()
public java.lang.String getIgnoredText()
public int getSize()
public java.lang.String getUndoURL()
public void insertElementAt(DsData data, int index)
index
- The position in the column to insert the data
into.public boolean isNull()
public void setColumn(java.util.Vector newValue)
newValue
- The collection of data objects in the
column.public void setFormElementName(java.lang.String newValue)
newValue
- The form element name to use.public void setIgnoredText(java.lang.String newIgnoredText)
newIgnoredText
- java.lang.Stringpublic void setUndoURL(java.lang.String newValue)
newValue
- The url for the undo image.