Package jmri.jmrit.beantable
Class AbstractTableAction.TableItem<E extends NamedBean>
- java.lang.Object
-
- jmri.jmrit.beantable.AbstractTableAction.TableItem<E>
-
- All Implemented Interfaces:
java.util.EventListener
,javax.swing.event.TableColumnModelListener
- Direct Known Subclasses:
AbstractTableTabAction.TabbedTableItem
- Enclosing class:
- AbstractTableAction<E extends NamedBean>
protected static class AbstractTableAction.TableItem<E extends NamedBean> extends java.lang.Object implements javax.swing.event.TableColumnModelListener
-
-
Field Summary
Fields Modifier and Type Field Description (package private) BeanTableFrame<E>
beanTableFrame
(package private) BeanTableDataModel<E>
dataModel
(package private) javax.swing.JTable
dataTable
(package private) TriStateJCheckBox
propertyVisible
(package private) AbstractTableAction<E>
tableAction
-
Constructor Summary
Constructors Constructor Description TableItem(AbstractTableAction<E> tableAction)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
addToBottomBox(javax.swing.JComponent comp)
void
columnAdded(javax.swing.event.TableColumnModelEvent e)
A column is now visible.void
columnMarginChanged(javax.swing.event.ChangeEvent e)
Unused.void
columnMoved(javax.swing.event.TableColumnModelEvent e)
Unused.void
columnRemoved(javax.swing.event.TableColumnModelEvent e)
A column is now hidden.void
columnSelectionChanged(javax.swing.event.ListSelectionEvent e)
Unused.protected void
dispose()
AbstractTableAction<E>
getAAClass()
javax.swing.JTable
getDataTable()
(package private) void
includeAddButton(boolean includeAddButton)
(package private) void
includePropertyCheckBox()
(package private) void
setTableFrame(BeanTableFrame<E> frame)
-
-
-
Field Detail
-
dataModel
BeanTableDataModel<E extends NamedBean> dataModel
-
dataTable
javax.swing.JTable dataTable
-
tableAction
final AbstractTableAction<E extends NamedBean> tableAction
-
beanTableFrame
BeanTableFrame<E extends NamedBean> beanTableFrame
-
propertyVisible
final TriStateJCheckBox propertyVisible
-
-
Constructor Detail
-
TableItem
public TableItem(@Nonnull AbstractTableAction<E> tableAction)
-
-
Method Detail
-
setTableFrame
void setTableFrame(BeanTableFrame<E> frame)
-
getAAClass
public AbstractTableAction<E> getAAClass()
-
getDataTable
public javax.swing.JTable getDataTable()
-
includePropertyCheckBox
void includePropertyCheckBox()
-
includeAddButton
void includeAddButton(boolean includeAddButton)
-
addToBottomBox
protected void addToBottomBox(javax.swing.JComponent comp)
-
columnAdded
public void columnAdded(javax.swing.event.TableColumnModelEvent e)
A column is now visible. fireColumnsUpdated()- Specified by:
columnAdded
in interfacejavax.swing.event.TableColumnModelListener
-
columnRemoved
public void columnRemoved(javax.swing.event.TableColumnModelEvent e)
A column is now hidden. fireColumnsUpdated()- Specified by:
columnRemoved
in interfacejavax.swing.event.TableColumnModelListener
-
columnMoved
public void columnMoved(javax.swing.event.TableColumnModelEvent e)
Unused.- Specified by:
columnMoved
in interfacejavax.swing.event.TableColumnModelListener
-
columnSelectionChanged
public void columnSelectionChanged(javax.swing.event.ListSelectionEvent e)
Unused.- Specified by:
columnSelectionChanged
in interfacejavax.swing.event.TableColumnModelListener
-
columnMarginChanged
public void columnMarginChanged(javax.swing.event.ChangeEvent e)
Unused.- Specified by:
columnMarginChanged
in interfacejavax.swing.event.TableColumnModelListener
-
dispose
protected void dispose()
-
-