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 Summary
Nested Classes Modifier and Type Class Description static interface
TableEditor.TableEventListener
Create a custom listener event.class
TableEditor.TableTableModel
Table model for Tables in the Edit NamedTable pane.-
Nested classes/interfaces inherited from interface jmri.jmrit.logixng.tools.swing.AbstractLogixNGEditor
AbstractLogixNGEditor.EditorEventListener
-
-
Field Summary
Fields Modifier and Type Field Description (package private) java.util.List<AbstractLogixNGEditor.EditorEventListener>
listenerList
Maintain a list of listeners -- normally only one.
-
Constructor Summary
Constructors Constructor Description TableEditor(BeanTableDataModel<NamedTable> m, java.lang.String sName)
Create a new ConditionalNG List View editor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addEditorEventListener(AbstractLogixNGEditor.EditorEventListener listener)
Add a listener.void
bringToFront()
(package private) void
deletePressed()
Respond to the Delete button in the Edit NamedTable window.(package private) void
finishDone()
protected java.lang.String
getClassName()
void
removeEditorEventListener(AbstractLogixNGEditor.EditorEventListener listener)
Remove a listener -- not used.(package private) void
showSaveReminder()
Display reminder to save.
-
-
-
Field Detail
-
listenerList
java.util.List<AbstractLogixNGEditor.EditorEventListener> listenerList
Maintain a list of listeners -- normally only one.
-
-
Constructor Detail
-
TableEditor
public TableEditor(BeanTableDataModel<NamedTable> m, java.lang.String sName)
Create a new ConditionalNG List View editor.- Parameters:
m
- the bean table modelsName
- name of the NamedTable being edited
-
-
Method Detail
-
bringToFront
public void bringToFront()
- Specified by:
bringToFront
in interfaceAbstractLogixNGEditor<NamedTable>
-
showSaveReminder
void showSaveReminder()
Display reminder to save.
-
finishDone
void finishDone()
-
deletePressed
void deletePressed()
Respond to the Delete button in the Edit NamedTable window.
-
getClassName
protected java.lang.String getClassName()
-
addEditorEventListener
public void addEditorEventListener(AbstractLogixNGEditor.EditorEventListener listener)
Add a listener.- Specified by:
addEditorEventListener
in interfaceAbstractLogixNGEditor<NamedTable>
- Parameters:
listener
- The recipient
-
removeEditorEventListener
public void removeEditorEventListener(AbstractLogixNGEditor.EditorEventListener listener)
Remove a listener -- not used.- Specified by:
removeEditorEventListener
in interfaceAbstractLogixNGEditor<NamedTable>
- Parameters:
listener
- The recipient
-
-