|
Adempiere 3.5.2a | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.awt.geom.Dimension2D
org.compiere.print.layout.Dimension2DImpl
public class Dimension2DImpl
2D Dimesnion Implementation
| Field Summary | |
|---|---|
double |
height
Height |
double |
width
Width |
| Constructor Summary | |
|---|---|
Dimension2DImpl()
Constructor 0/0 |
|
Dimension2DImpl(Dimension dim)
Constructor 0/0 |
|
Dimension2DImpl(double Width,
double Height)
Constructor 0/0 |
|
| Method Summary | |
|---|---|
void |
addBelow(Dimension dim)
Add Size below existing |
void |
addBelow(double dWidth,
double dHeight)
Add Size below existing |
boolean |
equals(Object obj)
Equals |
double |
getHeight()
Get Height |
double |
getWidth()
Get Width |
int |
hashCode()
Hash Code |
void |
roundUp()
Round to next Int value |
void |
setSize(Dimension dim)
Set Size |
void |
setSize(double Width,
double Height)
Set Size |
String |
toString()
String Representation |
| Methods inherited from class java.awt.geom.Dimension2D |
|---|
clone, setSize |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public double width
public double height
| Constructor Detail |
|---|
public Dimension2DImpl()
public Dimension2DImpl(Dimension dim)
dim - dimension
public Dimension2DImpl(double Width,
double Height)
Width - widthHeight - height| Method Detail |
|---|
public void setSize(double Width,
double Height)
setSize in class Dimension2DWidth - widthHeight - heightpublic void setSize(Dimension dim)
dim - dimension
public void addBelow(double dWidth,
double dHeight)
dWidth - width to increase if belowdHeight - height to addpublic void addBelow(Dimension dim)
dim - add dimensionpublic void roundUp()
public double getWidth()
getWidth in class Dimension2Dpublic double getHeight()
getHeight in class Dimension2Dpublic int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Objectobj - object
public String toString()
toString in class Object
|
Adempiere 3.5.2a | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||