package org.snmp4j.agent.mo;

import java.util.EventObject;

/* JADX INFO: loaded from: classes.dex */
public class MOTableModelEvent extends EventObject {
    public static final int ROW_ADDED = 1;
    public static final int ROW_CHANGED = 0;
    public static final int ROW_REMOVED = 2;
    public static final int TABLE_CLEAR = 3;
    private static final long serialVersionUID = -2260159403182301993L;
    private MOTableRow affectedRow;
    private int columnIndex;
    private int type;

    public MOTableModelEvent(Object obj, int i2, MOTableRow mOTableRow, int i3) {
        super(obj);
        this.columnIndex = -1;
        this.type = i2;
        this.affectedRow = mOTableRow;
        this.columnIndex = i3;
    }

    public MOTableRow getAffectedRow() {
        return this.affectedRow;
    }

    public int getColumnIndex() {
        return this.columnIndex;
    }

    public int getType() {
        return this.type;
    }

    @Override // java.util.EventObject
    public String toString() {
        return MOTableModelEvent.class.getName() + "[type=" + this.type + ",affectedRow=" + this.affectedRow + ",columnIndex=" + this.columnIndex + "]";
    }

    public MOTableModelEvent(Object obj, int i2, MOTableRow mOTableRow) {
        this(obj, i2, mOTableRow, -1);
    }

    public MOTableModelEvent(Object obj, int i2) {
        this(obj, i2, null);
    }
}
