net.sf.jasperreports.engine.export.oasis
Class BorderStyle

java.lang.Object
  extended by net.sf.jasperreports.engine.export.oasis.Style
      extended by net.sf.jasperreports.engine.export.oasis.BorderStyle
Direct Known Subclasses:
CellStyle, FrameStyle

public abstract class BorderStyle
extends Style

Version:
$Id: BorderStyle.java 2129 2008-03-12 15:58:57Z teodord $
Author:
Teodor Danciu (teodord@users.sourceforge.net)

Field Summary
protected static int BOTTOM_BORDER
           
protected  JRPrintElement element
           
protected static int LEFT_BORDER
           
protected static int RIGHT_BORDER
           
protected static int TOP_BORDER
           
 
Fields inherited from class net.sf.jasperreports.engine.export.oasis.Style
styleWriter
 
Constructor Summary
BorderStyle(java.io.Writer styleWriter, JRPrintElement element)
           
 
Method Summary
 java.lang.String getId()
           
 void setBox(JRLineBox box)
           
 void setPen(JRPen pen)
           
protected  void writeBorder(int side)
           
 
Methods inherited from class net.sf.jasperreports.engine.export.oasis.Style
write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TOP_BORDER

protected static final int TOP_BORDER
See Also:
Constant Field Values

LEFT_BORDER

protected static final int LEFT_BORDER
See Also:
Constant Field Values

BOTTOM_BORDER

protected static final int BOTTOM_BORDER
See Also:
Constant Field Values

RIGHT_BORDER

protected static final int RIGHT_BORDER
See Also:
Constant Field Values

element

protected JRPrintElement element
Constructor Detail

BorderStyle

public BorderStyle(java.io.Writer styleWriter,
                   JRPrintElement element)
Method Detail

setBox

public void setBox(JRLineBox box)
            throws java.io.IOException
Throws:
java.io.IOException

setPen

public void setPen(JRPen pen)
            throws java.io.IOException
Throws:
java.io.IOException

getId

public java.lang.String getId()
Specified by:
getId in class Style

writeBorder

protected void writeBorder(int side)
                    throws java.io.IOException
Throws:
java.io.IOException


© 2001-2006 JasperSoft Corporation www.jaspersoft.com