public interface ITitle
Modifier and Type | Method and Description |
---|---|
org.eclipse.swt.graphics.Font |
getFont()
Gets the font for title text.
|
org.eclipse.swt.graphics.Color |
getForeground()
Gets the foreground color of title.
|
org.eclipse.swt.custom.StyleRange[] |
getStyleRanges()
Gets the style ranges.
|
String |
getText()
Gets the title text.
|
boolean |
isVisible()
Gets the visibility state.
|
void |
setFont(org.eclipse.swt.graphics.Font font)
Sets the font for title text.
|
void |
setForeground(org.eclipse.swt.graphics.Color color)
Sets the foreground color of title.
|
void |
setStyleRanges(org.eclipse.swt.custom.StyleRange[] styleRanges)
Sets the style ranges.
|
void |
setText(String title)
Sets the title text.
|
void |
setVisible(boolean visible)
Sets the visibility state of title.
|
void setText(String title)
title
- the title textString getText()
void setFont(org.eclipse.swt.graphics.Font font)
font
- the font for title textorg.eclipse.swt.graphics.Font getFont()
void setForeground(org.eclipse.swt.graphics.Color color)
color
- the foreground color of titleorg.eclipse.swt.graphics.Color getForeground()
void setStyleRanges(org.eclipse.swt.custom.StyleRange[] styleRanges)
setFont(Font)
and setForeground(Color)
makes no effect. Instead, the font and background color in style ranges
are used.styleRanges
- the style ranges, or null to clear the currently set
style ranges.org.eclipse.swt.custom.StyleRange[] getStyleRanges()
void setVisible(boolean visible)
visible
- the visibility stateboolean isVisible()
Copyright © 2016. All Rights Reserved.