com.java4less.rreport
Class RRectangle

java.lang.Object
  |
  +--com.java4less.rreport.RObject
        |
        +--com.java4less.rreport.RRectangle

public class RRectangle
extends RObject

Uses the x,y,width,height fields of Robject to draw the rectangle.


Field Summary
 java.awt.Color color
          color of the frame
 boolean fill
          if true, rectangle will be solid
 java.awt.Color fillColor
          filling color of the rectangle
 RLineStyle Style
          style of the frame
 
Fields inherited from class com.java4less.rreport.RObject
ALIGN_CENTER, ALIGN_LEFT, ALIGN_RIGHT, constant, DHTMLLink, fieldName, height, name, selectable, tooltip, triggerAction, visible, width, x, y
 
Constructor Summary
RRectangle()
           
 
Method Summary
 void importLine(java.lang.String key, java.lang.String val)
          load properties from definition file.
 void print(java.awt.Graphics g, double px, double py, java.lang.Object Value)
          print object at the specified location (in pixels) using the specified value.
 
Methods inherited from class com.java4less.rreport.RObject
canHTML, convertColor, convertDoubleList, convertFont, convertList, convertToCM, convertToPixels, createFile, getActivateAction, getdefaultValue, getruntimeValue, isConstant, isVisible, setActivateAction, setConstant, setdefaultValue, setruntimeValue, setVisible, toHTML
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

Style

public RLineStyle Style
style of the frame

color

public java.awt.Color color
color of the frame

fillColor

public java.awt.Color fillColor
filling color of the rectangle

fill

public boolean fill
if true, rectangle will be solid
Constructor Detail

RRectangle

public RRectangle()
Method Detail

print

public void print(java.awt.Graphics g,
                  double px,
                  double py,
                  java.lang.Object Value)
Description copied from class: RObject
print object at the specified location (in pixels) using the specified value.
Overrides:
print in class RObject

importLine

public void importLine(java.lang.String key,
                       java.lang.String val)
load properties from definition file. Used by RReportImp.
Overrides:
importLine in class RObject