|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.java4less.rreport.RObject | +--com.java4less.rreport.RCombo
Class for printing a string or image base on a key. see also RObject.
Field Summary | |
int |
Align
Valid values are ALIGN_LEFT, ALIGN_RIGHT and ALIGN_CENTER. |
java.awt.Color |
FontColor
color of the value |
java.awt.Font |
FontType
font of the value |
java.awt.Color |
KeyFontColor
color of the key |
java.awt.Font |
KeyFontType
font of the key |
java.lang.String[] |
Keys
key used to select the value from the "Values" array. |
java.lang.String |
lastPrintedValue
internal use. |
boolean |
printKey
If false, the key will not be printed, only the value assigned to it. |
java.lang.Object[] |
Values
values to ne painted, can contain strings, numbers and images (or RImageFile) |
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 | |
RCombo()
|
|
RCombo(java.lang.String[] pKeys,
java.lang.Object[] pValues)
The pValues parameter can be an array of strings or images. |
Method Summary | |
boolean |
canHTML()
supports HTML? |
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)
prints object at px,py using Value as runtime value |
java.lang.String |
toHTML(java.lang.Object Value)
convert value to HTML |
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 |
Field Detail |
public java.lang.Object[] Values
public java.lang.String[] Keys
public java.awt.Font FontType
public java.awt.Color FontColor
public java.awt.Font KeyFontType
public java.awt.Color KeyFontColor
public boolean printKey
public int Align
public java.lang.String lastPrintedValue
Constructor Detail |
public RCombo()
public RCombo(java.lang.String[] pKeys, java.lang.Object[] pValues)
Method Detail |
public boolean canHTML()
canHTML
in class RObject
public java.lang.String toHTML(java.lang.Object Value)
toHTML
in class RObject
public void print(java.awt.Graphics g, double px, double py, java.lang.Object Value)
print
in class RObject
public void importLine(java.lang.String key, java.lang.String val)
importLine
in class RObject
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |