public interface ITitle
Modifier and Type | Method and Description |
---|---|
Font |
getFont()
Gets the font for title text.
|
Color |
getForeground()
Gets the foreground color of title.
|
StyleRange[] |
getStyleRanges()
Gets the style ranges.
|
java.lang.String |
getText()
Gets the title text.
|
boolean |
isVisible()
Gets the visibility state.
|
void |
setFont(Font font)
Sets the font for title text.
|
void |
setForeground(Color color)
Sets the foreground color of title.
|
void |
setStyleRanges(StyleRange[] styleRanges)
Sets the style ranges.
|
void |
setText(java.lang.String title)
Sets the title text.
|
void |
setVisible(boolean visible)
Sets the visibility state of title.
|
void setText(java.lang.String title)
title
- the title textjava.lang.String getText()
void setFont(Font font)
font
- the font for title textFont getFont()
void setForeground(Color color)
color
- the foreground color of titleColor getForeground()
void setStyleRanges(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.StyleRange[] getStyleRanges()
void setVisible(boolean visible)
visible
- the visibility stateboolean isVisible()