jdk/src/share/classes/javax/swing/table/DefaultTableColumnModel.java
changeset 21278 ef8a3a2a72f2
parent 20458 f2423fb3fd19
child 22574 7f8ce0c8c20a
equal deleted inserted replaced
21277:bd380b80f9ea 21278:ef8a3a2a72f2
   313      * TableColumnModel does not know how the table columns actually appear on
   313      * TableColumnModel does not know how the table columns actually appear on
   314      * screen.  The visual presentation of the columns is the responsibility
   314      * screen.  The visual presentation of the columns is the responsibility
   315      * of the view/controller object using this model (typically JTable).  The
   315      * of the view/controller object using this model (typically JTable).  The
   316      * view/controller need not display the columns sequentially from left to
   316      * view/controller need not display the columns sequentially from left to
   317      * right.  For example, columns could be displayed from right to left to
   317      * right.  For example, columns could be displayed from right to left to
   318      * accomodate a locale preference or some columns might be hidden at the
   318      * accommodate a locale preference or some columns might be hidden at the
   319      * request of the user.  Because the model does not know how the columns
   319      * request of the user.  Because the model does not know how the columns
   320      * are laid out on screen, the given <code>xPosition</code> should not be
   320      * are laid out on screen, the given <code>xPosition</code> should not be
   321      * considered to be a coordinate in 2D graphics space.  Instead, it should
   321      * considered to be a coordinate in 2D graphics space.  Instead, it should
   322      * be considered to be a width from the start of the first column in the
   322      * be considered to be a width from the start of the first column in the
   323      * model.  If the column index for a given X coordinate in 2D space is
   323      * model.  If the column index for a given X coordinate in 2D space is