Subversion Repositories general

Compare Revisions

Ignore whitespace Rev 935 → Rev 936

/sun/PhotoAlbum/trunk/src/ak/photoalbum/images/ThumbnailPosition.java
0,0 → 1,89
package ak.photoalbum.images;
 
public class ThumbnailPosition
{
public static final int ALIGN_HOR_LEFT = 1;
public static final int ALIGN_HOR_RIGHT = 2;
public static final int ALIGN_HOR_CENTER = 3;
public static final int ALIGN_VERT_TOP = 1;
public static final int ALIGN_VERT_BOTTOM = 2;
public static final int ALIGN_VERT_CENTER = 3;
 
private int x;
private int y;
private int width;
private int height;
private int horAlign;
private int vertAlign;
 
public ThumbnailPosition(int x, int y, int width, int height,
int horAlign, int vertAlign)
{
this.x = x;
this.y = y;
this.width = width;
this.height = height;
this.horAlign = horAlign;
this.vertAlign = vertAlign;
}
 
public int getX()
{
return x;
}
 
public void setX(int x)
{
this.x = x;
}
 
public int getY()
{
return y;
}
 
public void setY(int y)
{
this.y = y;
}
 
public int getWidth()
{
return width;
}
 
public void setWidth(int width)
{
this.width = width;
}
 
public int getHeight()
{
return height;
}
 
public void setHeight(int height)
{
this.height = height;
}
 
public int getHorAlign()
{
return horAlign;
}
 
public void setHorAlign(int horAlign)
{
this.horAlign = horAlign;
}
 
public int getVertAlign()
{
return vertAlign;
}
 
public void setVertAlign(int vertAlign)
{
this.vertAlign = vertAlign;
}
}