Class AdvancedTooltip
- java.lang.Object
-
- org.eclipse.nebula.widgets.ganttchart.AdvancedTooltip
-
public class AdvancedTooltip extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String_contentprivate int_extraTextSpacingprivate org.eclipse.swt.graphics.Image_helpImageprivate java.lang.String_helpTextprivate org.eclipse.swt.graphics.Image_imageprivate java.lang.String_title
-
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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetContent()intgetExtraTextSpacing()org.eclipse.swt.graphics.ImagegetHelpImage()java.lang.StringgetHelpText()org.eclipse.swt.graphics.ImagegetImage()java.lang.StringgetTitle()voidsetContent(java.lang.String content)voidsetExtraTextSpacing(int spacing)voidsetHelpImage(org.eclipse.swt.graphics.Image helpImage)voidsetHelpText(java.lang.String helpText)voidsetImage(org.eclipse.swt.graphics.Image image)voidsetTitle(java.lang.String title)
-
-
-
Field Detail
-
_image
private org.eclipse.swt.graphics.Image _image
-
_title
private java.lang.String _title
-
_content
private java.lang.String _content
-
_helpImage
private org.eclipse.swt.graphics.Image _helpImage
-
_helpText
private java.lang.String _helpText
-
_extraTextSpacing
private int _extraTextSpacing
-
-
Constructor Detail
-
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 Detail
-
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)
-
-