net.windward.bean
Class BeanResult

java.lang.Object
  |
  +--net.windward.bean.BeanResult

public class BeanResult
extends java.lang.Object

This is returned by a BeanResult method. It provides for formatting the returned string. A null value means ignore that variable;

Version:
3.0 June 18, 2004

Field Summary
 java.lang.Boolean bold
          Set if the returned value is to be bold or not.
 java.awt.Color fontColor
          Set the color of the returned value.
 java.lang.String fontName
          The name of the font to use.
 java.lang.Float fontSize
          Set the font size in points of the returned value.
 java.lang.Boolean italic
          Set if the returned value is to be italic or not.
 boolean resetBack
          Set true if the character formatting is to be returned to it's previous value after writing value.
 java.lang.Boolean underline
          Set if the returned value is to be underlined or not.
 java.lang.String value
          The value to write to the report.
 
Constructor Summary
BeanResult(java.lang.String value)
          Creates a default action result.
 
Method Summary
 void setColor(java.awt.Color color)
          Set the font color.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

value

public java.lang.String value
The value to write to the report.

bold

public java.lang.Boolean bold
Set if the returned value is to be bold or not.

italic

public java.lang.Boolean italic
Set if the returned value is to be italic or not.

underline

public java.lang.Boolean underline
Set if the returned value is to be underlined or not.

fontColor

public java.awt.Color fontColor
Set the color of the returned value. This is a packed integer where red is bits 16-23, green is bits 8-15, and blue is bits 0-7.

fontSize

public java.lang.Float fontSize
Set the font size in points of the returned value. This is only accurate to the nearest 0.5pt.

fontName

public java.lang.String fontName
The name of the font to use. null if the font should not be changed. You can only use fonts that are used elsewhere in the template (so that Word has it in the document's font table).

resetBack

public boolean resetBack
Set true if the character formatting is to be returned to it's previous value after writing value.
Constructor Detail

BeanResult

public BeanResult(java.lang.String value)
Creates a default action result.
Parameters:
value - The string to write out.
Method Detail

setColor

public void setColor(java.awt.Color color)
Set the font color.
Parameters:
color - - the new color to start at this point.


Copyright © 2002 - 2008 Windward Reports - All Rights Reserved. java reporting software