|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectuk.co.silentsoftware.config.ScalingObject
public class ScalingObject
Backing object behind scaling options holding the actual dimensions used by the BufferedImage scaling method.
| Field Summary | |
|---|---|
private int |
height
The new height of the image |
private java.lang.String |
name
The name of this scaling option |
private int |
width
The new width of the image |
| Constructor Summary | |
|---|---|
ScalingObject(java.lang.String name,
int width,
int height)
Default constructor |
|
| Method Summary | |
|---|---|
int |
getHeight()
|
int |
getWidth()
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
private final java.lang.String name
private final int width
private final int height
| Constructor Detail |
|---|
public ScalingObject(java.lang.String name,
int width,
int height)
name - width - height - | Method Detail |
|---|
public int getWidth()
public int getHeight()
public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||