org.jbudget.gui.month
Class DatesInfoTable.ColorStructure
java.lang.Object
org.jbudget.gui.month.DatesInfoTable.ColorStructure
- Enclosing class:
- DatesInfoTable
private static class DatesInfoTable.ColorStructure
- extends java.lang.Object
A class that describes the colors that are used for every column.
It is derived from a Colors object and a Budget that describes the structure
of ExpenseCategories, Accounts ets. In general, a column that corresponds
to an account will have only one collor associated with it (the color that
corresponds to that account in the Colors object). If a column is associated
with one or several expense categories it can have more than one color
associated with it. The list of colors associated with a particular expense
category inclues the color associated with that category in the Colors object
as well as all colors associated with super categories of that category.
|
Field Summary |
(package private) java.util.List<java.util.List<java.awt.Color>> |
colorLists
Lists of colors associated with a column. |
(package private) java.util.List<java.lang.Integer> |
nShared
A list of numbers of colors shared with the next column. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
colorLists
final java.util.List<java.util.List<java.awt.Color>> colorLists
- Lists of colors associated with a column. If a particular value is null,
then no color is associated with the column.
nShared
final java.util.List<java.lang.Integer> nShared
- A list of numbers of colors shared with the next column. For example, if
colum zero has 5 colors t 3 of which are the same (derived from the
same categories) as the colors for the column one, nShared[0] = 3.
DatesInfoTable.ColorStructure
DatesInfoTable.ColorStructure(int nColumns)