Package org.pentaho.di.ui.core.widget
Class CheckBoxToolTip
- java.lang.Object
-
- org.eclipse.jface.window.ToolTip
-
- org.pentaho.di.ui.core.widget.CheckBoxToolTip
-
public class CheckBoxToolTip extends org.eclipse.jface.window.ToolTip
-
-
Field Summary
Fields Modifier and Type Field Description protected org.eclipse.swt.graphics.Rectangle
checkBoxBounds
-
Constructor Summary
Constructors Constructor Description CheckBoxToolTip(org.eclipse.swt.widgets.Control control)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addCheckBoxToolTipListener(CheckBoxToolTipListener listener)
protected void
afterHideToolTip(org.eclipse.swt.widgets.Event event)
protected org.eclipse.swt.widgets.Composite
createToolTipContentArea(org.eclipse.swt.widgets.Event event, org.eclipse.swt.widgets.Composite parent)
org.eclipse.swt.graphics.Rectangle
getCheckBoxBounds()
String
getCheckBoxMessage()
org.eclipse.swt.graphics.Image
getImage()
String
getMessage()
String
getTitle()
void
hide()
boolean
isShowingScrollBars()
boolean
isVisible()
void
setCheckBoxBounds(org.eclipse.swt.graphics.Rectangle checkBoxBounds)
void
setCheckBoxMessage(String checkBoxMessage)
void
setImage(org.eclipse.swt.graphics.Image image)
void
setMessage(String message)
void
setShowingScrollBars(boolean showingScrollBars)
void
setTitle(String title)
void
setVisible(boolean visible)
void
show(org.eclipse.swt.graphics.Point location)
-
Methods inherited from class org.eclipse.jface.window.ToolTip
activate, deactivate, getData, getLocation, getToolTipArea, isHideOnMouseDown, isRespectDisplayBounds, isRespectMonitorBounds, setData, setHideDelay, setHideOnMouseDown, setPopupDelay, setRespectDisplayBounds, setRespectMonitorBounds, setShift, shouldCreateToolTip
-
-
-
-
Method Detail
-
createToolTipContentArea
protected org.eclipse.swt.widgets.Composite createToolTipContentArea(org.eclipse.swt.widgets.Event event, org.eclipse.swt.widgets.Composite parent)
- Specified by:
createToolTipContentArea
in classorg.eclipse.jface.window.ToolTip
-
show
public void show(org.eclipse.swt.graphics.Point location)
- Overrides:
show
in classorg.eclipse.jface.window.ToolTip
-
hide
public void hide()
- Overrides:
hide
in classorg.eclipse.jface.window.ToolTip
-
addCheckBoxToolTipListener
public void addCheckBoxToolTipListener(CheckBoxToolTipListener listener)
-
afterHideToolTip
protected void afterHideToolTip(org.eclipse.swt.widgets.Event event)
- Overrides:
afterHideToolTip
in classorg.eclipse.jface.window.ToolTip
-
getMessage
public String getMessage()
- Returns:
- the message
-
setMessage
public void setMessage(String message)
- Parameters:
message
- the message to set
-
getTitle
public String getTitle()
- Returns:
- the title
-
setTitle
public void setTitle(String title)
- Parameters:
title
- the title to set
-
getImage
public org.eclipse.swt.graphics.Image getImage()
- Returns:
- the image
-
setImage
public void setImage(org.eclipse.swt.graphics.Image image)
- Parameters:
image
- the image to set
-
getCheckBoxMessage
public String getCheckBoxMessage()
- Returns:
- the checkBoxMessage
-
setCheckBoxMessage
public void setCheckBoxMessage(String checkBoxMessage)
- Parameters:
checkBoxMessage
- the checkBoxMessage to set
-
isVisible
public boolean isVisible()
- Returns:
- the visible
-
setVisible
public void setVisible(boolean visible)
- Parameters:
visible
- the visible to set
-
getCheckBoxBounds
public org.eclipse.swt.graphics.Rectangle getCheckBoxBounds()
- Returns:
- the checkBoxBounds
-
setCheckBoxBounds
public void setCheckBoxBounds(org.eclipse.swt.graphics.Rectangle checkBoxBounds)
- Parameters:
checkBoxBounds
- the checkBoxBounds to set
-
isShowingScrollBars
public boolean isShowingScrollBars()
- Returns:
- the showingScrollBars
-
setShowingScrollBars
public void setShowingScrollBars(boolean showingScrollBars)
- Parameters:
showingScrollBars
- the showingScrollBars to set
-
-