- groovy.inspect.swingui.TableSorter
-
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-
-
Inherited fields
Fields inherited from class |
Fields |
class TableMap |
model |
-
Methods Summary
Methods
Type |
Name and description |
void |
addMouseListenerToHeaderInTable(JTable table)
|
void |
checkModel()
|
int |
compare(int row1, int row2)
|
int |
compareRowsByColumn(int row1, int row2, int column)
|
Object |
getValueAt(int aRow, int aColumn)
|
void |
n2sort()
|
void |
reallocateIndexes()
|
void |
setModel(TableModel model)
|
void |
setValueAt(Object aValue, int aRow, int aColumn)
|
void |
shuttlesort(int[] from, int[] to, int low, int high)
|
void |
sort(Object sender)
|
void |
sortByColumn(int column)
|
void |
sortByColumn(int column, boolean ascending)
|
void |
swap(int i, int j)
|
void |
tableChanged(TableModelEvent e)
|
-
Inherited Methods Summary
Inherited Methods
Methods inherited from class |
Name |
class TableMap |
getColumnClass, getColumnCount, getColumnName, getModel, getRowCount, getValueAt, isCellEditable, setModel, setValueAt, tableChanged |
class AbstractTableModel |
fireTableCellUpdated, fireTableChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, isCellEditable, setValueAt, addTableModelListener, fireTableDataChanged, getColumnClass, getTableModelListeners, removeTableModelListener, getListeners, findColumn, getColumnName, wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll, getColumnCount, getRowCount, getValueAt |
-
-
Method Detail
-
public void addMouseListenerToHeaderInTable(JTable table)
-
public int compare(int row1, int row2)
-
public int compareRowsByColumn(int row1, int row2, int column)
-
public Object getValueAt(int aRow, int aColumn)
-
public void reallocateIndexes()
-
public void setValueAt(Object aValue, int aRow, int aColumn)
-
public void shuttlesort(int[] from, int[] to, int low, int high)
-
public void sort(Object sender)
-
public void sortByColumn(int column)
-
public void sortByColumn(int column, boolean ascending)
-
public void swap(int i, int j)
Copyright © 2003-2015 The Apache Software Foundation. All rights reserved.