|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ICellStyle
Interface describing the style of a cell.
Field Summary | |
---|---|
static java.lang.String |
BACKGROUNDCOLOR
property name. |
static java.lang.String |
BORDERCOLOR
property name. |
static java.lang.String |
BORDERCONFIGURATION
property name. |
static java.lang.String |
FONT
property name. |
static java.lang.String |
FOREGROUNDCOLOR
property name. |
static java.lang.String |
HORIZONTAL_ALIGNMENT
property name. |
static java.lang.String |
VERTICAL_ALIGNMENT
property name. |
Method Summary | |
---|---|
ICellStyle |
copy()
Copy the cell style. |
org.eclipse.swt.graphics.RGB |
getBackgroundColor()
Retrieve the background color. |
org.eclipse.swt.graphics.RGB |
getBorderColor()
Retrieve the border color. |
IBorderConfiguration |
getBorderConfiguration()
Retrieve the border configuration. |
org.eclipse.swt.graphics.FontData |
getFont()
Retrieve the font. |
org.eclipse.swt.graphics.RGB |
getForegroundColor()
Retrieve the foreground color. |
ITableViewState.HAlignment |
getHorizontalAlignment()
Retrieve the horizontal alignment. |
boolean |
getMultiLine()
|
ITableViewState.VAlignment |
getVerticalAlignment()
Retrieve the vertical alignment. |
void |
setBackgroundColor(org.eclipse.swt.graphics.RGB background)
Set the background color. |
void |
setBorderColor(org.eclipse.swt.graphics.RGB bordercolor)
Set the border color. |
void |
setBorderConfiguration(IBorderConfiguration borderConfiguration)
Set the border configuration. |
void |
setFont(org.eclipse.swt.graphics.FontData fontdata)
Set the font. |
void |
setForegroundColor(org.eclipse.swt.graphics.RGB foreground)
Set the foreground color. |
void |
setHorizontalAlignment(ITableViewState.HAlignment alignment)
Set the horizontal alignment. |
void |
setMultiLine(boolean multiLine)
|
void |
setVerticalAlignment(ITableViewState.VAlignment alignment)
Set the vertical alignemnt. |
Methods inherited from interface de.jaret.util.misc.PropertyObservable |
---|
addPropertyChangeListener, removePropertyChangeListener |
Field Detail |
---|
static final java.lang.String HORIZONTAL_ALIGNMENT
static final java.lang.String VERTICAL_ALIGNMENT
static final java.lang.String BACKGROUNDCOLOR
static final java.lang.String FOREGROUNDCOLOR
static final java.lang.String FONT
static final java.lang.String BORDERCONFIGURATION
static final java.lang.String BORDERCOLOR
Method Detail |
---|
IBorderConfiguration getBorderConfiguration()
void setBorderConfiguration(IBorderConfiguration borderConfiguration)
borderConfiguration
- the onfiguration to useorg.eclipse.swt.graphics.RGB getBorderColor()
void setBorderColor(org.eclipse.swt.graphics.RGB bordercolor)
bordercolor
- border colororg.eclipse.swt.graphics.RGB getForegroundColor()
void setForegroundColor(org.eclipse.swt.graphics.RGB foreground)
foreground
- the fore ground colro to useorg.eclipse.swt.graphics.RGB getBackgroundColor()
void setBackgroundColor(org.eclipse.swt.graphics.RGB background)
background
- the color to useorg.eclipse.swt.graphics.FontData getFont()
void setFont(org.eclipse.swt.graphics.FontData fontdata)
fontdata
- font data of the fontITableViewState.HAlignment getHorizontalAlignment()
void setHorizontalAlignment(ITableViewState.HAlignment alignment)
alignment
- the horizontal alignmentITableViewState.VAlignment getVerticalAlignment()
void setVerticalAlignment(ITableViewState.VAlignment alignment)
alignment
- the vertical alignmentboolean getMultiLine()
void setMultiLine(boolean multiLine)
ICellStyle copy()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |