org.openswing.swing.export.java
Class ExportToRTFCallbacks14Impl
java.lang.Object
org.openswing.swing.export.java.ExportToRTFCallbacks
org.openswing.swing.export.java.ExportToRTFCallbacks14Impl
- All Implemented Interfaces:
- java.io.Serializable
- public class ExportToRTFCallbacks14Impl
- extends ExportToRTFCallbacks
- implements java.io.Serializable
Title: OpenSwing Framework
Description: This class is used when exporting data in RTF format:
it can be extended to override some methods.
Copyright: Copyright (C) 2006 Mauro Carniel
This file is part of OpenSwing Framework.
This library is free software; you can redistribute it and/or
modify it under the terms of the (LGPL) Lesser General Public
License as published by the Free Software Foundation;
GNU LESSER GENERAL PUBLIC LICENSE
Version 2.1, February 1999
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Library General Public License for more details.
You should have received a copy of the GNU Library General Public
License along with this library; if not, write to the Free
Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
The author may be contacted at:
maurocarniel@tin.it
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExportToRTFCallbacks14Impl
public ExportToRTFCallbacks14Impl()
getGenericComponentFont
public java.lang.Object getGenericComponentFont(int row,
int col,
java.lang.Object value)
- Specified by:
getGenericComponentFont
in class ExportToRTFCallbacks
- Returns:
- Font to set for the specified generic cell
getFontTitle
public java.lang.Object getFontTitle()
- Specified by:
getFontTitle
in class ExportToRTFCallbacks
- Returns:
- Font to set for the title
getHeaderFont
public java.lang.Object getHeaderFont(java.lang.String attributeName)
- Specified by:
getHeaderFont
in class ExportToRTFCallbacks
- Parameters:
attributeName
- attribute name that identify column header
- Returns:
- Font to set for the specified column header
getHeaderGrayFill
public float getHeaderGrayFill()
- Overrides:
getHeaderGrayFill
in class ExportToRTFCallbacks
- Returns:
- gray fill to use in cells of column headers
getTopRowsGrayFill
public float getTopRowsGrayFill(int row)
- Overrides:
getTopRowsGrayFill
in class ExportToRTFCallbacks
- Parameters:
row
- row index of current locked row to color
- Returns:
- gray fill to use in cells of locked rows on top of the grid
getEvenRowsGrayFill
public float getEvenRowsGrayFill()
- Overrides:
getEvenRowsGrayFill
in class ExportToRTFCallbacks
- Returns:
- gray fill to use in cells of even rows
getOddRowsGrayFill
public float getOddRowsGrayFill()
- Overrides:
getOddRowsGrayFill
in class ExportToRTFCallbacks
- Returns:
- gray fill to use in cells of odd rows
getBottomRowsGrayFill
public float getBottomRowsGrayFill(int row)
- Overrides:
getBottomRowsGrayFill
in class ExportToRTFCallbacks
- Parameters:
row
- row index of current locked row to color
- Returns:
- gray fill to use in cells of locked rows on the bottom of the grid
getRowFont
public java.lang.Object getRowFont(java.lang.String attributeName)
- Specified by:
getRowFont
in class ExportToRTFCallbacks
- Parameters:
attributeName
- attribute name that identify current column
- Returns:
- Font to set for the specified cell