TPTP 4.5.0 Platform Project
Internal API Specification

org.eclipse.tptp.platform.report.core.internal
Class DBorder

java.lang.Object
  extended by org.eclipse.tptp.platform.report.core.internal.DItem
      extended by org.eclipse.tptp.platform.report.core.internal.DItemContainer
          extended by org.eclipse.tptp.platform.report.core.internal.DBorder
All Implemented Interfaces:
IDItem, IDObject, IDParagraphItem

Deprecated. As of TPTP 4.5.0, use the TPTP Business Intelligence and Reporting Tools (BIRT) reporting infrastructure (org.eclipse.tptp.platform.report.birt).

public class DBorder
extends DItemContainer
implements IDParagraphItem

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

S_NONE

public static final int S_NONE
Deprecated. 
Shadow type is None, ie no shadow

See Also:
Constant Field Values

S_SOLID

public static final int S_SOLID
Deprecated. 
Shadow type is Solid

See Also:
Constant Field Values

S_GRADIENT

public static final int S_GRADIENT
Deprecated. 
Shadow type is Gradient

See Also:
Constant Field Values

S_HALO

public static final int S_HALO
Deprecated. 
Shadow type is an Halod (gradient) around children

See Also:
Constant Field Values

L_NONE

public static final int L_NONE
Deprecated. 
no line around children item

See Also:
Constant Field Values

L_SIMPLE

public static final int L_SIMPLE
Deprecated. 
simple line around children item

See Also:
Constant Field Values

L_BOLD

public static final int L_BOLD
Deprecated. 
two-pixel width line around children item

See Also:
Constant Field Values

L_HEAVY

public static final int L_HEAVY
Deprecated. 
three-pixel width line around children item

See Also:
Constant Field Values

L_DOUBLE

public static final int L_DOUBLE
Deprecated. 
double line around children item

See Also:
Constant Field Values

L_TRIPLE

public static final int L_TRIPLE
Deprecated. 
three lines around children item

See Also:
Constant Field Values

L_BOLD_SIMPLE

public static final int L_BOLD_SIMPLE
Deprecated. 
a bold and a simple line around children item

See Also:
Constant Field Values

L_SIMPLE_BOLD

public static final int L_SIMPLE_BOLD
Deprecated. 
a simple and a bold line around children item

See Also:
Constant Field Values

shadow_type_

protected int shadow_type_
Deprecated. 

shadow_depth_

protected int shadow_depth_
Deprecated. 

shadow_color_

protected IDColor shadow_color_
Deprecated. 

line_type_

protected int line_type_
Deprecated. 

margin_

protected int margin_
Deprecated. 
Constructor Detail

DBorder

public DBorder()
Deprecated. 
Create a default border (solid shadow, depth=8), L_SIMPLE line type and maring=3


DBorder

public DBorder(int line_type)
Deprecated. 
Create a border with a line type, shadow is L_NONE


DBorder

public 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

public 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


DBorder

public DBorder(DBorder model)
Deprecated. 
Create a border copying all parameter from given one (taken as a "model")

Method Detail

getShadowType

public int getShadowType()
Deprecated. 
Returns:
current shadow type

getShadowDepth

public int getShadowDepth()
Deprecated. 
Returns:
shadow depth (in pixels)

getShadowColor

public IDColor getShadowColor()
Deprecated. 
Returns:
current shadow color

getLineType

public int getLineType()
Deprecated. 
Returns:
current line type

getMargin

public int getMargin()
Deprecated. 
Returns:
current margin (in pixels)

isShadowType

public boolean isShadowType(int _type)
Deprecated. 
Returns:
true is this border shadow type if the one given in parameter

setShadowType

public void setShadowType(int _type)
Deprecated. 
change shadow type, use one constant from S_xxxx set


setShadowDepth

public void setShadowDepth(int _depth)
Deprecated. 
Change shadow depth (in pixels)


setShadowColor

public void setShadowColor(IDColor c)
Deprecated. 
Change shadow color


setLineType

public void setLineType(int _type)
Deprecated. 
Change line type, use one constant from L_xxx set


setMargin

public void setMargin(int margin)
Deprecated. 
Change inside margin from line of border to contained items (in pixels)


setBorder

public void setBorder(DBorder model)
Deprecated. 
Change all of this border parameter copying them from given border (taken as a "model")


StrShadowType

public static java.lang.String StrShadowType(int st)
Deprecated. 
Returns:
String conversion from a S_xxxx constant

ToShadowType

public static int ToShadowType(java.lang.String str)
Deprecated. 
Returns:
a S_xxx constant value from given String (one of returned by StrShadowType for example)

StrLineType

public static java.lang.String StrLineType(int lt)
Deprecated. 
Returns:
String conversion of a L_xxx constant, "NONE" by default

ToLineType

public static int ToLineType(java.lang.String str)
Deprecated. 
Returns:
a L_xxx value from given String (one of returned by StrLineType() for example, or L_NONE

TPTP 4.5.0 Platform Project
Internal API Specification