Module com.iamsoft.util.ui
Class SimpleEditor.HighlightEntry
- java.lang.Object
-
- com.iamsoft.util.ui.javafx.codearea.SimpleEditor.HighlightEntry
-
- Enclosing class:
- SimpleEditor
public static class SimpleEditor.HighlightEntry extends Object
Represents a highlight entry used to set corresponding styles.
-
-
Constructor Summary
Constructors Constructor Description HighlightEntry(Collection<String> pStyles, int pLength)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SimpleEditor.HighlightEntry
create(int pLength)
SimpleEditor.HighlightEntry
create(Collection<String> pStyles)
int
getLength()
The length of the text to which the styles will be applied.Collection<String>
getStyles()
String
toString()
-
-
-
Constructor Detail
-
HighlightEntry
public HighlightEntry(Collection<String> pStyles, int pLength)
-
-
Method Detail
-
getStyles
public final Collection<String> getStyles()
-
getLength
public final int getLength()
The length of the text to which the styles will be applied.
-
create
public SimpleEditor.HighlightEntry create(int pLength)
-
create
public SimpleEditor.HighlightEntry create(Collection<String> pStyles)
-
-