/* * @(#)AccessibleTableModelChange.java 1.10 03/12/19 * * Copyright 2004 Sun Microsystems, Inc. All rights reserved. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. */ package javax.accessibility; /** * The AccessibleTableModelChange interface describes a change to * the table model. The attributes of the model change can be * obtained by the following methods: * * The model change type returned by getType() will be one of: * * The affected area of the table can be determined by the other * four methods which specify ranges of rows and columns * * @see Accessible * @see Accessible#getAccessibleContext * @see AccessibleContext * @see AccessibleContext#getAccessibleTable * * @version 1.2 10/12/99 * @author Lynn Monsanto */ public interface AccessibleTableModelChange { /** * Identifies the insertion of new rows and/or columns. */ public static final int INSERT = 1; /** * Identifies a change to existing data. */ public static final int UPDATE = 0; /** * Identifies the deletion of rows and/or columns. */ public static final int DELETE = -1; /** * Returns the type of event * * @see #INSERT * @see #UPDATE * @see #DELETE */ public int getType(); /** * Returns the first row that changed. */ public int getFirstRow(); /** * Returns the last row that changed. */ public int getLastRow(); /** * Returns the first column that changed. */ public int getFirstColumn(); /** * Returns the last column that changed. */ public int getLastColumn(); }