Interface Skinnable

  • Property Summary

    Properties
    Type
    Property
    Description
    The Skin responsible for rendering this Skinnable.
  • Method Summary

    Modifier and Type
    Method
    Description
    Skin<?>
    Gets the value of the skin property.
    void
    setSkin(Skin<?> value)
    Sets the value of the skin property.
    The Skin responsible for rendering this Skinnable.
  • Property Details

    • skin

      ObjectProperty<Skin<?>> skinProperty
      The Skin responsible for rendering this Skinnable. From the perspective of the Skinnable, the Skin is a black box. It listens and responds to changes in state of its Skinnable.

      Some implementations of Skinnable define a one-to-one relationship between Skinnable and its Skin. Every Skin maintains a back reference to the Skinnable. When required, this relationship is enforced when the Skin is set, throwing an IllegalArgumentException if the return value of Skin.getSkinnable() is not the same as this Skinnable.

      A skin may be null.

      See Also:
  • Method Details

    • skinProperty

      ObjectProperty<Skin<?>> skinProperty()
      The Skin responsible for rendering this Skinnable. From the perspective of the Skinnable, the Skin is a black box. It listens and responds to changes in state of its Skinnable.

      Some implementations of Skinnable define a one-to-one relationship between Skinnable and its Skin. Every Skin maintains a back reference to the Skinnable. When required, this relationship is enforced when the Skin is set, throwing an IllegalArgumentException if the return value of Skin.getSkinnable() is not the same as this Skinnable.

      A skin may be null.

      Returns:
      the skin property for this Skinnable
      See Also:
    • setSkin

      void setSkin(Skin<?> value)
      Sets the value of the skin property.
      Property description:
      The Skin responsible for rendering this Skinnable. From the perspective of the Skinnable, the Skin is a black box. It listens and responds to changes in state of its Skinnable.

      Some implementations of Skinnable define a one-to-one relationship between Skinnable and its Skin. Every Skin maintains a back reference to the Skinnable. When required, this relationship is enforced when the Skin is set, throwing an IllegalArgumentException if the return value of Skin.getSkinnable() is not the same as this Skinnable.

      A skin may be null.

      Parameters:
      value - the value for the skin property
      See Also:
    • getSkin

      Skin<?> getSkin()
      Gets the value of the skin property.
      Property description:
      The Skin responsible for rendering this Skinnable. From the perspective of the Skinnable, the Skin is a black box. It listens and responds to changes in state of its Skinnable.

      Some implementations of Skinnable define a one-to-one relationship between Skinnable and its Skin. Every Skin maintains a back reference to the Skinnable. When required, this relationship is enforced when the Skin is set, throwing an IllegalArgumentException if the return value of Skin.getSkinnable() is not the same as this Skinnable.

      A skin may be null.

      Returns:
      the value of the skin property
      See Also: