public interface DataVisualizer
GridItem
s. With this interface it is
possible to create your own data visualization manager. With an instance of
this class it is much easier to avoid memory leaks by using background colors
and fonts.Modifier and Type | Method and Description |
---|---|
void |
addColumn(int columnIndex)
Inserts a column on DataVisualizer
|
void |
clearAll()
Clear all data on
DataVisualizer |
void |
clearColumn(int columnIndex)
Clear column dataVisualizer values
|
void |
clearRow(GridItem gridItem)
Clear rows dataVisualizer values
|
org.eclipse.swt.graphics.Color |
getBackground(GridItem gridItem,
int columnIndex)
Method substitute GridItem method
|
boolean |
getCheckable(GridItem gridItem,
int columnIndex)
Method substitute GridItem method
|
boolean |
getChecked(GridItem gridItem,
int columnIndex)
Method substitute GridItem method
|
int |
getColumnSpan(GridItem gridItem,
int columnIndex)
Method substitute GridItem method
|
org.eclipse.swt.graphics.Color |
getDefaultBackground() |
org.eclipse.swt.graphics.Font |
getDefaultFont() |
org.eclipse.swt.graphics.Color |
getDefaultForeground() |
org.eclipse.swt.graphics.Font |
getFont(GridItem gridItem,
int columnIndex)
Method substitute GridItem method
|
org.eclipse.swt.graphics.Color |
getForeground(GridItem gridItem,
int columnIndex)
Method substitute GridItem method
|
boolean |
getGrayed(GridItem gridItem,
int columnIndex)
Method substitute GridItem method
|
org.eclipse.swt.graphics.Image |
getImage(GridItem gridItem,
int columnIndex)
Method substitute GridItem method
|
int |
getRowSpan(GridItem gridItem,
int columnIndex)
Method substitute GridItem method
|
java.lang.String |
getText(GridItem gridItem,
int columnIndex)
Method substitute GridItem method
|
java.lang.String |
getToolTipText(GridItem gridItem,
int columnIndex)
Method substitute GridItem method
|
void |
setBackground(GridItem gridItem,
int columnIndex,
org.eclipse.swt.graphics.Color color)
Method substitute GridItem method
|
void |
setCheckable(GridItem gridItem,
int columnIndex,
boolean checked)
Method substitute GridItem method
|
void |
setChecked(GridItem gridItem,
int columnIndex,
boolean checked)
Method substitute GridItem method
|
void |
setColumnSpan(GridItem gridItem,
int columnIndex,
int span)
Method substitute GridItem method
|
void |
setDefaultBackground(org.eclipse.swt.graphics.Color defaultBackground)
set default background
|
void |
setDefaultFont(org.eclipse.swt.graphics.Font defaultFont)
set default font
|
void |
setDefaultForeground(org.eclipse.swt.graphics.Color defaultForeground)
set default foreground
|
void |
setFont(GridItem gridItem,
int columnIndex,
org.eclipse.swt.graphics.Font font)
Method substitute GridItem method
|
void |
setForeground(GridItem gridItem,
int columnIndex,
org.eclipse.swt.graphics.Color foreground)
Method substitute GridItem method
|
void |
setGrayed(GridItem gridItem,
int columnIndex,
boolean grayed)
Method substitute GridItem method
|
void |
setImage(GridItem gridItem,
int columnIndex,
org.eclipse.swt.graphics.Image image)
Method substitute GridItem method
|
void |
setRowSpan(GridItem gridItem,
int columnIndex,
int span)
Method substitute GridItem method
|
void |
setText(GridItem gridItem,
int columnIndex,
java.lang.String text)
Method substitute GridItem method
|
void |
setToolTipText(GridItem gridItem,
int columnIndex,
java.lang.String tooltip)
Method substitute GridItem method
|
void addColumn(int columnIndex)
columnIndex
- void clearAll()
DataVisualizer
void clearColumn(int columnIndex)
columnIndex
- void clearRow(GridItem gridItem)
gridItem
- org.eclipse.swt.graphics.Color getBackground(GridItem gridItem, int columnIndex)
gridItem
- columnIndex
- Color
GridItem.getBackground(int)
boolean getCheckable(GridItem gridItem, int columnIndex)
gridItem
- columnIndex
- GridItem.getCheckable(int)
boolean getChecked(GridItem gridItem, int columnIndex)
gridItem
- columnIndex
- GridItem.getChecked(int)
int getColumnSpan(GridItem gridItem, int columnIndex)
gridItem
- columnIndex
- GridItem.getColumnSpan(int)
org.eclipse.swt.graphics.Color getDefaultBackground()
org.eclipse.swt.graphics.Font getDefaultFont()
org.eclipse.swt.graphics.Color getDefaultForeground()
org.eclipse.swt.graphics.Font getFont(GridItem gridItem, int columnIndex)
gridItem
- columnIndex
- Font
GridItem.getFont(int)
org.eclipse.swt.graphics.Color getForeground(GridItem gridItem, int columnIndex)
gridItem
- columnIndex
- Color
GridItem.getForeground(int)
boolean getGrayed(GridItem gridItem, int columnIndex)
gridItem
- columnIndex
- GridItem.getGrayed(int)
org.eclipse.swt.graphics.Image getImage(GridItem gridItem, int columnIndex)
gridItem
- columnIndex
- Image
GridItem.getImage(int)
int getRowSpan(GridItem gridItem, int columnIndex)
gridItem
- columnIndex
- GridItem.getRowSpan(int)
java.lang.String getText(GridItem gridItem, int columnIndex)
gridItem
- columnIndex
- String
GridItem.getText(int)
java.lang.String getToolTipText(GridItem gridItem, int columnIndex)
gridItem
- columnIndex
- GridItem.getToolTipText(int)
void setBackground(GridItem gridItem, int columnIndex, org.eclipse.swt.graphics.Color color)
gridItem
- columnIndex
- color
- GridItem.setBackground(int, Color)
void setCheckable(GridItem gridItem, int columnIndex, boolean checked)
gridItem
- columnIndex
- checked
- GridItem.setCheckable(int, boolean)
void setChecked(GridItem gridItem, int columnIndex, boolean checked)
gridItem
- columnIndex
- checked
- GridItem.setChecked(int, boolean)
void setColumnSpan(GridItem gridItem, int columnIndex, int span)
gridItem
- columnIndex
- span
- GridItem.setColumnSpan(int, int)
void setDefaultBackground(org.eclipse.swt.graphics.Color defaultBackground)
defaultBackground
- void setDefaultFont(org.eclipse.swt.graphics.Font defaultFont)
defaultFont
- void setDefaultForeground(org.eclipse.swt.graphics.Color defaultForeground)
defaultForeground
- void setFont(GridItem gridItem, int columnIndex, org.eclipse.swt.graphics.Font font)
gridItem
- columnIndex
- font
- GridItem.setFont(int, Font)
void setForeground(GridItem gridItem, int columnIndex, org.eclipse.swt.graphics.Color foreground)
gridItem
- columnIndex
- foreground
- GridItem.setForeground(int, Color)
void setGrayed(GridItem gridItem, int columnIndex, boolean grayed)
gridItem
- columnIndex
- grayed
- GridItem.setGrayed(int, boolean)
void setImage(GridItem gridItem, int columnIndex, org.eclipse.swt.graphics.Image image)
gridItem
- columnIndex
- image
- GridItem.setImage(int, Image)
void setRowSpan(GridItem gridItem, int columnIndex, int span)
gridItem
- columnIndex
- span
- GridItem.setRowSpan(int, int)
void setText(GridItem gridItem, int columnIndex, java.lang.String text)
gridItem
- columnIndex
- text
- GridItem.setText(int, String)
void setToolTipText(GridItem gridItem, int columnIndex, java.lang.String tooltip)
gridItem
- columnIndex
- tooltip
- GridItem.setToolTipText(int, String)