public final class AboutAction extends JosmAction
| Modifier and Type | Class and Description |
|---|---|
private static class |
AboutAction.OpenDirAction |
JosmAction.ActiveLayerChangeAdapter, JosmAction.LayerChangeAdapter, JosmAction.SelectionChangeAdaptersc| Constructor and Description |
|---|
AboutAction()
Constructs a new
AboutAction. |
| Modifier and Type | Method and Description |
|---|---|
void |
actionPerformed(java.awt.event.ActionEvent e) |
private static void |
addInstallationLine(javax.swing.JPanel inst,
java.lang.String dir,
java.lang.String source)
Add line to installation details showing symbolic name used in status report and actual directory.
|
(package private) javax.swing.JPanel |
buildAboutPanel() |
private static javax.swing.JLabel |
createImageLink(java.lang.String tooltip,
java.lang.String icon,
java.lang.String link) |
private static javax.swing.JScrollPane |
createScrollPane(JosmTextArea area) |
private static void |
displayErrorMessage(javax.swing.JTextArea ta,
java.lang.String msg) |
private void |
setTextFromResourceFile(javax.swing.JTextArea ta,
java.lang.String filePath)
Reads the contents of the resource file that is described by the
filePath-attribute and puts that text
into the JTextArea given by the ta-attribute. |
checkAndConfirmOutlyingOperation, destroy, getLayerManager, getShortcut, initEnabledState, installAdapters, listenToLayerChange, listenToSelectionChange, setHelpId, setTooltip, updateEnabledState, updateEnabledState, updateEnabledStateOnCurrentSelection, updateEnabledStateOnCurrentSelection, updateEnabledStateOnModifiableSelection, waitFuturepublic AboutAction()
AboutAction.javax.swing.JPanel buildAboutPanel()
public void actionPerformed(java.awt.event.ActionEvent e)
private static void addInstallationLine(javax.swing.JPanel inst, java.lang.String dir, java.lang.String source)
inst - the paneldir - the actual path represented by a symbolsource - source for symbolprivate static javax.swing.JLabel createImageLink(java.lang.String tooltip, java.lang.String icon, java.lang.String link)
private void setTextFromResourceFile(javax.swing.JTextArea ta, java.lang.String filePath)
filePath-attribute and puts that text
into the JTextArea given by the ta-attribute.ta - the JTextArea to put the files contents intofilePath - the path where the resource file to read residesprivate static void displayErrorMessage(javax.swing.JTextArea ta, java.lang.String msg)
private static javax.swing.JScrollPane createScrollPane(JosmTextArea area)