diff options
author | David McMackins II <contact@mcmackins.org> | 2016-12-01 08:39:23 -0600 |
---|---|---|
committer | David McMackins II <contact@mcmackins.org> | 2016-12-01 08:39:23 -0600 |
commit | d6af34bb7a737ecc3b4c4cca30e2df2bde07841d (patch) | |
tree | db679c4c77aea876d062f611ae5116e21ddd2992 /src/com/delwink/icebox/swing/InventoryItemEditor.java | |
parent | 836ab01b6f372b35aecec4e17656a2232388783a (diff) |
Diffstat (limited to 'src/com/delwink/icebox/swing/InventoryItemEditor.java')
-rw-r--r-- | src/com/delwink/icebox/swing/InventoryItemEditor.java | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/com/delwink/icebox/swing/InventoryItemEditor.java b/src/com/delwink/icebox/swing/InventoryItemEditor.java index 0e64a93..1c056a2 100644 --- a/src/com/delwink/icebox/swing/InventoryItemEditor.java +++ b/src/com/delwink/icebox/swing/InventoryItemEditor.java @@ -41,6 +41,10 @@ import javax.swing.JPanel; import javax.swing.JScrollPane; import javax.swing.JTable; +/** + * A dialog for managing inventory items. + * @author David McMackins II + */ public class InventoryItemEditor extends JDialog { private final List<Change> CHANGES; private final Inventory INVENTORY; @@ -48,6 +52,11 @@ public class InventoryItemEditor extends JDialog { private final JButton ADD_BUTTON, CANCEL_BUTTON, SAVE_BUTTON; private final JTable TABLE; + /** + * Creates a new dialog. + * @param parent The parent frame of this dialog. + * @param inventory The inventory for editing. + */ public InventoryItemEditor(Frame parent, Inventory inventory) { super(parent, Lang.get("InventoryItemEditor.title")); setDefaultCloseOperation(DISPOSE_ON_CLOSE); |