Class MarkupDisplayConverter.MarkupValue
java.lang.Object
org.eclipse.nebula.widgets.nattable.extension.nebula.richtext.MarkupDisplayConverter.MarkupValue
- All Implemented Interfaces:
MarkupProcessor
- Enclosing class:
- MarkupDisplayConverter
Simple value class to store the original value and the markup
replacement.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionapplyMarkup
(String input) Takes an input and applies the HTML markup.removeMarkup
(String input) Takes an input and removes possible markups that where applied by thisMarkupProcessor
-
Constructor Details
-
MarkupValue
protected MarkupValue()
-
-
Method Details
-
applyMarkup
Description copied from interface:MarkupProcessor
Takes an input and applies the HTML markup.- Specified by:
applyMarkup
in interfaceMarkupProcessor
- Parameters:
input
- The input that should be processed for markup.- Returns:
- The input with additional markups.
- Since:
- 1.1
-
removeMarkup
Description copied from interface:MarkupProcessor
Takes an input and removes possible markups that where applied by thisMarkupProcessor
- Specified by:
removeMarkup
in interfaceMarkupProcessor
- Parameters:
input
- The input from which the markup should be removed.- Returns:
- The input value without markups.
- Since:
- 1.1
-