|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.miginfocom.calendar.category.CategorySubRowCreator
public class CategorySubRowCreator
A creator of subrows that creates them after the tree that a Category is at the top of.
Will not create category sub rows for categories that have the Category.PROP_IS_HIDDEN set to
true since v5.5.16.
| Constructor Summary | |
|---|---|
CategorySubRowCreator(Category[] roots,
boolean addRoots)
Constructor. |
|
CategorySubRowCreator(Category root,
boolean addRoot)
Constructor. |
|
CategorySubRowCreator(java.lang.Object[] rootIDs,
boolean addRoots)
Constructor. |
|
| Method Summary | |
|---|---|
void |
createSubRows(GridRow row,
GridLineProvider glProvider)
Creates the sub rows, all levels, for row. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CategorySubRowCreator(Category root,
boolean addRoot)
root - The root category to create the first row for (see addRoot). It's children will be the level zero (or one) sub rows and so on.addRoot - If the root category should be added as a single row. If false the first level will be
the direct children of root.
public CategorySubRowCreator(Category[] roots,
boolean addRoots)
roots - The root categories to create the first row for (see addRoot). Their's children will be the level zero (or one) sub rows and so on.addRoots - If the root categories should be added. If false the first level will be
the direct children of roots.
public CategorySubRowCreator(java.lang.Object[] rootIDs,
boolean addRoots)
rootIDs - The root categories IDs to create the first row for (see addRoot). Their's children will be the level zero (or one) sub rows and so on.addRoots - If the root categories should be added. If false the first level will be
the direct children of roots.| Method Detail |
|---|
public void createSubRows(GridRow row,
GridLineProvider glProvider)
SubRowCreatorrow. The rows can create a fill tree structure and optionally
be Filters. For instance this is how categoies are filtered to be on different
rows.
createSubRows in interface SubRowCreatorrow - The main row that can be considered to be the root. Rows will be added to this row.glProvider - The provider of the grid lines.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||