org.apache.cocoon.components.elementprocessor.impl.poi.hssf.elements
Class HorizontalAlignment
java.lang.Object
|
+--org.apache.cocoon.components.elementprocessor.impl.poi.hssf.elements.HorizontalAlignment
- public class HorizontalAlignment
- extends java.lang.Object
Horizontal alignment is written as an integer, and each bit in the
integer specifies a particular boolean attribute. This class deals
with all that information in an easily digested form.
- Author:
- Marc Johnson (marc_johnson27591@hotmail.com)
Constructor Summary |
HorizontalAlignment(java.lang.String value)
Create an HorizontalAlignment object |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HorizontalAlignment
public HorizontalAlignment(java.lang.String value)
throws java.io.IOException
- Create an HorizontalAlignment object
- Parameters:
value
- the string containing the horizontal alignment
data- Throws:
java.io.IOException
- if the data is malformed
isGeneral
public boolean isGeneral()
- Returns:
- true if general bit is set
isLeft
public boolean isLeft()
- Returns:
- true if left bit is set
isRight
public boolean isRight()
- Returns:
- true if right bit is set
isCenter
public boolean isCenter()
- Returns:
- true if center bit is set
isFill
public boolean isFill()
- Returns:
- true if fill bit is set
isJustify
public boolean isJustify()
- Returns:
- true if justify bit is set
isCenterAcrossSelection
public boolean isCenterAcrossSelection()
- Returns:
- true if center across selection bit is set
Copyright © 1999-2002 Apache Software Foundation. All Rights Reserved.