Class JavaFxFacet

  • All Implemented Interfaces:
    JavaFacet

    public class JavaFxFacet
    extends java.lang.Object
    implements JavaFacet
    Obtains the URL instances for adding JavaFx to class path.
    Author:
    Daniel Sagenschneider
    • Constructor Summary

      Constructors 
      Constructor Description
      JavaFxFacet()  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static java.net.URL[] getClassPathEntries​(java.net.URL[] pluginUrls, boolean isIncludeJavaFx, java.io.File javaFxLibDir)
      Obtains the URLs for class path entries.
      boolean isSupported​(JavaFacetContext context)
      Indicates if the facet is supported.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • JavaFxFacet

        public JavaFxFacet()
    • Method Detail

      • getClassPathEntries

        public static java.net.URL[] getClassPathEntries​(java.net.URL[] pluginUrls,
                                                         boolean isIncludeJavaFx,
                                                         java.io.File javaFxLibDir)
                                                  throws java.lang.Exception
        Obtains the URLs for class path entries.
        Parameters:
        pluginUrls - URL entries for plugin class path.
        isIncludeJavaFx - Indicates whether to include the JavaFX classes.
        javaFxLibDir - Library directory for JavaFX install. May be null.
        Returns:
        URLs for class path entries.
        Throws:
        java.lang.Exception - If fails to load the class path entries.
      • isSupported

        public boolean isSupported​(JavaFacetContext context)
                            throws java.lang.Exception
        Description copied from interface: JavaFacet
        Indicates if the facet is supported.
        Specified by:
        isSupported in interface JavaFacet
        Parameters:
        context - JavaFacetContext.
        Returns:
        true if the facet is supported.
        Throws:
        java.lang.Exception - If fails to determine if facet is supported.