at.knowcenter.wag.egov.egiz.table
Class Style.ImageScaleToFit

java.lang.Object
  extended byat.knowcenter.wag.egov.egiz.table.Style.ImageScaleToFit
Enclosing class:
Style

public static class Style.ImageScaleToFit
extends Object

Holds the width and the height an image can be scaled to fit.

Author:
wprinz

Field Summary
protected  float height
          The height.
protected  float width
          The width.
 
Constructor Summary
Style.ImageScaleToFit(float width, float height)
          Constructor.
 
Method Summary
 float getHeight()
          Returns the height.
 float getWidth()
          Returns the width.
 void setHeight(float height)
          Sets the height.
 void setWidth(float width)
          Sets the width.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

width

protected float width
The width.


height

protected float height
The height.

Constructor Detail

Style.ImageScaleToFit

public Style.ImageScaleToFit(float width,
                             float height)
Constructor.

Parameters:
width - The width.
height - The height.
Method Detail

getWidth

public float getWidth()
Returns the width.

Returns:
Returns the width.

setWidth

public void setWidth(float width)
Sets the width.

Parameters:
width - The width to set.

getHeight

public float getHeight()
Returns the height.

Returns:
Returns the height.

setHeight

public void setHeight(float height)
Sets the height.

Parameters:
height - The height to set.


Copyright © 2006-2010. All Rights Reserved.