Package com.jidesoft.validation
Class RowValidationObject
- java.lang.Object
-
- java.util.EventObject
-
- com.jidesoft.validation.RowValidationObject
-
- All Implemented Interfaces:
java.io.Serializable
public class RowValidationObject extends java.util.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
-
-
Constructor Summary
Constructors Constructor Description RowValidationObject(java.lang.Object source, int rowIndex)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getRowIndex()
Gets the row index.java.lang.String
toString()
-
-
-
Method Detail
-
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 java.lang.String toString()
- Overrides:
toString
in classjava.util.EventObject
-
-