public class HelpTagAction extends HelpAction
| Modifier and Type | Field and Description |
|---|---|
private java.util.function.IntFunction<java.lang.String> |
tagKeySupplier |
private javax.swing.JTable |
tagTable |
private java.util.function.IntFunction<java.util.Map<java.lang.String,java.lang.Integer>> |
tagValuesSupplier |
| Constructor and Description |
|---|
HelpTagAction(javax.swing.JTable tagTable,
java.util.function.IntFunction<java.lang.String> tagKeySupplier,
java.util.function.IntFunction<java.util.Map<java.lang.String,java.lang.Integer>> tagValuesSupplier)
Constructs a new
HelpAction. |
| Modifier and Type | Method and Description |
|---|---|
void |
actionPerformed(java.awt.event.ActionEvent e) |
displayGenericHelp, displayHelp, displayRelationHelp, displayTagHelp, getKeyStrokeprivate final javax.swing.JTable tagTable
private final java.util.function.IntFunction<java.lang.String> tagKeySupplier
private final java.util.function.IntFunction<java.util.Map<java.lang.String,java.lang.Integer>> tagValuesSupplier
public HelpTagAction(javax.swing.JTable tagTable, java.util.function.IntFunction<java.lang.String> tagKeySupplier, java.util.function.IntFunction<java.util.Map<java.lang.String,java.lang.Integer>> tagValuesSupplier)
HelpAction.tagTable - The tag table. Cannot be nulltagKeySupplier - Finds the key from given row of tag table. Cannot be nulltagValuesSupplier - Finds the values from given row of tag table (map of values and number of occurrences). Cannot be nullpublic void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed in interface java.awt.event.ActionListeneractionPerformed in class HelpAction