public class Win7ColumnGroupHeaderRenderer extends DefaultColumnGroupHeaderRenderer
| Modifier and Type | Field and Description |
|---|---|
(package private) int |
bottomMargin |
(package private) int |
imageSpacing |
(package private) int |
leftMargin |
(package private) int |
rightMargin |
(package private) int |
topMargin |
LeftMouseButtonDown, MouseMove| Constructor and Description |
|---|
Win7ColumnGroupHeaderRenderer(Win7PaletteProvider palette) |
| Modifier and Type | Method and Description |
|---|---|
int |
getTruncationStyle()
Get the truncation style
|
void |
paint(org.eclipse.swt.graphics.GC gc,
java.lang.Object value)
Paints the visual representation of the given value on the given GC.
|
void |
setDisplay(org.eclipse.swt.widgets.Display display)
Sets the display.
|
void |
setTruncationStyle(int truncationStyle)
Set the truncation style to use when cell content is too large.
|
computeSize, getTextBounds, getToggleBounds, notifygetControlBounds, getHorizontalAlignment, isWordWrap, setHorizontalAlignment, setWordWrapgetHoverDetail, setHoverDetailgetBounds, getDisplay, getSize, isExpanded, isFocus, isHover, isMouseDown, isSelected, setBounds, setBounds, setExpanded, setFocus, setHover, setLocation, setLocation, setMouseDown, setSelected, setSize, setSizeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetBounds, setBounds, setExpanded, setFocus, setHover, setLocation, setLocation, setMouseDown, setSelected, setSize, setSizeint leftMargin
int rightMargin
int topMargin
int bottomMargin
int imageSpacing
public Win7ColumnGroupHeaderRenderer(Win7PaletteProvider palette)
palette - public void paint(org.eclipse.swt.graphics.GC gc,
java.lang.Object value)
Implementors need to respect the bounds values that may have been
specified. The bounds values may affect the x and y values for all
drawing operations as well as the width and heights. Implementors may use
a Transform to translate the coordinates of all the
drawing operations, otherwise they will need to offset each draw.
paint in interface IRendererpaint in class DefaultColumnGroupHeaderRenderergc - GC to paint withvalue - the value being paintedpublic void setDisplay(org.eclipse.swt.widgets.Display display)
setDisplay in interface IRenderersetDisplay in class DefaultColumnGroupHeaderRendererdisplay - Display.public int getTruncationStyle()
getTruncationStyle in class GridHeaderRendererpublic void setTruncationStyle(int truncationStyle)
setTruncationStyle in class GridHeaderRenderertruncationStyle - SWT.LEFT,
SWT.CENTER,
SWT.RIGHT