diff options
Diffstat (limited to 'libjava/javax/swing/table/TableColumnModel.java')
-rw-r--r-- | libjava/javax/swing/table/TableColumnModel.java | 198 |
1 files changed, 99 insertions, 99 deletions
diff --git a/libjava/javax/swing/table/TableColumnModel.java b/libjava/javax/swing/table/TableColumnModel.java index b825ca0606c..1c036d8a11e 100644 --- a/libjava/javax/swing/table/TableColumnModel.java +++ b/libjava/javax/swing/table/TableColumnModel.java @@ -49,118 +49,118 @@ import javax.swing.event.TableColumnModelListener; */ public interface TableColumnModel { - /** - * addColumn - * @param column TableColumn - */ - void addColumn(TableColumn column); - - /** - * removeColumn - * @param column TableColumn - */ - void removeColumn(TableColumn column); - - /** - * moveColumn - * @param columnIndex Index of column to move - * @param newIndex New index of column - */ - void moveColumn(int columnIndex, int newIndex); - - /** - * setColumnMargin - * @param margin Margin of column - */ - void setColumnMargin(int margin); - - /** - * getColumnCount + /** + * addColumn + * @param column TableColumn + */ + void addColumn(TableColumn column); + + /** + * removeColumn + * @param column TableColumn + */ + void removeColumn(TableColumn column); + + /** + * moveColumn + * @param columnIndex Index of column to move + * @param newIndex New index of column + */ + void moveColumn(int columnIndex, int newIndex); + + /** + * setColumnMargin + * @param margin Margin of column + */ + void setColumnMargin(int margin); + + /** + * getColumnCount * @return Column count - */ - int getColumnCount(); + */ + int getColumnCount(); - /** - * getColumns + /** + * getColumns * @return Enumeration of columns - */ - Enumeration getColumns(); - - /** - * getColumnIndex - * @param columnIdentifier Column id - */ - int getColumnIndex(Object columnIdentifier); - - /** - * getColumn - * @param columnIndex Index of column - */ - TableColumn getColumn(int columnIndex); - - /** - * getColumnMargin + */ + Enumeration getColumns(); + + /** + * getColumnIndex + * @param columnIdentifier Column id + */ + int getColumnIndex(Object columnIdentifier); + + /** + * getColumn + * @param columnIndex Index of column + */ + TableColumn getColumn(int columnIndex); + + /** + * getColumnMargin * @return Column margin - */ - int getColumnMargin(); + */ + int getColumnMargin(); - /** - * getColumnIndexAtX + /** + * getColumnIndexAtX * @return Column index as position x - */ - int getColumnIndexAtX(int xPosition); + */ + int getColumnIndexAtX(int xPosition); - /** - * getTotalColumnWidth + /** + * getTotalColumnWidth * @return Total column width - */ - int getTotalColumnWidth(); + */ + int getTotalColumnWidth(); - /** - * setColumnSelectionAllowed - * @param value Set column selection - */ - void setColumnSelectionAllowed(boolean value); + /** + * setColumnSelectionAllowed + * @param value Set column selection + */ + void setColumnSelectionAllowed(boolean value); - /** - * getColumnSelectionAllowed + /** + * getColumnSelectionAllowed * @return true if column selection allowed, false otherwise - */ - boolean getColumnSelectionAllowed(); + */ + boolean getColumnSelectionAllowed(); - /** - * getSelectedColumns + /** + * getSelectedColumns * @return Selected columns - */ - int[] getSelectedColumns(); + */ + int[] getSelectedColumns(); - /** - * getSelectedColumnCount + /** + * getSelectedColumnCount * @return Count of selected columns - */ - int getSelectedColumnCount(); - - /** - * setSelectionModel - * @param model ListSelectionModel - */ - void setSelectionModel(ListSelectionModel model); - - /** - * getSelectionModel - * @param column TableColumn - */ - ListSelectionModel getSelectionModel(); - - /** - * addColumnModelListener - * @param listener TableColumnModelListener - */ - void addColumnModelListener(TableColumnModelListener listener); - - /** - * removeColumnModelListener - * @param listener TableColumnModelListener - */ - void removeColumnModelListener(TableColumnModelListener listener); + */ + int getSelectedColumnCount(); + + /** + * setSelectionModel + * @param model ListSelectionModel + */ + void setSelectionModel(ListSelectionModel model); + + /** + * getSelectionModel + * @param column TableColumn + */ + ListSelectionModel getSelectionModel(); + + /** + * addColumnModelListener + * @param listener TableColumnModelListener + */ + void addColumnModelListener(TableColumnModelListener listener); + + /** + * removeColumnModelListener + * @param listener TableColumnModelListener + */ + void removeColumnModelListener(TableColumnModelListener listener); } |