Class AbstractInspector<S>

java.lang.Object
org.jhotdraw8.draw.inspector.AbstractInspector<S>
Type Parameters:
S - the subject type
All Implemented Interfaces:
Inspector<S>
Direct Known Subclasses:
AbstractDrawingInspector, AbstractDrawingViewInspector, AbstractSelectionInspector

public abstract class AbstractInspector<S> extends Object implements Inspector<S>
AbstractInspector.
Author:
Werner Randelshofer
  • Property Details

  • Field Details

    • subject

      protected final javafx.beans.property.ObjectProperty<S> subject
    • showing

      protected final javafx.beans.property.BooleanProperty showing
  • Constructor Details

    • AbstractInspector

      public AbstractInspector()
  • Method Details

    • subjectProperty

      public javafx.beans.property.ObjectProperty<S> subjectProperty()
      Specified by:
      subjectProperty in interface Inspector<S>
      Returns:
      the subject property
    • showingProperty

      public javafx.beans.property.BooleanProperty showingProperty()
      Description copied from interface: Inspector
      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.

      Specified by:
      showingProperty in interface Inspector<S>
      Returns:
      the showing property