Class BoldStylerProvider
java.lang.Object
org.eclipse.jface.text.contentassist.BoldStylerProvider
Provides 
StyledString.Styler that applies bold style on the given font.- Since:
- 3.11
- 
Constructor SummaryConstructorsConstructorDescriptionBoldStylerProvider(Font font) Creates aBoldStylerProviderinstance which uses the givenfont.
- 
Method SummaryModifier and TypeMethodDescriptionvoiddispose()Disposes the bold font created for the styler.Creates (if not already done) and returns the bold font used by the styler to apply the bold style.Returns aStyledString.Stylerthat applies bold style to the givenTextStyle's font.getFont()Returns the font used by the styler to create the bold font.
- 
Constructor Details- 
BoldStylerProviderCreates aBoldStylerProviderinstance which uses the givenfont.- Parameters:
- font- the font to use for creating the bold font
 
 
- 
- 
Method Details- 
disposepublic void dispose()Disposes the bold font created for the styler.
- 
getBoldStylerReturns aStyledString.Stylerthat applies bold style to the givenTextStyle's font.- Returns:
- a bold styler
 
- 
getBoldFontCreates (if not already done) and returns the bold font used by the styler to apply the bold style.Note: The callers must not cache and re-use the returned font outside the current call. - Returns:
- the bold font used by the styler
 
- 
getFontReturns the font used by the styler to create the bold font.- Returns:
- the font used for creating the bold font
 
 
-