- 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.
-
-
Constructor Summary
Constructors Constructor Description ProblemGraphicFactory(javafx.collections.ObservableList<ProblemInfo> pProblems, SimpleEditor pEditor, javafx.beans.value.ObservableValue<Boolean> pShowingProblemMarkersProperty)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javafx.scene.Node
apply(int pLineNumber)
protected javafx.scene.control.IndexRange
getProblemRange(ProblemInfo pProblem)
-
-
-
Constructor Detail
-
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 Detail
-
apply
public javafx.scene.Node apply(int pLineNumber)
- Specified by:
apply
in interfaceIntFunction<javafx.scene.Node>
-
getProblemRange
protected javafx.scene.control.IndexRange getProblemRange(ProblemInfo pProblem)
-
-