Interface Inspector<S>

Type Parameters:
S - the subject type
All Known Implementing Classes:
AbstractDrawingInspector, AbstractDrawingViewInspector, AbstractInspector, AbstractSelectionInspector, DrawingInspector, GridInspector, HandlesInspector, HelpTextInspector, HierarchyInspector, LayersInspector, StyleAttributesInspector, StyleClassesInspector, StylesheetsInspector

public interface Inspector<S>
Interface for inspectors.
Author:
Werner Randelshofer
  • Property Summary

    Properties
    Type
    Property
    Description
    javafx.beans.property.BooleanProperty
    Whether this inspector is showing.
    javafx.beans.property.ObjectProperty<S>
     
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    The name of the showingProperty().
    static final String
    The name of the subjectProperty().
  • Method Summary

    Modifier and Type
    Method
    Description
    javafx.scene.Node
     
    default @Nullable S
    Gets the value of the subject property.
    default boolean
    Gets the value of the showing property.
    default void
    setShowing(boolean newValue)
    Sets the value of the showing property.
    default void
    setSubject(@Nullable S s)
    Sets the value of the subject property.
    javafx.beans.property.BooleanProperty
    Whether this inspector is showing.
    javafx.beans.property.ObjectProperty<S>
     
  • Property Details

    • subject

      javafx.beans.property.ObjectProperty<S> subjectProperty
      See Also:
    • showing

      javafx.beans.property.BooleanProperty showingProperty
      Whether this inspector is showing.

      An inspector that is not showing should not consume CPU resources.

      This property is set by parent nodes in the scene graph,, for example depending on whether this inspector is in a collapsed pane.

      See Also:
  • Field Details

  • Method Details

    • subjectProperty

      javafx.beans.property.ObjectProperty<S> subjectProperty()
      Returns:
      the subject property
      See Also:
    • setSubject

      default void setSubject(@Nullable S s)
      Sets the value of the subject property.
      Property description:
      Parameters:
      s - the value for the subject property
      See Also:
    • getSubject

      default @Nullable S getSubject()
      Gets the value of the subject property.
      Property description:
      Returns:
      the value of the subject property
      See Also:
    • getNode

      javafx.scene.Node getNode()
    • showingProperty

      javafx.beans.property.BooleanProperty showingProperty()
      Whether this inspector is showing.

      An inspector that is not showing should not consume CPU resources.

      This property is set by parent nodes in the scene graph,, for example depending on whether this inspector is in a collapsed pane.

      Returns:
      true if this inspector is showing.
      See Also:
    • isShowing

      default boolean isShowing()
      Gets the value of the showing property.
      Property description:
      Whether this inspector is showing.

      An inspector that is not showing should not consume CPU resources.

      This property is set by parent nodes in the scene graph,, for example depending on whether this inspector is in a collapsed pane.

      Returns:
      the value of the showing property
      See Also:
    • setShowing

      default void setShowing(boolean newValue)
      Sets the value of the showing property.
      Property description:
      Whether this inspector is showing.

      An inspector that is not showing should not consume CPU resources.

      This property is set by parent nodes in the scene graph,, for example depending on whether this inspector is in a collapsed pane.

      Parameters:
      newValue - the value for the showing property
      See Also: