|
TPTP 4.5.0 Platform Project Internal API Specification |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.tptp.platform.report.core.internal.DItem
org.eclipse.tptp.platform.report.core.internal.DItemContainer
org.eclipse.tptp.platform.report.core.internal.DBorder
org.eclipse.tptp.platform.report.birt).
public class DBorder
Apply a border to children items.
Border can ave the following settings:
- a line type (see L_xxxx constants)
- a shadow type (see S_xxx constants)
- a shadow depth.
- a shadow color.
- a margin.
| Field Summary | |
|---|---|
static int |
L_BOLD
Deprecated. two-pixel width line around children item |
static int |
L_BOLD_SIMPLE
Deprecated. a bold and a simple line around children item |
static int |
L_DOUBLE
Deprecated. double line around children item |
static int |
L_HEAVY
Deprecated. three-pixel width line around children item |
static int |
L_NONE
Deprecated. no line around children item |
static int |
L_SIMPLE
Deprecated. simple line around children item |
static int |
L_SIMPLE_BOLD
Deprecated. a simple and a bold line around children item |
static int |
L_TRIPLE
Deprecated. three lines around children item |
protected int |
line_type_
Deprecated. |
protected int |
margin_
Deprecated. |
static int |
S_GRADIENT
Deprecated. Shadow type is Gradient |
static int |
S_HALO
Deprecated. Shadow type is an Halod (gradient) around children |
static int |
S_NONE
Deprecated. Shadow type is None, ie no shadow |
static int |
S_SOLID
Deprecated. Shadow type is Solid |
protected IDColor |
shadow_color_
Deprecated. |
protected int |
shadow_depth_
Deprecated. |
protected int |
shadow_type_
Deprecated. |
| Constructor Summary | |
|---|---|
DBorder()
Deprecated. Create a default border (solid shadow, depth=8), L_SIMPLE line type and maring=3 |
|
DBorder(DBorder model)
Deprecated. Create a border copying all parameter from given one (taken as a "model") |
|
DBorder(int line_type)
Deprecated. Create a border with a line type, shadow is L_NONE |
|
DBorder(int shadow_type,
int shadow_depth)
Deprecated. Create a border with a shadow_type and a shadow_depth, line type is L_SIMPLE |
|
DBorder(int shadow_type,
int shadow_depth,
int line_type)
Deprecated. Create a border with a shadow_type, a shadow_depth and a line type |
|
| Method Summary | |
|---|---|
int |
getLineType()
Deprecated. |
int |
getMargin()
Deprecated. |
IDColor |
getShadowColor()
Deprecated. |
int |
getShadowDepth()
Deprecated. |
int |
getShadowType()
Deprecated. |
boolean |
isShadowType(int _type)
Deprecated. |
void |
setBorder(DBorder model)
Deprecated. Change all of this border parameter copying them from given border (taken as a "model") |
void |
setLineType(int _type)
Deprecated. Change line type, use one constant from L_xxx set |
void |
setMargin(int margin)
Deprecated. Change inside margin from line of border to contained items (in pixels) |
void |
setShadowColor(IDColor c)
Deprecated. Change shadow color |
void |
setShadowDepth(int _depth)
Deprecated. Change shadow depth (in pixels) |
void |
setShadowType(int _type)
Deprecated. change shadow type, use one constant from S_xxxx set |
static java.lang.String |
StrLineType(int lt)
Deprecated. |
static java.lang.String |
StrShadowType(int st)
Deprecated. |
static int |
ToLineType(java.lang.String str)
Deprecated. |
static int |
ToShadowType(java.lang.String str)
Deprecated. |
| Methods inherited from class org.eclipse.tptp.platform.report.core.internal.DItemContainer |
|---|
clear, getChildCount, getChildOfClass, getChildPosition, getChildrenOfClass, getFirstChild, getLastChild, insertChild, isContainer, removeChild |
| Methods inherited from class org.eclipse.tptp.platform.report.core.internal.DItem |
|---|
addChild, getAppliedStyle, getIterator, getNext, getParent, getRoot, getStyle, setNext, setParent, setStyle |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.eclipse.tptp.platform.report.core.internal.IDItem |
|---|
addChild, clear, getAppliedStyle, getChildCount, getChildPosition, getFirstChild, getIterator, getLastChild, getNext, getParent, getRoot, getStyle, insertChild, isContainer, removeChild, setNext, setParent, setStyle |
| Field Detail |
|---|
public static final int S_NONE
public static final int S_SOLID
public static final int S_GRADIENT
public static final int S_HALO
public static final int L_NONE
public static final int L_SIMPLE
public static final int L_BOLD
public static final int L_HEAVY
public static final int L_DOUBLE
public static final int L_TRIPLE
public static final int L_BOLD_SIMPLE
public static final int L_SIMPLE_BOLD
protected int shadow_type_
protected int shadow_depth_
protected IDColor shadow_color_
protected int line_type_
protected int margin_
| Constructor Detail |
|---|
public DBorder()
public DBorder(int line_type)
public DBorder(int shadow_type,
int shadow_depth)
public DBorder(int shadow_type,
int shadow_depth,
int line_type)
public DBorder(DBorder model)
| Method Detail |
|---|
public int getShadowType()
public int getShadowDepth()
public IDColor getShadowColor()
public int getLineType()
public int getMargin()
public boolean isShadowType(int _type)
public void setShadowType(int _type)
public void setShadowDepth(int _depth)
public void setShadowColor(IDColor c)
public void setLineType(int _type)
public void setMargin(int margin)
public void setBorder(DBorder model)
public static java.lang.String StrShadowType(int st)
public static int ToShadowType(java.lang.String str)
public static java.lang.String StrLineType(int lt)
public static int ToLineType(java.lang.String str)
|
TPTP 4.5.0 Platform Project Internal API Specification |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||