Package org.eclipse.swt.custom
Interface StyledTextLineSpacingProvider
-
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface StyledTextLineSpacingProvider
Line spacing provider used to customize different line spacing for some lines ofStyledText
- Since:
- 3.107
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Integer
getLineSpacing(int lineIndex)
Returns the line spacing of the given line index and null otherwise.
-
-
-
Method Detail
-
getLineSpacing
Integer getLineSpacing(int lineIndex)
Returns the line spacing of the given line index and null otherwise. In this case, it will use theStyledText.getLineSpacing()
.- Parameters:
lineIndex
- line index.- Returns:
- the line spacing of the given line index and null otherwise. In this
case, it will use the
StyledText.getLineSpacing()
. - Since:
- 3.107
-
-