com.jidesoft.validation
Class RowValidationObject
java.lang.Object
java.util.EventObject
com.jidesoft.validation.RowValidationObject
- All Implemented Interfaces:
- Serializable
public class RowValidationObject
- extends EventObject
RowValidationObject is an object containing the information that needed by RowValidator.
The base class has two things - the JTable which is the source (you need to cast to JTable), and the row index.
Please note, the row index is the visual row index as the validation is triggered in the JideTable code.
In order to find the actual row index as in the table model, you will need TableModelWrapperUtils.getActualRowAt method.
Users can extend this class to create their own RowValidationObject to provide
additional information that needed by RowValidator.
- See Also:
- Serialized Form
RowValidationObject
public RowValidationObject(Object source,
int rowIndex)
getRowIndex
public int getRowIndex()
- Gets the row index. the row index is the visual row index.
In order to find the actual row index as in the table model, you will need TableModelWrapperUtils.getActualRowAt method.
- Returns:
- the row index.
toString
public String toString()
- Overrides:
toString
in class EventObject