org.softsmithy.lib.swing.icon
Class PercentageZooming
java.lang.Object
org.softsmithy.lib.swing.icon.PercentageZooming
- All Implemented Interfaces:
- ZoomingStrategy
public class PercentageZooming
- extends Object
- implements ZoomingStrategy
- Author:
- puce
TODO: Check name
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PercentageZooming
public PercentageZooming()
- Creates a new instance of PercentageZooming
PercentageZooming
public PercentageZooming(double percentage)
calculateDimension
public Dimension calculateDimension(int iconWidth,
int iconHeight,
int innerAreaWidth,
int innerAreaHeight)
- Specified by:
calculateDimension
in interface ZoomingStrategy
getPercentage
public double getPercentage()
- Getter for property percentage.
- Returns:
- Value of property percentage.
setPercentage
public void setPercentage(double percentage)
- Setter for property percentage.
- Parameters:
percentage
- New value of property percentage.
Copyright © 2002-2011 SoftSmithy. All Rights Reserved.