org.jbudget.gui.budget
Class BudgetEditor.CategoryInserter

java.lang.Object
  extended by org.jbudget.gui.budget.BudgetEditor.CategoryInserter
All Implemented Interfaces:
java.awt.event.ActionListener, java.util.EventListener
Enclosing class:
BudgetEditor

private class BudgetEditor.CategoryInserter
extends java.lang.Object
implements java.awt.event.ActionListener

a class that handles events related to adding budget categories


Field Summary
(package private)  org.jbudget.Core.ExpenseCategory parentCategory
          parent category.
(package private)  javax.swing.tree.TreePath path
          The tree path to the parent category.
 
Constructor Summary
BudgetEditor.CategoryInserter()
           
BudgetEditor.CategoryInserter(org.jbudget.Core.ExpenseCategory theParentCategory, javax.swing.tree.TreePath thePath)
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

parentCategory

final org.jbudget.Core.ExpenseCategory parentCategory
parent category. Can be null if the category to be added is a root category and thus has no parent


path

final javax.swing.tree.TreePath path
The tree path to the parent category. null if the parentCategory is null.

Constructor Detail

BudgetEditor.CategoryInserter

BudgetEditor.CategoryInserter(org.jbudget.Core.ExpenseCategory theParentCategory,
                              javax.swing.tree.TreePath thePath)

BudgetEditor.CategoryInserter

BudgetEditor.CategoryInserter()
Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
Specified by:
actionPerformed in interface java.awt.event.ActionListener