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 inherited from class org.eclipse.jface.window.ToolTip
NO_RECREATE, RECREATE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
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
org.eclipse.swt.graphics.Image
getImage()
getTitle()
void
hide()
boolean
boolean
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
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
-
Field Details
-
checkBoxBounds
protected org.eclipse.swt.graphics.Rectangle checkBoxBounds
-
-
Constructor Details
-
CheckBoxToolTip
public CheckBoxToolTip(org.eclipse.swt.widgets.Control control)
-
-
Method Details
-
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
-
afterHideToolTip
protected void afterHideToolTip(org.eclipse.swt.widgets.Event event) - Overrides:
afterHideToolTip
in classorg.eclipse.jface.window.ToolTip
-
getMessage
- Returns:
- the message
-
setMessage
- Parameters:
message
- the message to set
-
getTitle
- Returns:
- the title
-
setTitle
- 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
- Returns:
- the checkBoxMessage
-
setCheckBoxMessage
- 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
-