0,0 → 1,116 |
package ak.photoalbum.config; |
|
import java.util.List; |
import java.util.ArrayList; |
import org.apache.log4j.Logger; |
|
public class ConfigDirThumbnail |
{ |
private static final Logger logger = Logger.getLogger(ConfigDirThumbnail.class); |
|
private int left; |
private int top; |
private int width; |
private int height; |
private String align; |
private String valign; |
|
public ConfigDirThumbnail() |
{ |
} |
|
public int getLeft() |
{ |
return left; |
} |
|
public void setLeft(int left) |
{ |
logger.info("set left " + left); |
this.left = left; |
} |
|
public void setLeft(String left) |
throws NumberFormatException |
{ |
logger.info("set left (str) " + left); |
this.left = Integer.parseInt(left); |
} |
|
public int getTop() |
{ |
return top; |
} |
|
public void setTop(int top) |
{ |
logger.info("set top " + top); |
this.top = top; |
} |
|
public void setTop(String top) |
throws NumberFormatException |
{ |
logger.info("set top (str) " + top); |
this.top = Integer.parseInt(top); |
} |
|
public int getWidth() |
{ |
return width; |
} |
|
public void setWidth(int width) |
{ |
logger.info("set width " + width); |
this.width = width; |
} |
|
public void setWidth(String width) |
throws NumberFormatException |
{ |
logger.info("set width (str) " + width); |
this.width = Integer.parseInt(width); |
} |
|
public int getHeight() |
{ |
return height; |
} |
|
public void setHeight(int height) |
{ |
logger.info("set height " + height); |
this.height = height; |
} |
|
public void setHeight(String height) |
throws NumberFormatException |
{ |
logger.info("set height (str) " + height); |
this.height = Integer.parseInt(height); |
} |
|
public String getAlign() |
{ |
return align; |
} |
|
public void setAlign(String align) |
{ |
logger.info("set align " + align); |
this.align = align; |
} |
|
public String getValign() |
{ |
return valign; |
} |
|
public void setValign(String valign) |
{ |
logger.info("set valign " + valign); |
this.valign = valign; |
} |
} |
|