TPTP 4.5.0 Platform Project
Internal API Specification

org.eclipse.tptp.platform.report.core.internal
Interface IDAlignment

All Known Implementing Classes:
DAbstractParagraph, DAlignment, DAlignmentPair, DCell, DCellText, DDocument, DFooter, DHeader, DParagraph, DPopup, DSection

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 interface IDAlignment

Provides an interface for alignment/style definitions, that can be combined each others. Aligments are defined by bit field (and mask), and can be or'ed using '|' operator. Object where alignment is applied may choose to not take into account of all alignment defined.

See Also:
DParagraph

Field Summary
static int BOTTOM
          Deprecated. define bottom alignment
static int CENTER
          Deprecated. define both horiz/verti centered alignment (not a bit definition)
static int DEFAULT_ALIGN
          Deprecated. Define default alignment
static int HCENTER
          Deprecated. define horizontally centered alignment
static int LAST
          Deprecated. define last bit field value
static int LEFT
          Deprecated. define left alignment
static int NO_WORD_WRAP
          Deprecated. No Word Wrap mode for the paragraph
static int RIGHT
          Deprecated. define right alignment
static int ROTCCW90
          Deprecated. 90 degree counter clockwise alignment
static int ROTCW90
          Deprecated. 90 degree clockwise alignment
static int TOP
          Deprecated. define top alignment
static int VCENTER
          Deprecated. define vertically centered alignment
static int VERTICAL
          Deprecated. vertical, can means top to bottom.
 
Method Summary
 void addAlignment(int _alignments)
          Deprecated. Add alignment mask to current alignment.
 int getAlignment()
          Deprecated.  
 int getAlignment(int _alignment_mask)
          Deprecated.  
 boolean haveAlignment(int _alignment_mask)
          Deprecated.  
 boolean haveOneOfAlignment(int _alignment_mask)
          Deprecated.  
 void removeAlignment(int _alignments)
          Deprecated. Remove alignment mask from current alignment.
 void setAlignment(int _alignments)
          Deprecated. Change alignment to the given value.
 

Field Detail

LEFT

static final int LEFT
Deprecated. 
define left alignment

See Also:
Constant Field Values

RIGHT

static final int RIGHT
Deprecated. 
define right alignment

See Also:
Constant Field Values

HCENTER

static final int HCENTER
Deprecated. 
define horizontally centered alignment

See Also:
Constant Field Values

TOP

static final int TOP
Deprecated. 
define top alignment

See Also:
Constant Field Values

BOTTOM

static final int BOTTOM
Deprecated. 
define bottom alignment

See Also:
Constant Field Values

VCENTER

static final int VCENTER
Deprecated. 
define vertically centered alignment

See Also:
Constant Field Values

VERTICAL

static final int VERTICAL
Deprecated. 
vertical, can means top to bottom.

See Also:
Constant Field Values

ROTCCW90

static final int ROTCCW90
Deprecated. 
90 degree counter clockwise alignment

See Also:
Constant Field Values

ROTCW90

static final int ROTCW90
Deprecated. 
90 degree clockwise alignment

See Also:
Constant Field Values

LAST

static final int LAST
Deprecated. 
define last bit field value

See Also:
Constant Field Values

CENTER

static final int CENTER
Deprecated. 
define both horiz/verti centered alignment (not a bit definition)

See Also:
Constant Field Values

DEFAULT_ALIGN

static final int DEFAULT_ALIGN
Deprecated. 
Define default alignment

See Also:
Constant Field Values

NO_WORD_WRAP

static final int NO_WORD_WRAP
Deprecated. 
No Word Wrap mode for the paragraph

See Also:
Constant Field Values
Method Detail

getAlignment

int getAlignment()
Deprecated. 
Returns:
current alignment (full combined mask ).

getAlignment

int getAlignment(int _alignment_mask)
Deprecated. 
Returns:
current alignment reduced to given mask.

setAlignment

void setAlignment(int _alignments)
Deprecated. 
Change alignment to the given value.


addAlignment

void addAlignment(int _alignments)
Deprecated. 
Add alignment mask to current alignment.


removeAlignment

void removeAlignment(int _alignments)
Deprecated. 
Remove alignment mask from current alignment.


haveAlignment

boolean haveAlignment(int _alignment_mask)
Deprecated. 
Returns:
true if current value of alignement contains all alignment defined in parameter, but current value might contains more alignment. for example if current value is LEFT|TOP|VERTICAL, haveAlignment(LEFT) will return true, but haveAlignment(LEFT|BOTTOM) will return false;

haveOneOfAlignment

boolean haveOneOfAlignment(int _alignment_mask)
Deprecated. 
Returns:
true if current value of alignement contains one of alignment defined in parameter, but current value might contains more alignment. for example if current value is LEFT|TOP|VERTICAL, haveOneOfAlignment(LEFT) will return true, but haveOneOfAlignment(LEFT|BOTTOM) will return true too;

TPTP 4.5.0 Platform Project
Internal API Specification