Class MapPaintDialog.InfoAction
- java.lang.Object
-
- javax.swing.AbstractAction
-
- org.openstreetmap.josm.gui.dialogs.MapPaintDialog.InfoAction
-
- All Implemented Interfaces:
java.awt.event.ActionListener,java.io.Serializable,java.lang.Cloneable,java.util.EventListener,javax.swing.Action
- Enclosing class:
- MapPaintDialog
protected class MapPaintDialog.InfoAction extends javax.swing.AbstractAction
Displays information about selected paint style in a new dialog.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private booleanerrorsTabLoadedprivate booleansourceTabLoadedprivate booleanwarningsTabLoaded
-
Constructor Summary
Constructors Constructor Description InfoAction()Constructs a newInfoAction.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidactionPerformed(java.awt.event.ActionEvent e)private javax.swing.JPaneladdErrorOrWarningTab(javax.swing.JTabbedPane tabs, javax.swing.JLabel lblInfo, java.util.Collection<?> items, java.lang.String title, int pos, javax.swing.ImageIcon icon)private <T> voidbuildErrorsOrWarningPanel(java.util.Collection<T> items, javax.swing.JPanel p)private javax.swing.JPanelbuildInfoPanel(StyleSource s)private voidbuildSourcePanel(StyleSource s, javax.swing.JPanel p)private java.lang.StringtableRow(java.lang.String firstColumn, java.lang.String secondColumn)-
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
-
-
-
Field Detail
-
errorsTabLoaded
private boolean errorsTabLoaded
-
warningsTabLoaded
private boolean warningsTabLoaded
-
sourceTabLoaded
private boolean sourceTabLoaded
-
-
Constructor Detail
-
InfoAction
public InfoAction()
Constructs a newInfoAction.
-
-
Method Detail
-
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent e)
-
addErrorOrWarningTab
private javax.swing.JPanel addErrorOrWarningTab(javax.swing.JTabbedPane tabs, javax.swing.JLabel lblInfo, java.util.Collection<?> items, java.lang.String title, int pos, javax.swing.ImageIcon icon)
-
buildInfoPanel
private javax.swing.JPanel buildInfoPanel(StyleSource s)
-
tableRow
private java.lang.String tableRow(java.lang.String firstColumn, java.lang.String secondColumn)
-
buildSourcePanel
private void buildSourcePanel(StyleSource s, javax.swing.JPanel p)
-
buildErrorsOrWarningPanel
private <T> void buildErrorsOrWarningPanel(java.util.Collection<T> items, javax.swing.JPanel p)
-
-