|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.dynamicreports.report.builder.Units
public class Units
A set of methods of converting unit values to pixels.
| Constructor Summary | |
|---|---|
Units()
|
|
| Method Summary | |
|---|---|
static int |
cm(Number value)
Converts a value in centimeters to pixels. |
static int |
inch(Number value)
Converts a value in inches to pixels. |
static int |
mm(Number value)
Converts a value in milimeters to pixels. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Units()
| Method Detail |
|---|
public static int cm(Number value)
value - - the value in centimeters
public static int inch(Number value)
value - - the value in inches
public static int mm(Number value)
value - - the value in milimeters
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||