|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.swing.AbstractAction
jmri.jmrit.beantable.AbstractTableAction
jmri.jmrit.beantable.AudioTableAction
public class AudioTableAction
Swing action to create and register an AudioTable GUI.
JMRI is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation. See the "COPYING" file for a copy of this license.
JMRI is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
| Nested Class Summary | |
|---|---|
class |
AudioTableAction.AudioBufferTableDataModel
Specific AudioTableDataModel for Audio Buffer sub-type |
class |
AudioTableAction.AudioListenerTableDataModel
Specific AudioTableDataModel for Audio Listener sub-type |
class |
AudioTableAction.AudioSourceTableDataModel
Specific AudioTableDataModel for Audio Source sub-type |
class |
AudioTableAction.AudioTableDataModel
Define abstract AudioTableDataModel |
| Field Summary |
|---|
| Fields inherited from class jmri.jmrit.beantable.AbstractTableAction |
|---|
f, m, rb, rbean |
| Fields inherited from class javax.swing.AbstractAction |
|---|
changeSupport, enabled |
| Fields inherited from interface javax.swing.Action |
|---|
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON |
| Constructor Summary | |
|---|---|
AudioTableAction()
Default constructor |
|
AudioTableAction(String actionName)
Create an action with a specific title. |
|
| Method Summary | |
|---|---|
void |
actionPerformed(ActionEvent e)
|
protected void |
addPressed(ActionEvent e)
|
void |
addToFrame(BeanTableFrame f)
Allow subclasses to add to the frame without have to actually subclass the BeanTableDataFrame |
protected void |
createModel()
Create the JTable DataModels, along with the changes for the specific case of Audio objects |
protected void |
editAudio(Audio a)
|
String |
getClassDescription()
|
protected String |
getClassName()
|
JPanel |
getPanel()
|
protected String |
helpTarget()
Specify the JavaHelp target for this specific panel |
void |
setMenuBar(BeanTableFrame f)
Allow subclasses to add alter the frames Menubar without have to actually subclass the BeanTableDataFrame |
protected void |
setTitle()
Include the correct title |
| Methods inherited from class jmri.jmrit.beantable.AbstractTableAction |
|---|
addToPanel, dispose, getTableDataModel, makeJTable, print, setFrame, setManager, setMessagePreferencesDetails |
| Methods inherited from class javax.swing.AbstractAction |
|---|
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AudioTableAction(String actionName)
Note that the argument is the Action title, not the title of the resulting frame. Perhaps this should be changed?
actionName - public AudioTableAction()
| Method Detail |
|---|
public void addToFrame(BeanTableFrame f)
AbstractTableAction
addToFrame in class AbstractTableActionpublic void actionPerformed(ActionEvent e)
actionPerformed in interface ActionListeneractionPerformed in class AbstractTableActionprotected void createModel()
createModel in class AbstractTableActionpublic JPanel getPanel()
getPanel in class AbstractTableActionprotected void setTitle()
AbstractTableAction
setTitle in class AbstractTableActionprotected String helpTarget()
AbstractTableAction
helpTarget in class AbstractTableActionprotected void addPressed(ActionEvent e)
addPressed in class AbstractTableActionpublic void setMenuBar(BeanTableFrame f)
AbstractTableAction
setMenuBar in class AbstractTableActionprotected void editAudio(Audio a)
public String getClassDescription()
getClassDescription in class AbstractTableActionprotected String getClassName()
getClassName in class AbstractTableAction
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||