public class Win7ColumnHeaderUtil
extends java.lang.Object
| Constructor and Description |
|---|
Win7ColumnHeaderUtil() |
| Modifier and Type | Method and Description |
|---|---|
static void |
drawColumn(org.eclipse.swt.graphics.GC graphics,
org.eclipse.swt.graphics.Rectangle bounds,
Win7PaletteProvider palette,
boolean hover,
boolean selected,
boolean mousedown)
Based on the provided state (hover/selected) generate the appropriate column
header rendering.
|
protected static void |
drawColumnHeader(org.eclipse.swt.graphics.GC graphics,
org.eclipse.swt.graphics.Rectangle bounds,
Win7PaletteProvider.Palette palette)
Draw the column header based on the given colors
|
protected static void |
drawColumnSelectedTopShadow(org.eclipse.swt.graphics.GC graphics,
org.eclipse.swt.graphics.Rectangle bounds,
Win7PaletteProvider.Palette palette)
Draw an additional shadow for the selected column state
|
public static void drawColumn(org.eclipse.swt.graphics.GC graphics,
org.eclipse.swt.graphics.Rectangle bounds,
Win7PaletteProvider palette,
boolean hover,
boolean selected,
boolean mousedown)
graphics - bounds - palette - hover - indicates whether the mouse is hovering over the column headerselected - indicates whether the column is selected (mousedown)mousedown - protected static void drawColumnSelectedTopShadow(org.eclipse.swt.graphics.GC graphics,
org.eclipse.swt.graphics.Rectangle bounds,
Win7PaletteProvider.Palette palette)
graphics - bounds - palette - protected static void drawColumnHeader(org.eclipse.swt.graphics.GC graphics,
org.eclipse.swt.graphics.Rectangle bounds,
Win7PaletteProvider.Palette palette)
graphics - bounds - palette -