TPTP 4.5.0 Platform Project
Internal API Specification

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

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.DAbstractParagraph
All Implemented Interfaces:
IDAlignment, IDItem, IDObject
Direct Known Subclasses:
DCell, 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 abstract class DAbstractParagraph
extends DItemContainer
implements IDAlignment

Provides an abstract class for all another DItemContainer which have alignment property

See Also:
IDAlignment

Field Summary
 
Fields inherited from interface org.eclipse.tptp.platform.report.core.internal.IDAlignment
BOTTOM, CENTER, DEFAULT_ALIGN, HCENTER, LAST, LEFT, NO_WORD_WRAP, RIGHT, ROTCCW90, ROTCW90, TOP, VCENTER, VERTICAL
 
Constructor Summary
DAbstractParagraph()
          Deprecated. Creates a Abstract Paragraph with DEFAUL_ALIGN alignment.
DAbstractParagraph(int _align)
          Deprecated. Constructs a new Abstract Paragraph with an initial value for the property _align.
 
Method Summary
 void addAlignment(int aAlignment)
          Deprecated. Add alignments to the current value of alignment.
 int getAlignment()
          Deprecated. Access method for the align property.
 int getAlignment(int _alignment_mask)
          Deprecated. Returns the current alignment reduced to given mask.
 boolean haveAlignment(int mask)
          Deprecated. Returns true is alignment contains the given mask.
 boolean haveOneOfAlignment(int mask)
          Deprecated. Returns true is alignment contains one of alignment in the given mask.
 void removeAlignment(int aAlignment)
          Deprecated. remove alignments to the current value of alignment.
 void setAlignment(int aAlignment)
          Deprecated. Sets the value of the align property.
 
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
 

Constructor Detail

DAbstractParagraph

public DAbstractParagraph(int _align)
Deprecated. 
Constructs a new Abstract Paragraph with an initial value for the property _align.

Parameters:
_align - alignment property, combined mask of IDAligment.

DAbstractParagraph

public DAbstractParagraph()
Deprecated. 
Creates a Abstract Paragraph with DEFAUL_ALIGN alignment.

Method Detail

getAlignment

public int getAlignment()
Deprecated. 
Access method for the align property.

Specified by:
getAlignment in interface IDAlignment
Returns:
the current value of the align property

getAlignment

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

Specified by:
getAlignment in interface IDAlignment
Returns:
current alignment reduced to given mask.

setAlignment

public void setAlignment(int aAlignment)
Deprecated. 
Sets the value of the align property.

Specified by:
setAlignment in interface IDAlignment
Parameters:
aAlignment - the new value of the align property

addAlignment

public void addAlignment(int aAlignment)
Deprecated. 
Add alignments to the current value of alignment.

Specified by:
addAlignment in interface IDAlignment
Parameters:
aAlignment - the alignment to add.

removeAlignment

public void removeAlignment(int aAlignment)
Deprecated. 
remove alignments to the current value of alignment.

Specified by:
removeAlignment in interface IDAlignment
Parameters:
aAlignment - the alignment to remove.

haveAlignment

public boolean haveAlignment(int mask)
Deprecated. 
Returns true is alignment contains the given mask.

Specified by:
haveAlignment in interface IDAlignment
Parameters:
mask - the mask.
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

public boolean haveOneOfAlignment(int mask)
Deprecated. 
Returns true is alignment contains one of alignment in the given mask.

Specified by:
haveOneOfAlignment in interface IDAlignment
Parameters:
mask - the mask.
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