Package jmri.jmrit.logixng.tools.swing
Class TableEditor
- java.lang.Object
- 
- jmri.jmrit.logixng.tools.swing.TableEditor
 
- 
- All Implemented Interfaces:
- AbstractLogixNGEditor<NamedTable>
 
 public final class TableEditor extends java.lang.Object implements AbstractLogixNGEditor<NamedTable> Editor for LogixNG Tables
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static interfaceTableEditor.TableEventListenerCreate a custom listener event.classTableEditor.TableTableModelTable model for Tables in the Edit NamedTable pane.- 
Nested classes/interfaces inherited from interface jmri.jmrit.logixng.tools.swing.AbstractLogixNGEditorAbstractLogixNGEditor.EditorEventListener
 
- 
 - 
Field SummaryFields Modifier and Type Field Description (package private) java.util.List<AbstractLogixNGEditor.EditorEventListener>listenerListMaintain a list of listeners -- normally only one.
 - 
Constructor SummaryConstructors Constructor Description TableEditor(BeanTableDataModel<NamedTable> m, java.lang.String sName)Create a new ConditionalNG List View editor.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddEditorEventListener(AbstractLogixNGEditor.EditorEventListener listener)Add a listener.voidbringToFront()(package private) voiddeletePressed()Respond to the Delete button in the Edit NamedTable window.(package private) voidfinishDone()protected java.lang.StringgetClassName()voidremoveEditorEventListener(AbstractLogixNGEditor.EditorEventListener listener)Remove a listener -- not used.(package private) voidshowSaveReminder()Display reminder to save.
 
- 
- 
- 
Field Detail- 
listenerListjava.util.List<AbstractLogixNGEditor.EditorEventListener> listenerList Maintain a list of listeners -- normally only one.
 
- 
 - 
Constructor Detail- 
TableEditorpublic TableEditor(BeanTableDataModel<NamedTable> m, java.lang.String sName) Create a new ConditionalNG List View editor.- Parameters:
- m- the bean table model
- sName- name of the NamedTable being edited
 
 
- 
 - 
Method Detail- 
bringToFrontpublic void bringToFront() - Specified by:
- bringToFrontin interface- AbstractLogixNGEditor<NamedTable>
 
 - 
showSaveRemindervoid showSaveReminder() Display reminder to save.
 - 
finishDonevoid finishDone() 
 - 
deletePressedvoid deletePressed() Respond to the Delete button in the Edit NamedTable window.
 - 
getClassNameprotected java.lang.String getClassName() 
 - 
addEditorEventListenerpublic void addEditorEventListener(AbstractLogixNGEditor.EditorEventListener listener) Add a listener.- Specified by:
- addEditorEventListenerin interface- AbstractLogixNGEditor<NamedTable>
- Parameters:
- listener- The recipient
 
 - 
removeEditorEventListenerpublic void removeEditorEventListener(AbstractLogixNGEditor.EditorEventListener listener) Remove a listener -- not used.- Specified by:
- removeEditorEventListenerin interface- AbstractLogixNGEditor<NamedTable>
- Parameters:
- listener- The recipient
 
 
- 
 
-