Class WekaInvestigatorDataEvent

    • Field Detail

      • TABLE_CHANGED

        public static final int TABLE_CHANGED
        the whole table changed.
        See Also:
        Constant Field Values
      • ROWS_MODIFIED

        public static final int ROWS_MODIFIED
        rows got modified.
        See Also:
        Constant Field Values
      • ROW_ACTIVATED

        public static final int ROW_ACTIVATED
        row got activated.
        See Also:
        Constant Field Values
      • DESERIALIZED

        public static final int DESERIALIZED
        the data got deserialized.
        See Also:
        Constant Field Values
      • ATTRIBUTE_NAMES_SORTED

        public static final int ATTRIBUTE_NAMES_SORTED
        sort attribute names.
        See Also:
        Constant Field Values
      • ATTRIBUTES_NAMES_UNSORTED

        public static final int ATTRIBUTES_NAMES_UNSORTED
        don't sort attribute names.
        See Also:
        Constant Field Values
      • m_Type

        protected int m_Type
        the event type.
      • m_Rows

        protected int[] m_Rows
        the affected rows, null for all.
    • Constructor Detail

      • WekaInvestigatorDataEvent

        public WekaInvestigatorDataEvent​(InvestigatorPanel source)
        Constructor if the whole table changed.
        Parameters:
        source - the source panel
      • WekaInvestigatorDataEvent

        public WekaInvestigatorDataEvent​(InvestigatorPanel source,
                                         int type)
        Constructor for specifying the type of change.
        Parameters:
        source - the source panel
        type - the event type
      • WekaInvestigatorDataEvent

        public WekaInvestigatorDataEvent​(InvestigatorPanel source,
                                         int type,
                                         int row)
        Constructor for specifying the type of change.
        Parameters:
        source - the source panel
        type - the event type
        row - the affected row
      • WekaInvestigatorDataEvent

        public WekaInvestigatorDataEvent​(InvestigatorPanel source,
                                         int type,
                                         int[] rows)
        Constructor for specifying the type of change.
        Parameters:
        source - the source panel
        type - the event type
        row - the affected rows
    • Method Detail

      • getType

        public int getType()
        Returns the type.
        Returns:
        the type
      • getRows

        public int[] getRows()
        The affected rows.
        Returns:
        the rows, null for all