java.lang.Object
com.virtuosotechnologies.asaph.standardgui.SongEditor
- class SongEditor
- extends java.lang.Object
Song editor pane implementation
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
STR_menu_EditTitle
private static final java.lang.String STR_menu_EditTitle
STR_menu_Edit_UndoItem
private static final java.lang.String STR_menu_Edit_UndoItem
STR_menu_Edit_RedoItem
private static final java.lang.String STR_menu_Edit_RedoItem
STR_menu_Edit_CutItem
private static final java.lang.String STR_menu_Edit_CutItem
STR_menu_Edit_CopyItem
private static final java.lang.String STR_menu_Edit_CopyItem
STR_menu_Edit_PasteItem
private static final java.lang.String STR_menu_Edit_PasteItem
STR_menu_Edit_DeleteItem
private static final java.lang.String STR_menu_Edit_DeleteItem
STR_menu_Edit_UndoKeyStroke
private static final java.lang.String STR_menu_Edit_UndoKeyStroke
STR_menu_Edit_RedoKeyStroke
private static final java.lang.String STR_menu_Edit_RedoKeyStroke
STR_menu_Edit_CutKeyStroke
private static final java.lang.String STR_menu_Edit_CutKeyStroke
STR_menu_Edit_CopyKeyStroke
private static final java.lang.String STR_menu_Edit_CopyKeyStroke
STR_menu_Edit_PasteKeyStroke
private static final java.lang.String STR_menu_Edit_PasteKeyStroke
STR_SongEditor_FieldsTab
private static final java.lang.String STR_SongEditor_FieldsTab
STR_SongEditor_AltTitlesLabel
private static final java.lang.String STR_SongEditor_AltTitlesLabel
STR_SongEditor_KeywordsLabel
private static final java.lang.String STR_SongEditor_KeywordsLabel
STR_SongEditor_VersionsTab
private static final java.lang.String STR_SongEditor_VersionsTab
STR_SongEditor_BodyTab
private static final java.lang.String STR_SongEditor_BodyTab
STR_SongEditor_NotesTab
private static final java.lang.String STR_SongEditor_NotesTab
logger_
private java.util.logging.Logger logger_
editorPrefs_
private EditorPrefs editorPrefs_
songUtils_
private com.virtuosotechnologies.asaph.modelutils.SongUtils songUtils_
window_
private SongWindow window_
jobRunner_
private com.virtuosotechnologies.lib.asyncjob.AsyncJobRunner jobRunner_
songID_
private com.virtuosotechnologies.asaph.model.SongID songID_
song_
private com.virtuosotechnologies.asaph.model.Song song_
commandGroup_
private com.virtuosotechnologies.lib.basiccommand.BasicCommandNode commandGroup_
undoCommand_
private com.virtuosotechnologies.lib.basiccommand.BasicCommandNode undoCommand_
redoCommand_
private com.virtuosotechnologies.lib.basiccommand.BasicCommandNode redoCommand_
cutCommand_
private com.virtuosotechnologies.lib.basiccommand.BasicCommandNode cutCommand_
copyCommand_
private com.virtuosotechnologies.lib.basiccommand.BasicCommandNode copyCommand_
pasteCommand_
private com.virtuosotechnologies.lib.basiccommand.BasicCommandNode pasteCommand_
deleteCommand_
private com.virtuosotechnologies.lib.basiccommand.BasicCommandNode deleteCommand_
formClipboardGroup_
private com.virtuosotechnologies.lib.basiccommand.BasicCommandNode formClipboardGroup_
bodyEditorEditGroup_
private com.virtuosotechnologies.lib.basiccommand.BasicCommandNode bodyEditorEditGroup_
bodyEditorMenuGroup_
private com.virtuosotechnologies.lib.basiccommand.BasicCommandNode bodyEditorMenuGroup_
tabbedPane_
private javax.swing.JTabbedPane tabbedPane_
showingBodyEditor_
private boolean showingBodyEditor_
undoManager_
private javax.swing.undo.UndoManager undoManager_
bodyEditor_
private SongBodyEditorPane bodyEditor_
SongEditor
SongEditor(SongWindow window,
com.virtuosotechnologies.asaph.modelutils.SongUtils songUtils,
EditorPrefs editorPrefs,
com.virtuosotechnologies.asaph.maingui.GuiEnvironmentManager guiEnvironmentManager,
com.virtuosotechnologies.lib.asyncjob.AsyncJobRunner jobRunner,
com.virtuosotechnologies.asaph.model.SongID songID,
com.virtuosotechnologies.asaph.model.Song song)
- Constructor
dispose
void dispose()
- Dispose the editor
setUndoLevels
void setUndoLevels(int levels)
getJComponent
javax.swing.JComponent getJComponent()
- Get the component
getCommandNode
com.virtuosotechnologies.lib.command.CommandNode getCommandNode()
- Get the toplevel command node
markDirty
void markDirty()
commitCurrentField
void commitCurrentField()
updateFieldClipboardMenus
void updateFieldClipboardMenus(int level)
buildMenus
private void buildMenus()
performCommonOperations
private void performCommonOperations()
addTabSwitchingEdit
private void addTabSwitchingEdit(javax.swing.undo.UndoableEdit delegate,
javax.swing.JComponent component)
addTabSwitchingEdit
private void addTabSwitchingEdit(javax.swing.undo.UndoableEdit delegate,
javax.swing.JComponent component,
SongBodyEditorPane bodyEditorPane)
buildFieldsTab
private void buildFieldsTab()
buildVersionsTab
private void buildVersionsTab()
buildSongTab
private void buildSongTab(com.virtuosotechnologies.asaph.maingui.GuiEnvironmentManager guiEnvironmentManager)
buildNotesTab
private void buildNotesTab()