org.jbudget.gui.month
Class DatesInfoTable.RenderingType

java.lang.Object
  extended by org.jbudget.gui.month.DatesInfoTable.RenderingType
Enclosing class:
DatesInfoTable

public static class DatesInfoTable.RenderingType
extends java.lang.Object

Constants that describe rendering method.


Field Summary
static DatesInfoTable.RenderingType ACTIVITY
          Shows only daily activity (In - Out).
static DatesInfoTable.RenderingType ACTIVITY_BALANCE
          Shows activity and balance in two separate columns
static DatesInfoTable.RenderingType BALANCE
          Shows only balance.
static DatesInfoTable.RenderingType DETAILED
          Shows detailed information.
static DatesInfoTable.RenderingType HYBRID
          Shows detailed info for the selected column and activity for all others.
private  int index
           
private static java.util.List<DatesInfoTable.RenderingType> types
           
 
Constructor Summary
private DatesInfoTable.RenderingType(int index)
           
 
Method Summary
static DatesInfoTable.RenderingType get(int index)
          Returns a rendering type described by a given index.
 int getIndex()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

types

private static final java.util.List<DatesInfoTable.RenderingType> types

DETAILED

public static final DatesInfoTable.RenderingType DETAILED
Shows detailed information. In/out/balance fields are shown.


BALANCE

public static final DatesInfoTable.RenderingType BALANCE
Shows only balance.


ACTIVITY

public static final DatesInfoTable.RenderingType ACTIVITY
Shows only daily activity (In - Out).


HYBRID

public static final DatesInfoTable.RenderingType HYBRID
Shows detailed info for the selected column and activity for all others.


ACTIVITY_BALANCE

public static final DatesInfoTable.RenderingType ACTIVITY_BALANCE
Shows activity and balance in two separate columns


index

private final int index
Constructor Detail

DatesInfoTable.RenderingType

private DatesInfoTable.RenderingType(int index)
Method Detail

getIndex

public int getIndex()

get

public static DatesInfoTable.RenderingType get(int index)
Returns a rendering type described by a given index. If no type with such index is found, DETAILED type is returned.