com.businessobjects.rebean.wi
Interface Alignment


public interface Alignment

Warning: This interface is no longer functional from the SAP BusinessObjects 4.0 release onwards.

The Alignment interface defines the text or the image alignment settings.

See Also:
Decoration

Method Summary
 HAlignmentType getHorizontal()
          Returns the horizontal alignment.
 VAlignmentType getVertical()
          Returns the vertical alignment.
 boolean getWrapText()
          Checks if the text can be wrapped.
 void setHorizontal(HAlignmentType type)
          Changes the horizontal alignment.
 void setVertical(VAlignmentType type)
          Changes the vertical alignment.
 void setWrapText(boolean wrap)
          Sets the WrapText attribute.
 

Method Detail

getHorizontal

HAlignmentType getHorizontal()
Returns the horizontal alignment.

Returns:
the horizontal alignment

setHorizontal

void setHorizontal(HAlignmentType type)
Changes the horizontal alignment.

Parameters:
type - the new horizontal alignment, or null to take the horizontal alignment of a parent element
Throws:
java.lang.NullPointerException - when type is null and there is no parent

getVertical

VAlignmentType getVertical()
Returns the vertical alignment.

Returns:
the vertical alignment

setVertical

void setVertical(VAlignmentType type)
Changes the vertical alignment.

Parameters:
type - the new vertical alignment, or null to take the vertical alignment of a parent element
Throws:
java.lang.NullPointerException - when type is null and there is no parent

getWrapText

boolean getWrapText()
Checks if the text can be wrapped.

Returns:
true when text can be wrapped

setWrapText

void setWrapText(boolean wrap)
Sets the WrapText attribute.

Parameters:
wrap - when true, text can be wrapped