com.java4less.rreport
Class RUserComponent

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

public class RUserComponent
extends RObject

This class is used to print Swing components (JLabel, JTable ...).


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
RUserComponent()
           
 
Method Summary
 boolean canHTML()
          returns whether the class support HTML.
 void importLine(java.lang.String key, java.lang.String val)
          read and process line.
 void print(java.awt.Graphics g, double px, double py, java.lang.Object Value)
          print component
 
Methods inherited from class com.java4less.rreport.RObject
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
 

Constructor Detail

RUserComponent

public RUserComponent()
Method Detail

print

public void print(java.awt.Graphics g,
                  double px,
                  double py,
                  java.lang.Object Value)
print component
Overrides:
print in class RObject

importLine

public void importLine(java.lang.String key,
                       java.lang.String val)
Description copied from class: RObject
read and process line. To be used when reading report from *.rep files. Internal use.
Overrides:
importLine in class RObject

canHTML

public boolean canHTML()
Description copied from class: RObject
returns whether the class support HTML.
Overrides:
canHTML in class RObject