- All Superinterfaces:
javafx.css.Styleable
- All Known Implementing Classes:
FontIcon,StackedFontIcon
public interface Icon
extends javafx.css.Styleable
- Author:
- Andres Almiray
-
Property Summary
Properties -
Method Summary
Modifier and TypeMethodDescriptionjavafx.scene.paint.PaintGets the value of theiconColorproperty.intGets the value of theiconSizeproperty.javafx.beans.property.ObjectProperty<javafx.scene.paint.Paint> javafx.beans.property.IntegerPropertyvoidsetIconColor(javafx.scene.paint.Paint paint) Sets the value of theiconColorproperty.voidsetIconSize(int size) Sets the value of theiconSizeproperty.Methods inherited from interface javafx.css.Styleable
getCssMetaData, getId, getPseudoClassStates, getStyle, getStyleableNode, getStyleableParent, getStyleClass, getTypeSelector
-
Property Details
-
iconSize
javafx.beans.property.IntegerProperty iconSizeProperty- See Also:
-
iconColor
javafx.beans.property.ObjectProperty<javafx.scene.paint.Paint> iconColorProperty- See Also:
-
-
Method Details
-
iconSizeProperty
javafx.beans.property.IntegerProperty iconSizeProperty()- Returns:
- the
iconSizeproperty - See Also:
-
iconColorProperty
javafx.beans.property.ObjectProperty<javafx.scene.paint.Paint> iconColorProperty()- Returns:
- the
iconColorproperty - See Also:
-
setIconSize
void setIconSize(int size) Sets the value of theiconSizeproperty.- Property description:
- Parameters:
size- the value for theiconSizeproperty- See Also:
-
getIconSize
int getIconSize()Gets the value of theiconSizeproperty.- Property description:
- Returns:
- the value of the
iconSizeproperty - See Also:
-
setIconColor
void setIconColor(javafx.scene.paint.Paint paint) Sets the value of theiconColorproperty.- Property description:
- Parameters:
paint- the value for theiconColorproperty- See Also:
-
getIconColor
javafx.scene.paint.Paint getIconColor()Gets the value of theiconColorproperty.- Property description:
- Returns:
- the value of the
iconColorproperty - See Also:
-