Class JavaFXMolecularBackend

java.lang.Object
org.episteme.natural.ui.viewers.chemistry.backends.JavaFXMolecularBackend
All Implemented Interfaces:
Backend, MolecularBackend

public class JavaFXMolecularBackend extends Object implements MolecularBackend
Backend for JavaFX molecular renderer. Always available as JavaFX is a core dependency.
Since:
1.0
Author:
Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
  • Constructor Details

    • JavaFXMolecularBackend

      public JavaFXMolecularBackend()
  • Method Details

    • getType

      public String getType()
      Description copied from interface: Backend
      Returns the backend type category (e.g., "plotting", "molecular", "tensor", "math").
      Specified by:
      getType in interface Backend
    • getId

      public String getId()
      Description copied from interface: Backend
      Returns the unique identifier for this backend (e.g., "javafx", "jmol", "cuda").
      Specified by:
      getId in interface Backend
    • getName

      public String getName()
      Description copied from interface: Backend
      Returns the display name for UI presentation.
      Specified by:
      getName in interface Backend
    • getDescription

      public String getDescription()
      Description copied from interface: Backend
      Returns a description of the backend.
      Specified by:
      getDescription in interface Backend
    • isAvailable

      public boolean isAvailable()
      Description copied from interface: Backend
      Checks if this backend is currently available (libraries loaded, etc.).

      Default implementation checks Backend.isExplicitlyDisabled() and returns false if it is.

      Specified by:
      isAvailable in interface Backend
    • getPriority

      public int getPriority()
      Description copied from interface: Backend
      Returns the priority for auto-selection (higher = preferred). Used when multiple backends are available.
      Specified by:
      getPriority in interface Backend
    • isSupport3D

      public boolean isSupport3D()
      Description copied from interface: MolecularBackend
      Checks if this backend supports 3D rendering.
      Specified by:
      isSupport3D in interface MolecularBackend
    • isSupportInteractive

      public boolean isSupportInteractive()
      Description copied from interface: MolecularBackend
      Checks if this backend supports interactive manipulation.
      Specified by:
      isSupportInteractive in interface MolecularBackend
    • createBackend

      public Object createBackend()
      Description copied from interface: Backend
      Creates and returns the backend instance (or returns self if it is the backend).
      Specified by:
      createBackend in interface Backend
      Returns:
      The backend implementation object