com.java4less.rreport
Class RCheck
java.lang.Object
|
+--com.java4less.rreport.RObject
|
+--com.java4less.rreport.RPicture
|
+--com.java4less.rreport.RCheck
- All Implemented Interfaces:
- java.awt.image.ImageObserver
- public class RCheck
- extends RPicture
- implements java.awt.image.ImageObserver
Class for printing a boolean value.
See also RObject.
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 |
Fields inherited from interface java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary |
RCheck()
uses the default images. |
RCheck(RImageFile TrueImage,
RImageFile FalseImage)
Uses the images you pass as parameters to display the value. |
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 |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
imageHTMLTrue
public java.lang.String imageHTMLTrue
- Image for TRUE false. Url used for exorting to HTML.
imageHTMLFalse
public java.lang.String imageHTMLFalse
- Image for FALSE false. Url used for exorting to HTML.
RCheck
public RCheck()
- uses the default images. If the value is false nothing is displayed, if the value is true a tick is displayed.
RCheck
public RCheck(RImageFile TrueImage,
RImageFile FalseImage)
- Uses the images you pass as parameters to display the value.
canHTML
public boolean canHTML()
- supports HTML?
- Overrides:
canHTML
in class RPicture
imageUpdate
public boolean imageUpdate(java.awt.Image I,
int infoflags,
int x,
int y,
int w,
int h)
- Description copied from class:
RPicture
- method of java.awt.image.ImageObserver interface
- Specified by:
imageUpdate
in interface java.awt.image.ImageObserver
- Overrides:
imageUpdate
in class RPicture
toHTML
public java.lang.String toHTML(java.lang.Object Value)
- convert value to HTML
- Overrides:
toHTML
in class RPicture
print
public void print(java.awt.Graphics g,
double px,
double py,
java.lang.Object Value)
- Description copied from class:
RPicture
- see RObject
- Overrides:
print
in class RPicture
setTrueImage
public void setTrueImage(RImageFile f)
setFalseImage
public void setFalseImage(RImageFile f)
getTrueImage
public RImageFile getTrueImage()
getFalseImage
public RImageFile getFalseImage()
importLine
public void importLine(java.lang.String key,
java.lang.String val)
- load properties from definition file. Used by RReportImp.
- Overrides:
importLine
in class RPicture