Class AdvancedTooltip
java.lang.Object
org.eclipse.nebula.widgets.ganttchart.AdvancedTooltip
public class AdvancedTooltip
extends java.lang.Object
-
Constructor Summary
Constructors Constructor Description AdvancedTooltip(java.lang.String title, java.lang.String content)
Creates a new Advanced Tooltip.AdvancedTooltip(java.lang.String title, java.lang.String content, org.eclipse.swt.graphics.Image image)
Creates a new Advanced Tooltip.AdvancedTooltip(java.lang.String title, java.lang.String content, org.eclipse.swt.graphics.Image image, org.eclipse.swt.graphics.Image helpImage, java.lang.String helpText)
Creates a new Advanced Tooltip with help image and text. -
Method Summary
Modifier and Type Method Description java.lang.String
getContent()
int
getExtraTextSpacing()
org.eclipse.swt.graphics.Image
getHelpImage()
java.lang.String
getHelpText()
org.eclipse.swt.graphics.Image
getImage()
java.lang.String
getTitle()
void
setContent(java.lang.String content)
void
setExtraTextSpacing(int spacing)
void
setHelpImage(org.eclipse.swt.graphics.Image helpImage)
void
setHelpText(java.lang.String helpText)
void
setImage(org.eclipse.swt.graphics.Image image)
void
setTitle(java.lang.String title)
-
Constructor Details
-
AdvancedTooltip
public AdvancedTooltip(java.lang.String title, java.lang.String content)Creates a new Advanced Tooltip.- Parameters:
title
- Headercontent
- Content
-
AdvancedTooltip
public AdvancedTooltip(java.lang.String title, java.lang.String content, org.eclipse.swt.graphics.Image image)Creates a new Advanced Tooltip.- Parameters:
title
- Headercontent
- Contentimage
- Image
-
AdvancedTooltip
public AdvancedTooltip(java.lang.String title, java.lang.String content, org.eclipse.swt.graphics.Image image, org.eclipse.swt.graphics.Image helpImage, java.lang.String helpText)Creates a new Advanced Tooltip with help image and text.- Parameters:
title
- Headercontent
- Contentimage
- ImagehelpImage
- Help ImagehelpText
- Help Text
-
-
Method Details
-
getImage
public org.eclipse.swt.graphics.Image getImage() -
setImage
public void setImage(org.eclipse.swt.graphics.Image image) -
getTitle
public java.lang.String getTitle() -
setTitle
public void setTitle(java.lang.String title) -
getContent
public java.lang.String getContent() -
setContent
public void setContent(java.lang.String content) -
getHelpImage
public org.eclipse.swt.graphics.Image getHelpImage() -
setHelpImage
public void setHelpImage(org.eclipse.swt.graphics.Image helpImage) -
getHelpText
public java.lang.String getHelpText() -
setHelpText
public void setHelpText(java.lang.String helpText) -
getExtraTextSpacing
public int getExtraTextSpacing() -
setExtraTextSpacing
public void setExtraTextSpacing(int spacing)
-