IInternalWidget
, IRenderer
DefaultColumnFooterRenderer
public abstract class GridFooterRenderer extends AbstractInternalWidget
NOTE: THIS WIDGET AND ITS API ARE STILL UNDER DEVELOPMENT. THIS IS A PRE-RELEASE ALPHA VERSION. USERS SHOULD EXPECT API CHANGES IN FUTURE VERSIONS.
The super class for all grid header renderers. Contains the properties specific to a grid header.LeftMouseButtonDown, MouseMove
Constructor | Description |
---|---|
GridFooterRenderer() |
Modifier and Type | Method | Description |
---|---|---|
org.eclipse.swt.graphics.Rectangle |
getTextBounds(java.lang.Object value,
boolean preferred) |
Returns the bounds of the text in the cell.
|
getHoverDetail, setHoverDetail
getBounds, getDisplay, getSize, isExpanded, isFocus, isHover, isMouseDown, isSelected, setBounds, setBounds, setDisplay, setExpanded, setFocus, setHover, setLocation, setLocation, setMouseDown, setSelected, setSize, setSize
notify
computeSize, paint, setBounds, setBounds, setDisplay, setExpanded, setFocus, setHover, setLocation, setLocation, setMouseDown, setSelected, setSize, setSize
public org.eclipse.swt.graphics.Rectangle getTextBounds(java.lang.Object value, boolean preferred)
null
is returned here, in-place tooltips will not be displayed. If the
preferred
argument is true
then the returned bounds should be large
enough to show the entire text. If preferred
is false
then the
returned bounds should be be relative to the current bounds.value
- the object being rendered.preferred
- true if the preferred width of the text should be returned.