|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
The Position Format interface.
| Inner Class Summary | |
static class |
PlacementFormat.EProperty
Placement format property enumeration |
| Field Summary | |
static PlacementFormat.EProperty |
eHeight
Height property |
static PlacementFormat.EProperty |
eLockAspectRatio
Lock Aspect Ratio property |
static PlacementFormat.EProperty |
eOriginalHeight
Original height property |
static PlacementFormat.EProperty |
eOriginalWidth
Original width property |
static PlacementFormat.EProperty |
eScaleHeight
Scale height property |
static PlacementFormat.EProperty |
eScaleRelativeToOriginalSize
Scale Relative To Original Size property |
static PlacementFormat.EProperty |
eScaleWidth
Scale width property |
static PlacementFormat.EProperty |
eWidth
Width property |
| Method Summary | |
double |
getHeight()
Returns the height. |
double |
getOriginalHeight()
Returns the original height. |
double |
getOriginalWidth()
Returns the original width. |
int |
getScaleHeight()
Returns the scale height. |
int |
getScaleWidth()
Returns the scale width. |
double |
getWidth()
Returns the width. |
boolean |
isLockAspectRatio()
Returns whether or not the aspect ratio is locked. |
boolean |
isScaleRelativeToOriginalSize()
Returns whether or not this is scaled relative to the original size. |
void |
setHeight(double height)
Sets the height. |
void |
setLockAspectRatio(boolean lock)
Sets whether or not the aspect ratio is locked. |
void |
setScaleHeight(int factor)
Sets the scale height. |
void |
setScaleRelativeToOriginalSize(boolean relative)
Sets whether or not this is scaled relative to the original size. |
void |
setScaleWidth(int factor)
Sets the scale width. |
void |
setWidth(double width)
Sets the width. |
| Methods inherited from interface com.f1j.util.FormatBase |
isUndefined,
isUndefined,
isUsed,
setUndefined,
undefineAll,
useAll |
| Field Detail |
public static final PlacementFormat.EProperty eHeight
public static final PlacementFormat.EProperty eWidth
public static final PlacementFormat.EProperty eScaleHeight
public static final PlacementFormat.EProperty eScaleWidth
public static final PlacementFormat.EProperty eOriginalHeight
public static final PlacementFormat.EProperty eOriginalWidth
public static final PlacementFormat.EProperty eLockAspectRatio
public static final PlacementFormat.EProperty eScaleRelativeToOriginalSize
| Method Detail |
public double getHeight()
public double getOriginalHeight()
public double getOriginalWidth()
public int getScaleHeight()
public int getScaleWidth()
public double getWidth()
public boolean isLockAspectRatio()
public boolean isScaleRelativeToOriginalSize()
public void setHeight(double height)
throws InvalidArgumentException,
F1Exception
height - The height.public void setLockAspectRatio(boolean lock)
lock - whether or not the aspect ratio is locked.public void setScaleRelativeToOriginalSize(boolean relative)
relative - whether or not this is scaled relative to the original size.
public void setScaleHeight(int factor)
throws InvalidArgumentException,
F1Exception
factor - the scale height.
public void setScaleWidth(int factor)
throws InvalidArgumentException,
F1Exception
factor - the scale width.
public void setWidth(double width)
throws InvalidArgumentException,
F1Exception
width - the width.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||