|
|||||||||
PREV NEXT | FRAMES NO FRAMES |
TreeModel
that provides basic
implementations for some of the functions in this interface and can help
implementing own TreeModel
s not using
DefaultMutableTreeNode
s as DefautlTreeModel
does.javax.swing.Actions
to create Actions that forward all incoming ActionEvents to one single or
multiple ActionListeners.actionPerformed()
in
ActionListener
.
actionPerformed()
in
ActionListener
.
actionPerformed()
in
ActionListener
.
Action
s and help using Collection
s of
Action
s.Action
objects in the given Collection
to the given JToolBar
Action
objects in the given Collection
to the given JMenu
TreeModelEvent
posted after the tree
changes.
BooleanPreferenceAction
is a BooleanAction
that is
linked together with a boolean Preferences
mapping.DelegatingAction
JavaBean that implements the
BooleanAction
interface by holding the state in the boolean
property selected as an attribute.CascadingComboBoxModel
is a means to provide a row of combo
boxes where the items selectable in one combobox depend on the selected item
in the previous combo box.TableColumn
in the
ColumnStateTableColumnModel
You should not have to use this class.TableColumnModel
provides the ability of
hiding and unhiding table columns from display using a contextual menu of the
table header.TableModel
that may be used to retrieve
Comparator
s which should be used to sort the values of columns.compare(obj,obj)
in the interface
java.util.Comparator
.
compare(obj,obj)
in the interface
java.util.Comparator
.
JComponent
that will serve as a display for the
Action
.
JComponent
that will serve as a display for the
Action
.
JComponent
that will serve as a display for the
Action
.
Action
s.JComboBox
.Event
s.JTree
.Comparator
that compares any pair of
Object
s.ActionComponentFactory
that creates components
that are MenuItems
suitable for menus.ActionComponentFactory
that creates components
that are AbstractButtons
suitable for tool bars.ForwardingAction
that does simply
nothing than forwarding all ActionEvents
that arrive to the
listners.PreferenceChangeListener
.
treeNodesChanged(tme)
for all listeners registered
with this TreeModel
.
treeNodesInserted(tme)
for all listeners registered
with this TreeModel
.
treeNodesRemoved(tme)
for all listeners registered
with this TreeModel
.
treeStructureChanged(tme)
for all listeners
registered with this TreeModel
.
ForwardingAction
is a special Action
that
forwards all incoming ActionEvents
to listeners that can be
registered beyond mere processing of the events.getColumnClass(col)
in the interface
TableModel
.
getColumnCount()
in the interface
TableModel
.
getColumnName(col)
in the interface
TableModel
.
Comparator
that can be used to compare two Objects
in this TableModel
s column columnIndex
.
ActionComponentFactory
usable for adding
Action
s to a JMenu.
RowSortingTableModel
to provide
row order the returned TableModel
is an instance of that
class.
TableModel
decorated by this wrapper.
getRowCount()
in the interface
TableModel
.
ActionComponentFactory
usable for adding
Action
s to a JToolBar.
JUserFriendlyTable
's RowSortingTableModel
.
getValueAt(row,col)
in the interface
TableModel
.
JTable
isCellEditable(row,col)
in the interface
TableModel
.
JTable
provides the additional ability for the
user to hide/unhide its columns using a contextual menu of the table header
and further it supports sorting of the table's rows by column in ascending
and descending order.JUserFriendlyTable
that is initialized
with a default data model, a default column model, and a default
selection model.
JUserFriendlyTable
that is initialized with
tableModel
as the data model, a default column model, and a
default selection model.
JUserFriendlyTable
that is initialized with
tableModel
as the data model, and
selectionModel
as the selection model.
JUserFriendlyTable
with numRows
and numColumns
of empty cells using
DefaultTableModel
.
JUserFriendlyTable
to display the values in the
Vector
of Vectors
, rowData
, with
column names, columnNames
.
JUserFriendlyTable
to display the values in the
two dimensional array, rowData
, with column names,
columnNames
.
ListDataListener
with empty implementation methods.Comparator
that is a wrapper for other
Comparator
s an can change the order of their comparisons.preferenceChange()
in
PreferenceChangeListener
.
put(key,value)
in interface
java.util>Map
.
Action
s in this
ActionManager
.
Action
s in this
ActionManager
.
Action
s in the given Map
into this Actions
objects in the
given Collection
with the given JComponent
.
addTreeModelListener
.
RowSortingTableModel
.TableColumnModel
s that
enhances them wiht the ability of sorting the rows according to the values of
a column in ascending or descending order.ActionComponentFactory
used when adding
Action
s to a JMenu.
TableModel
for this table.
TableModel
in this decorator and notify all
TableModelListeners
.
TableModel at a table you have enabled row sorting
before using enableRowSorting(table)
.
- setOrder(boolean) -
Method in class de.tkuhn.util.OrderComparator
- Set the order this wrapper will use to transform the comparisons to.
- setPrefWidth(int) -
Method in class de.tkuhn.swing.table.ColumnState
- Setter for property prefWidth.
- setSelected(boolean) -
Method in interface de.tkuhn.swing.actions.BooleanAction
- Setter for property selected.
- setSelected(boolean) -
Method in class de.tkuhn.swing.actions.BooleanPreferenceAction
- Setter for property selected.
- setSelected(boolean) -
Method in class de.tkuhn.swing.actions.BooleanStateAction
- Setter for property selected.
- setSortCol(int) -
Method in class de.tkuhn.swing.table.RowSortingState
- Setter for property sortCol.
- setState(Object) -
Method in class de.tkuhn.swing.table.ColumnStateTableColumnModel
- Resets this column model to the given state if the column structure is
similar to the one present while
getState()
was called.
- setState(Object) -
Method in class de.tkuhn.swing.table.JUserFriendlyTable
- Resets this table to the given state if the
TableModel
is
similar to the model present when getState()
was called.
- setState(Object) -
Method in class de.tkuhn.swing.table.RowSortingTableModel
- Resets this wrapper to the given state if the column structure is similar
to the one present while
getState()
was called.
- setStatePreserving(boolean) -
Method in class de.tkuhn.swing.table.JUserFriendlyTable
- Set if the table should preserve column state on a model change or just
balance columns.
- setSuperModel(ComboBoxModel) -
Method in class de.tkuhn.swing.combobox.CascadingComboBoxModel
- Setter for property superModel.
- setSuperSelected(Object) -
Method in class de.tkuhn.swing.combobox.CascadingComboBoxModel
- Sets the new selected element of the super model only if it changed.
- setToolBarActionComponentFactory(ActionComponentFactory) -
Static method in class de.tkuhn.swing.actions.ActionUtils
- Set the
ActionComponentFactory
used when adding
Action
s to a JToolBar.
- setupTableForRowSorting(JTable) -
Method in class de.tkuhn.swing.table.RowSortingTableModel
- Registers this
RowSortingTableModel
at the given table by
setting itself as its new model and wrapping the table's old model.
- setValueAt(Object, int, int) -
Method in class de.tkuhn.swing.table.RowSortingTableModel
- Implements
getColumnCount()
in the interface
TableModel
.
- showAllColumns() -
Method in class de.tkuhn.swing.table.ColumnStateTableColumnModel
- Show all hidden columns
- showColumn(Object) -
Method in class de.tkuhn.swing.table.ColumnStateTableColumnModel
- Show a previously hidden column and set the state of the popup menu
- sort(int, boolean) -
Method in class de.tkuhn.swing.table.RowSortingTableModel
- Have the decorator sort the rows by values of given column in given
order.
setupTableForRowSorting(table)
by setting the table's
model to its old model again and removing the header extension for event
listening
path
to newValue
.
|
|||||||||
PREV NEXT | FRAMES NO FRAMES |