|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsidekick.ExpansionModel
public class ExpansionModel
An expansion model for trees. This essentially just wraps a list of
integers that represent the row numbers in the tree that should be
expanded. It is not necessary to use this model, but it is convenient
when creating the list of row numbers. The value returned by
getModel
is suitable for setting in the expansionModel
field in SideKickParsedData.
Constructor Summary | |
---|---|
ExpansionModel()
|
Method Summary | |
---|---|
void |
add()
Call this for each row in the tree that should be visible and expanded. |
java.util.List<java.lang.Integer> |
getModel()
|
int |
getRow()
|
void |
inc()
Call this for each row in the tree that should be visible. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ExpansionModel()
Method Detail |
---|
public java.util.List<java.lang.Integer> getModel()
public void add()
public void inc()
public int getRow()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |