Class ProblemGraphicFactory

java.lang.Object
com.iamsoft.util.ui.javafx.codearea.ProblemGraphicFactory
All Implemented Interfaces:
IntFunction<javafx.scene.Node>

public class ProblemGraphicFactory extends Object implements IntFunction<javafx.scene.Node>
Graphics to be displayed in code area.
See Also:
  • Constructor Details

    • ProblemGraphicFactory

      public ProblemGraphicFactory(javafx.collections.ObservableList<ProblemInfo> pProblems, SimpleEditor pEditor, javafx.beans.value.ObservableValue<Boolean> pShowingProblemMarkersProperty)
      Parameters:
      pProblems - List of problems, sorted by offset.
  • Method Details

    • apply

      public javafx.scene.Node apply(int pLineNumber)
      Specified by:
      apply in interface IntFunction<javafx.scene.Node>
    • getProblemRange

      protected javafx.scene.control.IndexRange getProblemRange(ProblemInfo pProblem)