public interface ITreeExpansionToolbarItemModelBuilder
Modifier and Type | Method and Description |
---|---|
ITreeExpansionToolbarItemModelBuilder |
addLevel(int level)
Adds a level, a default label will be created
|
ITreeExpansionToolbarItemModelBuilder |
addLevel(int level,
java.lang.String levelName)
Adds a level with a corresponding level name
|
ITreeExpansionToolbarItemModelBuilder |
addUnboundLevel()
Adds an unbound level with a default label
|
ITreeExpansionToolbarItemModelBuilder |
addUnboundLevel(java.lang.String label)
Adds an unbound level
|
IToolBarItemModel |
build()
Builds the item
|
ITreeExpansionToolbarItemModelBuilder |
setDefaultLevel(int defaultLevel)
Sets the level that is used by default.
|
ITreeExpansionToolbarItemModelBuilder |
setLevels(int maxLevel)
Sets a range of levels with default labels for each level.
|
ITreeExpansionToolbarItemModelBuilder |
setLevels(int maxLevel,
boolean unboundPossible)
Sets a range of levels with default labels for each level.
|
ITreeExpansionToolbarItemModelBuilder |
setLevels(int minlevel,
int maxLevel,
boolean unboundPossible)
Sets a range of levels with default labels for each level
|
ITreeExpansionToolbarItemModelBuilder |
setUnboundDefaultLevel()
Sets the unbound level as default level.
|
ITreeExpansionToolbarItemModelBuilder addUnboundLevel()
ITreeExpansionToolbarItemModelBuilder addUnboundLevel(java.lang.String label)
label
- The label of the unbound levelITreeExpansionToolbarItemModelBuilder addLevel(int level)
level
- The level to addITreeExpansionToolbarItemModelBuilder addLevel(int level, java.lang.String levelName)
level
- The level to addlevelName
- The name of the levelITreeExpansionToolbarItemModelBuilder setLevels(int minlevel, int maxLevel, boolean unboundPossible)
minLevel
- The minimum levelmaxLevel
- The maximum levelunboundPossible
- If true, a unbound expansion can be setITreeExpansionToolbarItemModelBuilder setLevels(int maxLevel, boolean unboundPossible)
maxLevel
- The maximum levelunboundPossible
- If true, a unbound expansion can be setITreeExpansionToolbarItemModelBuilder setLevels(int maxLevel)
maxLevel
- The maximum levelITreeExpansionToolbarItemModelBuilder setDefaultLevel(int defaultLevel)
defaultLevel
- The level that will be used by default.ITreeExpansionToolbarItemModelBuilder setUnboundDefaultLevel()
IToolBarItemModel build()
Siehe auch Jowidgets Nutzerhandbuch