|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.crosswire.bibledesktop.desktop.DesktopActions
public class DesktopActions
DesktopAction is nothing more than a holder of the behavior of the Desktop. It could easily be member methods in that class. It is here simply to simplify the Desktop class and minimize maintenance cost. Previously each of the "do" methods was a separate class.
for license details.
Nested Class Summary | |
---|---|
private static class |
DesktopActions.ShowSideBarVisitor
|
Field Summary | |
---|---|
private ActionFactory |
actions
The factory for actions that this class works with |
private AboutPane |
atp
The About window |
protected Desktop |
desktop
The desktop on which these actions work |
protected static org.slf4j.Logger |
log
The log stream |
private boolean |
osxRegistered
Indicates whether there is MacOSX integration. |
private SitesPane |
sites
The Book installer window |
Constructor Summary | |
---|---|
DesktopActions(Desktop desktop)
Create the actions for the desktop |
Method Summary | |
---|---|
void |
doAbout()
For opening the About window |
void |
doBack()
Go to previous passage. |
void |
doBCVNum()
|
void |
doBooks()
Opens the Book installer window (aka a SitesPane) |
void |
doCompareToggle(ActionEvent ev)
Show differences between Bible Book versions. |
void |
doContents()
For opening a help file. |
void |
doCopy()
Copy the selected text from the "active" display area to the clipboard. |
void |
doCVNum()
|
void |
doExit()
Exits the VM. |
void |
doForward()
Go to next passage. |
void |
doHeadings(ActionEvent ev)
|
void |
doMorph(ActionEvent ev)
|
void |
doNotes(ActionEvent ev)
|
void |
doNoVNum()
|
void |
doOpen()
Open a new passage window from a file. |
void |
doOptions()
Opens the Options window |
void |
doSave()
Save the current passage window. |
void |
doSaveAll()
Save all the passage windows. |
void |
doSaveAs()
Save the current passage window under a new name. |
void |
doSidebarToggle(ActionEvent ev)
Show large or small tool bar icons. |
void |
doStatusToggle(ActionEvent ev)
Show large or small tool bar icons. |
void |
doStrongs(ActionEvent ev)
|
void |
doTinyVNum(ActionEvent ev)
|
void |
doToolTipToggle(ActionEvent ev)
Show large or small tool bar icons. |
void |
doViewSource()
View the HTML as interpreted by the current window. |
void |
doVLine(ActionEvent ev)
|
void |
doVNum()
|
void |
doXRef(ActionEvent ev)
|
void |
fixGnome()
|
ActionFactory |
getActions()
|
Desktop |
getDesktop()
|
SitesPane |
getSites()
|
boolean |
isOSXRegistered()
Determines whether MacOSX has been registered. |
boolean |
macOSXRegistration()
Register the application with Apple EAWT, which provides support for the Application Menu, with About, Preferences (Options) and Quit (Exit). |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected Desktop desktop
private ActionFactory actions
private boolean osxRegistered
private AboutPane atp
private SitesPane sites
protected static final org.slf4j.Logger log
Constructor Detail |
---|
public DesktopActions(Desktop desktop)
desktop
- the desktop for which these actions applyMethod Detail |
---|
public Desktop getDesktop()
public ActionFactory getActions()
public boolean macOSXRegistration()
public void fixGnome()
public boolean isOSXRegistered()
public SitesPane getSites()
public void doOpen()
public void doSave()
public void doSaveAs()
public void doSaveAll()
public void doExit()
public void doCopy()
public void doBack()
public void doForward()
public void doStrongs(ActionEvent ev)
public void doMorph(ActionEvent ev)
public void doVLine(ActionEvent ev)
public void doVNum()
public void doTinyVNum(ActionEvent ev)
public void doBCVNum()
public void doCVNum()
public void doNoVNum()
public void doCompareToggle(ActionEvent ev)
public void doHeadings(ActionEvent ev)
public void doNotes(ActionEvent ev)
public void doXRef(ActionEvent ev)
public void doViewSource()
public void doBooks()
public void doOptions()
public void doContents()
public void doAbout()
public void doToolTipToggle(ActionEvent ev)
public void doStatusToggle(ActionEvent ev)
public void doSidebarToggle(ActionEvent ev)
|
Copyright ยจ 2003-2015 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |