Uses of Interface
ca.odell.glazedlists.gui.TableFormat
-
Packages that use TableFormat Package Description ca.odell.glazedlists ca.odell.glazedlists.gui ca.odell.glazedlists.swing -
-
Uses of TableFormat in ca.odell.glazedlists
Methods in ca.odell.glazedlists that return TableFormat Modifier and Type Method Description static <T> TableFormat<T>
GlazedLists. tableFormat(java.lang.Class<T> baseClass, java.lang.String[] propertyNames, java.lang.String[] columnLabels)
Creates aTableFormat
that binds JavaBean properties to table columns via Reflection.static <T> TableFormat<T>
GlazedLists. tableFormat(java.lang.Class<T> baseClass, java.lang.String[] propertyNames, java.lang.String[] columnLabels, boolean[] editable)
Creates aTableFormat
that binds JavaBean properties to table columns via Reflection.static <T> TableFormat<T>
GlazedLists. tableFormat(java.lang.String[] propertyNames, java.lang.String[] columnLabels)
Creates aTableFormat
that binds JavaBean properties to table columns via Reflection.static <T> TableFormat<T>
GlazedLists. tableFormat(java.lang.String[] propertyNames, java.lang.String[] columnLabels, boolean[] editable)
Creates aTableFormat
that binds JavaBean properties to table columns via Reflection. -
Uses of TableFormat in ca.odell.glazedlists.gui
Subinterfaces of TableFormat in ca.odell.glazedlists.gui Modifier and Type Interface Description interface
AdvancedTableFormat<E>
Allows the ability to specify column class information in addition to the standardTableFormat
information.interface
CheckableTableFormat<E>
Specifies how to check table elements.interface
WritableTableFormat<E>
Specifies how to edit the elements of table.Methods in ca.odell.glazedlists.gui with parameters of type TableFormat Modifier and Type Method Description protected void
AbstractTableComparatorChooser. setTableFormat(TableFormat<? super E> tableFormat)
Adjusts the TableFormat this comparator chooser uses when selecting comparators.Constructors in ca.odell.glazedlists.gui with parameters of type TableFormat Constructor Description AbstractTableComparatorChooser(SortedList<E> sortedList, TableFormat<? super E> tableFormat)
Create aAbstractTableComparatorChooser
that sorts the specifiedSortedList
over the specified columns. -
Uses of TableFormat in ca.odell.glazedlists.swing
Methods in ca.odell.glazedlists.swing that return TableFormat Modifier and Type Method Description TableFormat<? super E>
AdvancedTableModel. getTableFormat()
Gets theTableFormat
used by this table model.TableFormat<? super E>
DefaultEventTableModel. getTableFormat()
Gets theTableFormat
used by this table model.Methods in ca.odell.glazedlists.swing with parameters of type TableFormat Modifier and Type Method Description static <E> AutoCompleteSupport.AutoCompleteCellEditor<E>
AutoCompleteSupport. createTableCellEditor(TableFormat<E> tableFormat, EventList<E> tableData, int columnIndex)
This factory method creates and returns aAutoCompleteSupport.AutoCompleteCellEditor
which adapts an autocompletingJComboBox
for use as a Table Cell Editor.static <E> AutoCompleteSupport.AutoCompleteCellEditor<E>
AutoCompleteSupport. createTableCellEditor(java.util.Comparator uniqueComparator, TableFormat<E> tableFormat, EventList<E> tableData, int columnIndex)
This factory method creates and returns aAutoCompleteSupport.AutoCompleteCellEditor
which adapts an autocompletingJComboBox
for use as a Table Cell Editor.static <E> AdvancedTableModel<E>
GlazedListsSwing. eventTableModel(EventList<E> source, TableFormat<? super E> tableFormat)
Creates a new table model that extracts column data from the givensource
using the the giventableFormat
.static <E> AdvancedTableModel<E>
GlazedListsSwing. eventTableModelWithThreadProxyList(EventList<E> source, TableFormat<? super E> tableFormat)
Creates a new table model that extracts column data from the givensource
using the the giventableFormat
.static <E> TableComparatorChooser<E>
TableComparatorChooser. install(javax.swing.JTable table, SortedList<E> sortedList, java.lang.Object strategy, TableFormat<? super E> tableFormat)
Installs a new TableComparatorChooser that responds to clicks on the header of the specified table and uses them to sort the specifiedsortedList
by delegating to the givenstrategy
If at any time the table should no longer sort, the behaviour can be removed callingTableComparatorChooser.dispose()
on the object returned by this method.void
AdvancedTableModel. setTableFormat(TableFormat<? super E> tableFormat)
Sets theTableFormat
that will extract column data from each element.void
DefaultEventTableModel. setTableFormat(TableFormat<? super E> tableFormat)
Sets theTableFormat
that will extract column data from each element.Constructors in ca.odell.glazedlists.swing with parameters of type TableFormat Constructor Description DefaultEventTableModel(EventList<E> source, boolean disposeSource, TableFormat<? super E> tableFormat)
Creates a new table model that extracts column data from the givensource
using the the giventableFormat
.DefaultEventTableModel(EventList<E> source, TableFormat<? super E> tableFormat)
Creates a new table model that extracts column data from the givensource
using the the giventableFormat
.EventTableModel(EventList<E> source, TableFormat<? super E> tableFormat)
Deprecated.TableComparatorChooser(javax.swing.JTable table, SortedList<E> sortedList, java.lang.Object strategy, TableFormat<? super E> tableFormat)
Creates and installs a TableComparatorChooser.
-