public static final class LayoutModel.LayoutModelBuilder extends Object
LayoutModel
Modifier and Type | Method and Description |
---|---|
LayoutModel.LayoutModelBuilder |
asPassword()
Indicates that the model represents a password and should be masked in the UI
|
LayoutModel.LayoutModelBuilder |
asQuery()
Indicates that the model represents a query and should be treated accordingly in the UI.
|
LayoutModel.LayoutModelBuilder |
asText()
Indicates that the model should use a multi line string editor
|
LayoutModel |
build() |
LayoutModel.LayoutModelBuilder |
order(int order)
Sets the order of the model within its group.
|
LayoutModel.LayoutModelBuilder |
tabName(String tabName)
Sets the tab element name where the model and its group it's going to be located.
|
public LayoutModel.LayoutModelBuilder asPassword()
this
builderpublic LayoutModel.LayoutModelBuilder asText()
this
builderpublic LayoutModel.LayoutModelBuilder asQuery()
as text
this
builderpublic LayoutModel.LayoutModelBuilder tabName(String tabName)
tabName
- the name of the tabthis
builderpublic LayoutModel.LayoutModelBuilder order(int order)
order
- the position in the groupthis
builderpublic LayoutModel build()
LayoutModel
Copyright © 2018. All rights reserved.