TPTP 4.5.0 Platform Project
Internal API Specification

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

java.lang.Object
  extended by org.eclipse.tptp.platform.report.core.internal.DItem
      extended by org.eclipse.tptp.platform.report.core.internal.DLine
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 DLine
extends DItem
implements IDParagraphItem

A DLine is a line separator. You can add a parameter in the constructor to set the line width in pixel, the default value is 1. Tip: It's a good idea to set line size bigger than 1 pixel if you want to use vertical gradient lines.


Field Summary
static int DEFAULT_SIZE
          Deprecated.  
static java.lang.String DEFAULT_TYPE
          Deprecated.  
static java.lang.String HGRADIENT
          Deprecated. Line Type: define an horizontal gradient from foreground color to background color (left to right)
static java.lang.String HGRADIENT2
          Deprecated. Line Type: define an horizontal gradient from foreground color to background color to foreground (left to right)
static java.lang.String HGRADIENT2R
          Deprecated. Line Type: define an horizontal gradient from background color to foreground color to background (left to right)
static java.lang.String HGRADIENTR
          Deprecated. Line Type: define an horizontal gradient from background color to foreground color (left to right)
static java.lang.String SOLID
          Deprecated. Line Type: define a solid line using applied foreground color
static java.lang.String VGRADIENT
          Deprecated. Line Type: define an vertical gradient from foreground color to background color (top to bottom)
static java.lang.String VGRADIENT2
          Deprecated. Line Type: define an vertical gradient from foreground color to background color to foreground (top to bottom)
static java.lang.String VGRADIENT2R
          Deprecated. Line Type: define an vertical gradient from background color to foreground color to background (top to bottom)
static java.lang.String VGRADIENTR
          Deprecated. Line Type: define an vertical gradient from background color to foreground color (top to bottom)
 
Constructor Summary
DLine()
          Deprecated. Constructs a DLine with defaults
DLine(int size, java.lang.String type)
          Deprecated. Constructs a DLine
 
Method Summary
 int getSize()
          Deprecated. Access method for the size property.
 java.lang.String getType()
          Deprecated.  
 boolean isType(java.lang.String _type)
          Deprecated.  
 void setSize(int aSize)
          Deprecated. Sets the value of the size property.
 void setType(java.lang.String _type)
          Deprecated. Change current line type, @see SOLID, HGRADIENT...
 
Methods inherited from class org.eclipse.tptp.platform.report.core.internal.DItem
addChild, clear, getAppliedStyle, getChildCount, getChildPosition, getFirstChild, getIterator, getLastChild, getNext, getParent, getRoot, getStyle, insertChild, isContainer, removeChild, 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

SOLID

public static final java.lang.String SOLID
Deprecated. 
Line Type: define a solid line using applied foreground color

See Also:
Constant Field Values

HGRADIENT

public static final java.lang.String HGRADIENT
Deprecated. 
Line Type: define an horizontal gradient from foreground color to background color (left to right)

See Also:
Constant Field Values

HGRADIENTR

public static final java.lang.String HGRADIENTR
Deprecated. 
Line Type: define an horizontal gradient from background color to foreground color (left to right)

See Also:
Constant Field Values

HGRADIENT2

public static final java.lang.String HGRADIENT2
Deprecated. 
Line Type: define an horizontal gradient from foreground color to background color to foreground (left to right)

See Also:
Constant Field Values

HGRADIENT2R

public static final java.lang.String HGRADIENT2R
Deprecated. 
Line Type: define an horizontal gradient from background color to foreground color to background (left to right)

See Also:
Constant Field Values

VGRADIENT

public static final java.lang.String VGRADIENT
Deprecated. 
Line Type: define an vertical gradient from foreground color to background color (top to bottom)

See Also:
Constant Field Values

VGRADIENTR

public static final java.lang.String VGRADIENTR
Deprecated. 
Line Type: define an vertical gradient from background color to foreground color (top to bottom)

See Also:
Constant Field Values

VGRADIENT2

public static final java.lang.String VGRADIENT2
Deprecated. 
Line Type: define an vertical gradient from foreground color to background color to foreground (top to bottom)

See Also:
Constant Field Values

VGRADIENT2R

public static final java.lang.String VGRADIENT2R
Deprecated. 
Line Type: define an vertical gradient from background color to foreground color to background (top to bottom)

See Also:
Constant Field Values

DEFAULT_SIZE

public static final int DEFAULT_SIZE
Deprecated. 
See Also:
Constant Field Values

DEFAULT_TYPE

public static final java.lang.String DEFAULT_TYPE
Deprecated. 
See Also:
Constant Field Values
Constructor Detail

DLine

public DLine()
Deprecated. 
Constructs a DLine with defaults


DLine

public DLine(int size,
             java.lang.String type)
Deprecated. 
Constructs a DLine

Method Detail

getSize

public int getSize()
Deprecated. 
Access method for the size property.

Returns:
the current value of the size property

setSize

public void setSize(int aSize)
Deprecated. 
Sets the value of the size property.

Parameters:
aSize - the new value of the size property

getType

public java.lang.String getType()
Deprecated. 
Returns:
current line type, @see SOLID, HGRADIENT...

setType

public void setType(java.lang.String _type)
Deprecated. 
Change current line type, @see SOLID, HGRADIENT... (using prior DLine defined string values)


isType

public boolean isType(java.lang.String _type)
Deprecated. 
Returns:
true if given line type is the current type of the line.

TPTP 4.5.0 Platform Project
Internal API Specification