public interface CustomLabelSpec
| Modifier and Type | Method and Description |
|---|---|
CustomLabelSpec |
dup() |
org.eclipse.swt.graphics.Color |
getBackground() |
org.eclipse.swt.graphics.Font |
getFont() |
org.eclipse.swt.graphics.Image |
getImage() |
String |
getText() |
int |
getWidth() |
void |
setBackground(org.eclipse.swt.graphics.Color bgColor)
Set the background color
|
void |
setFont(org.eclipse.swt.graphics.Font font)
Set the font
|
void |
setImage(org.eclipse.swt.graphics.Image image)
Set image
|
void |
setText(String text)
Set the text
|
void |
setWidth(int width)
Set width hint
|
org.eclipse.swt.graphics.Image getImage()
String getText()
int getWidth()
void setImage(org.eclipse.swt.graphics.Image image)
image - Image objectvoid setText(String text)
text - Stringvoid setWidth(int width)
width - Width in number of charactersorg.eclipse.swt.graphics.Font getFont()
void setFont(org.eclipse.swt.graphics.Font font)
font - Font objectorg.eclipse.swt.graphics.Color getBackground()
void setBackground(org.eclipse.swt.graphics.Color bgColor)
bgColor - Color objectCustomLabelSpec dup()
Copyright © 2016. All rights reserved.