JIDE 3.5.15

com.jidesoft.validation
Class RowValidationObject

java.lang.Object
  extended by java.util.EventObject
      extended by 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

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
RowValidationObject(Object source, int rowIndex)
           
 
Method Summary
 int getRowIndex()
          Gets the row index.
 String toString()
           
 
Methods inherited from class java.util.EventObject
getSource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RowValidationObject

public RowValidationObject(Object source,
                           int rowIndex)
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 String toString()
Overrides:
toString in class EventObject

JIDE 3.5.15