Class FoundationFXControl

All Implemented Interfaces:
Styleable, EventTarget, Skinnable
Direct Known Subclasses:
ErrorDisplay, RangeSlider, TimeSlider

@ClassVersion(sourceVersion="$Id: FoundationFXControl.java 1112 2024-03-10 14:16:51Z tquadrat $") @API(status=INTERNAL, since="0.4.6") public abstract class FoundationFXControl extends Control

The abstract base class for the custom controls introduced by the Foundation FX project.

Author:
Thomas Thrien (thomas.thrien@tquadrat.org)
Version:
$Id: FoundationFXControl.java 1112 2024-03-10 14:16:51Z tquadrat $
Since:
0.4.6
Inspired through:
ControlsFX Project
UML Diagram
UML Diagram for "org.tquadrat.foundation.fx.internal.FoundationFXControl"

UML Diagram for "org.tquadrat.foundation.fx.internal.FoundationFXControl"

UML Diagram for "org.tquadrat.foundation.fx.internal.FoundationFXControl"
  • Field Details Link icon

  • Constructor Details Link icon

    • FoundationFXControl Link icon

      protected FoundationFXControl()
      Creates a new instance of FoundationFXControl.
  • Method Details Link icon

    • getUserAgentStylesheet Link icon

      protected final String getUserAgentStylesheet(Class<?> lookupClass, String fileName)

      A helper method that ensures that the resource based lookup of the User Agent Stylesheet only happens once. It caches the external form of the resource URL.

      Parameters:
      lookupClass - The class that is used for the resource lookup.
      fileName - The name of the user agent stylesheet.
      Returns:
      The external form of the URL for user agent stylesheet (the path).