Class 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
    • Field Summary

      • Fields inherited from class java.util.EventObject

        source
    • 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()  
      • 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​(java.lang.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 java.lang.String toString()
        Overrides:
        toString in class java.util.EventObject