|
Style Intelligence v12.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectinetsoft.report.Size
public class Size
This defines a size in inches.
| Field Summary | |
|---|---|
float |
height
Height in inches. |
float |
width
Width in inches. |
| Constructor Summary | |
|---|---|
Size()
Create a zero size. |
|
Size(Dimension d)
Create a size from a dimension object. |
|
Size(double w,
double h)
Create a Size of specified dimension. |
|
Size(float w,
float h)
Create a Size of specified dimension. |
|
Size(int w,
int h,
int res)
Create a size. |
|
Size(Size d)
Create a size from a size object. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
Dimension |
getDimension()
Get a dimension object in integers. |
Size |
rotate()
Get the size if the area is rotated (landscape mode). |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public float width
public float height
| Constructor Detail |
|---|
public Size()
public Size(float w,
float h)
w - width in inches.h - height in inches.
public Size(double w,
double h)
w - width in inches.h - height in inches.public Size(Dimension d)
public Size(Size d)
public Size(int w,
int h,
int res)
w - width in pixels.h - height in pixels.res - resolution.| Method Detail |
|---|
public Size rotate()
public Dimension getDimension()
public String toString()
toString in class Objectpublic boolean equals(Object obj)
equals in class Object
|
Copyright © 1996-2014 InetSoft Technology Corp. All Rights Reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||