< prev index next >

src/java.desktop/share/classes/javax/swing/DropMode.java

Print this page




  61      * where to insert new rows, columns, or both, to accommodate
  62      * the dropped data.
  63      */
  64     INSERT,
  65 
  66     /**
  67      * The drop location should be tracked in terms of the row index
  68      * where new rows should be inserted to accommodate the dropped
  69      * data. This is useful for components that manage tabular data.
  70      */
  71     INSERT_ROWS,
  72 
  73     /**
  74      * The drop location should be tracked in terms of the column index
  75      * where new columns should be inserted to accommodate the dropped
  76      * data. This is useful for components that manage tabular data.
  77      */
  78     INSERT_COLS,
  79 
  80     /**
  81      * This mode is a combination of <code>ON</code>
  82      * and <code>INSERT</code>, specifying that data can be
  83      * dropped on existing items, or in insert locations
  84      * as specified by <code>INSERT</code>.
  85      */
  86     ON_OR_INSERT,
  87 
  88     /**
  89      * This mode is a combination of <code>ON</code>
  90      * and <code>INSERT_ROWS</code>, specifying that data can be
  91      * dropped on existing items, or as insert rows
  92      * as specified by <code>INSERT_ROWS</code>.
  93      */
  94     ON_OR_INSERT_ROWS,
  95 
  96     /**
  97      * This mode is a combination of <code>ON</code>
  98      * and <code>INSERT_COLS</code>, specifying that data can be
  99      * dropped on existing items, or as insert columns
 100      * as specified by <code>INSERT_COLS</code>.
 101      */
 102     ON_OR_INSERT_COLS
 103 }


  61      * where to insert new rows, columns, or both, to accommodate
  62      * the dropped data.
  63      */
  64     INSERT,
  65 
  66     /**
  67      * The drop location should be tracked in terms of the row index
  68      * where new rows should be inserted to accommodate the dropped
  69      * data. This is useful for components that manage tabular data.
  70      */
  71     INSERT_ROWS,
  72 
  73     /**
  74      * The drop location should be tracked in terms of the column index
  75      * where new columns should be inserted to accommodate the dropped
  76      * data. This is useful for components that manage tabular data.
  77      */
  78     INSERT_COLS,
  79 
  80     /**
  81      * This mode is a combination of {@code ON}
  82      * and {@code INSERT}, specifying that data can be
  83      * dropped on existing items, or in insert locations
  84      * as specified by {@code INSERT}.
  85      */
  86     ON_OR_INSERT,
  87 
  88     /**
  89      * This mode is a combination of {@code ON}
  90      * and {@code INSERT_ROWS}, specifying that data can be
  91      * dropped on existing items, or as insert rows
  92      * as specified by {@code INSERT_ROWS}.
  93      */
  94     ON_OR_INSERT_ROWS,
  95 
  96     /**
  97      * This mode is a combination of {@code ON}
  98      * and {@code INSERT_COLS}, specifying that data can be
  99      * dropped on existing items, or as insert columns
 100      * as specified by {@code INSERT_COLS}.
 101      */
 102     ON_OR_INSERT_COLS
 103 }
< prev index next >