Class EditableListEvent

  • All Implemented Interfaces:
    java.io.Serializable

    public class EditableListEvent
    extends javax.swing.event.TableModelEvent
    Event that is able to capture data of rows. Important for deletes.
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.lang.Object[] data
      The data.
      • Fields inherited from class javax.swing.event.TableModelEvent

        ALL_COLUMNS, column, DELETE, firstRow, HEADER_ROW, INSERT, lastRow, type, UPDATE
      • Fields inherited from class java.util.EventObject

        source
    • Constructor Summary

      Constructors 
      Constructor Description
      EditableListEvent​(javax.swing.table.TableModel source, int firstRow, int lastRow, int column, int type, java.lang.Object[] data)
      Create a new editable list event.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object[] getData()
      Get all data.
      java.lang.Object getData​(int idx)
      Get the data for a specific row.
      • Methods inherited from class javax.swing.event.TableModelEvent

        getColumn, getFirstRow, getLastRow, getType
      • Methods inherited from class java.util.EventObject

        getSource, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • data

        protected java.lang.Object[] data
        The data.
    • Constructor Detail

      • EditableListEvent

        public EditableListEvent​(javax.swing.table.TableModel source,
                                 int firstRow,
                                 int lastRow,
                                 int column,
                                 int type,
                                 java.lang.Object[] data)
        Create a new editable list event.
    • Method Detail

      • getData

        public java.lang.Object getData​(int idx)
        Get the data for a specific row.
        Parameters:
        idx - The index.
        Returns:
        The data.
      • getData

        public java.lang.Object[] getData()
        Get all data.
        Returns:
        The data.