Module com.dlsc.formsfx
Package com.dlsc.formsfx.model.structure
Class Element<E extends Element<E>>
java.lang.Object
com.dlsc.formsfx.model.structure.Element<E>
- Direct Known Subclasses:
Field,NodeElement
public abstract class Element<E extends Element<E>> extends Object
- Author:
- Andres Almiray
-
Property Summary
Properties Type Property Description javafx.beans.property.StringPropertyidFields can be styled using CSS through ID or class hooks.javafx.beans.property.IntegerPropertyspanjavafx.beans.property.ListProperty<String>styleClass -
Field Summary
Fields Modifier and Type Field Description protected javafx.beans.property.StringPropertyidFields can be styled using CSS through ID or class hooks.protected javafx.beans.property.IntegerPropertyspanprotected javafx.beans.property.ListProperty<String>styleClass -
Constructor Summary
Constructors Constructor Description Element() -
Method Summary
Modifier and Type Method Description StringgetID()intgetSpan()Gets the value of the property span.javafx.collections.ObservableList<String>getStyleClass()Gets the value of the property styleClass.Eid(String newValue)Sets the id property of the current field.javafx.beans.property.StringPropertyidProperty()Fields can be styled using CSS through ID or class hooks.Espan(int newValue)Sets the amount of columns the field takes up inside the section grid.Espan(ColSpan newValue)Sets the amount of columns the field takes up inside the section grid.javafx.beans.property.IntegerPropertyspanProperty()EstyleClass(String... newValue)Sets the style classes for the current field.javafx.beans.property.ListProperty<String>styleClassProperty()
-
Property Details
-
span
public javafx.beans.property.IntegerProperty spanProperty- See Also:
getSpan()
-
id
public javafx.beans.property.StringProperty idPropertyFields can be styled using CSS through ID or class hooks. -
styleClass
- See Also:
getStyleClass()
-
-
Field Details
-
id
protected final javafx.beans.property.StringProperty idFields can be styled using CSS through ID or class hooks. -
styleClass
-
span
protected final javafx.beans.property.IntegerProperty span
-
-
Constructor Details
-
Element
public Element()
-
-
Method Details
-
id
Sets the id property of the current field.- Parameters:
newValue- The new value for the id property.- Returns:
- Returns the current field to allow for chaining.
-
styleClass
Sets the style classes for the current field.- Parameters:
newValue- The new style classes.- Returns:
- Returns the current field to allow for chaining.
-
span
Sets the amount of columns the field takes up inside the section grid.- Parameters:
newValue- The new number of columns.- Returns:
- Returns the current field to allow for chaining.
-
span
Sets the amount of columns the field takes up inside the section grid.- Parameters:
newValue- The new span fraction.- Returns:
- Returns the current field to allow for chaining.
-
getSpan
public int getSpan()Gets the value of the property span.- Property description:
-
spanProperty
public javafx.beans.property.IntegerProperty spanProperty()- See Also:
getSpan()
-
getID
-
idProperty
public javafx.beans.property.StringProperty idProperty()Fields can be styled using CSS through ID or class hooks. -
getStyleClass
Gets the value of the property styleClass.- Property description:
-
styleClassProperty
- See Also:
getStyleClass()
-