public class TextFieldStyler extends Styler<javafx.scene.control.TextField>
sizeVariant
Constructor and Description |
---|
TextFieldStyler() |
Modifier and Type | Method and Description |
---|---|
void |
check()
The check method, which can be implemented in Styler subclasses to assure that no
incompatible Styles can be combined.
|
static TextFieldStyler |
create()
Creates a new Instance of TextFieldStyler.
|
java.util.List<StyleDefinition> |
getAll()
Retrieves the list with all StyleDefinitions added to the Styler.
|
TextFieldStyler |
setSizeVariant(ControlSizeVariant sizeVariant)
Adds a ControlSizeVariant to the Control.
|
TextFieldStyler |
setType(TextFieldType type)
Adds a TextFieldType to the TextField
|
void |
style(javafx.scene.control.TextField textField)
Adds all StyleDfinitions, which were defined, to the Controls' style class definitions.
|
public static TextFieldStyler create()
public TextFieldStyler setType(TextFieldType type)
type
- The TextFieldType for the TextField.public TextFieldStyler setSizeVariant(ControlSizeVariant sizeVariant)
Styler
setSizeVariant
in class Styler<javafx.scene.control.TextField>
sizeVariant
- The ControlSizeVariant for the Control.public java.util.List<StyleDefinition> getAll()
Styler
public void check()
Styler
public void style(javafx.scene.control.TextField textField)
Styler
Copyright © 2013. All Rights Reserved.