org.jbudget.gui.month
Class DatesInfoTable.BackgroundType

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

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

Constants that describe rendering method.


Field Summary
private  int index
           
static DatesInfoTable.BackgroundType PLAIN
          Plain white background.
private static int PLAIN_INDEX
           
static DatesInfoTable.BackgroundType STRIPED
          Alternating color rows.
private static int STRIPED_INDEX
           
private static int STRIPED_MASK
           
private static int STRUCT_FULL_INDEX
           
private static int STRUCT_MASK
           
private static int STRUCT_SIMPL_INDEX
           
static DatesInfoTable.BackgroundType STRUCTURE_FULL
          Bacground reflects the structure of the budget.
static DatesInfoTable.BackgroundType STRUCTURE_FULL_STRIPED
          Bacground reflects the structure of the budget.
static DatesInfoTable.BackgroundType STRUCTURE_SIMPLE
          Bacground reflects the structure of the budget.
static DatesInfoTable.BackgroundType STRUCTURE_SIMPLE_STRIPED
          Bacground reflects the structure of the budget.
private static java.util.List<DatesInfoTable.BackgroundType> types
           
 
Constructor Summary
private DatesInfoTable.BackgroundType(int index)
           
 
Method Summary
static DatesInfoTable.BackgroundType get(int index)
          Returns a background type described by a given index.
 int getIndex()
           
 DatesInfoTable.BackgroundType getPlain()
           
 DatesInfoTable.BackgroundType getStriped()
           
 DatesInfoTable.BackgroundType getStructFull()
           
 DatesInfoTable.BackgroundType getStructOFF()
           
 DatesInfoTable.BackgroundType getStructSimple()
           
 boolean isPlain()
           
 boolean isStriped()
           
 boolean isStructureFull()
           
 boolean isStructureOFF()
           
 boolean isStructureSimple()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

types

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

PLAIN_INDEX

private static final int PLAIN_INDEX
See Also:
Constant Field Values

STRIPED_INDEX

private static final int STRIPED_INDEX
See Also:
Constant Field Values

STRIPED_MASK

private static final int STRIPED_MASK
See Also:
Constant Field Values

STRUCT_FULL_INDEX

private static final int STRUCT_FULL_INDEX
See Also:
Constant Field Values

STRUCT_SIMPL_INDEX

private static final int STRUCT_SIMPL_INDEX
See Also:
Constant Field Values

STRUCT_MASK

private static final int STRUCT_MASK
See Also:
Constant Field Values

PLAIN

public static final DatesInfoTable.BackgroundType PLAIN
Plain white background.


STRIPED

public static final DatesInfoTable.BackgroundType STRIPED
Alternating color rows.


STRUCTURE_FULL

public static final DatesInfoTable.BackgroundType STRUCTURE_FULL
Bacground reflects the structure of the budget.


STRUCTURE_FULL_STRIPED

public static final DatesInfoTable.BackgroundType STRUCTURE_FULL_STRIPED
Bacground reflects the structure of the budget.


STRUCTURE_SIMPLE

public static final DatesInfoTable.BackgroundType STRUCTURE_SIMPLE
Bacground reflects the structure of the budget.


STRUCTURE_SIMPLE_STRIPED

public static final DatesInfoTable.BackgroundType STRUCTURE_SIMPLE_STRIPED
Bacground reflects the structure of the budget.


index

private final int index
Constructor Detail

DatesInfoTable.BackgroundType

private DatesInfoTable.BackgroundType(int index)
Method Detail

getIndex

public int getIndex()

isPlain

public boolean isPlain()

isStriped

public boolean isStriped()

isStructureFull

public boolean isStructureFull()

isStructureSimple

public boolean isStructureSimple()

isStructureOFF

public boolean isStructureOFF()

getStriped

public DatesInfoTable.BackgroundType getStriped()

getPlain

public DatesInfoTable.BackgroundType getPlain()

getStructOFF

public DatesInfoTable.BackgroundType getStructOFF()

getStructSimple

public DatesInfoTable.BackgroundType getStructSimple()

getStructFull

public DatesInfoTable.BackgroundType getStructFull()

get

public static DatesInfoTable.BackgroundType get(int index)
Returns a background type described by a given index. If no type with such index is found, PLAIN type is returned.


toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object