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.| Modifier and Type | Field and Description |
|---|---|
protected int |
truncationStyle
Truncation style
|
hoverDetailLeftMouseButtonDown, MouseMove| Constructor and Description |
|---|
GridFooterRenderer() |
| Modifier and Type | Method and Description |
|---|---|
org.eclipse.swt.graphics.Rectangle |
getTextBounds(java.lang.Object value,
boolean preferred)
Returns the bounds of the text in the cell.
|
int |
getTruncationStyle()
Get the truncation style
|
void |
setTruncationStyle(int truncationStyle)
Set the truncation style to use when cell content is too large.
|
getHoverDetail, setHoverDetailgetBounds, getDisplay, getSize, isExpanded, isFocus, isHover, isMouseDown, isSelected, setBounds, setBounds, setDisplay, setExpanded, setFocus, setHover, setLocation, setLocation, setMouseDown, setSelected, setSize, setSizeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitnotifycomputeSize, paint, setBounds, setBounds, setDisplay, setExpanded, setFocus, setHover, setLocation, setLocation, setMouseDown, setSelected, setSize, setSizepublic 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.public int getTruncationStyle()
public void setTruncationStyle(int truncationStyle)
truncationStyle - SWT.LEFT,
SWT.CENTER,
SWT.RIGHT