This project has retired. For details please refer to its
Attic page .
VerticalAlignment (Cocoon API 2.1.12-dev [March 20 2012])
org.apache.cocoon.components.elementprocessor.impl.poi.hssf.elements
Class VerticalAlignment
java.lang.Object
org.apache.cocoon.components.elementprocessor.impl.poi.hssf.elements.VerticalAlignment
public class VerticalAlignment extends Object
Vertical 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.
Version:
CVS $Id: VerticalAlignment.html 1304258 2012-03-23 10:09:27Z ilgrosso $
Author:
Marc Johnson (marc_johnson27591@hotmail.com)
Methods inherited from class java.lang.Object
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait
VerticalAlignment
public VerticalAlignment (String value)
throws IOException
Create a VerticalAlignment object
Parameters: value
- the string containing the vertical alignment data
Throws:
IOException
- if the data is malformed
isTop
public boolean isTop ()
Returns: true if top bit is set
isBottom
public boolean isBottom ()
Returns: true if bottom bit is set
isCenter
public boolean isCenter ()
Returns: true if center bit is set
isJustify
public boolean isJustify ()
Returns: true if justify bit is set
getCode
public short getCode ()
Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.