1 /****************************************************************************** 2 * MosaicBatch.java - Define a batch of Mosaics to be built. 3 * 4 * PicMan - The BuckoSoft Picture Manager in Java 5 * Copyright(c) 2008 - Dick Balaska 6 * 7 */ 8 package com.buckosoft.PicMan.domain; 9 10 /** Define a batch of Mosaics to be built. 11 * Basically, it looks like a Mosaic, except that the "height" is a variable string.<br> 12 * Example: 1-4,5,10,20-100/10<br> 13 * @author Dick Balaska 14 * @since 2008/09/16 15 * @see <a href="http://cvs.buckosoft.com/Projects/java/PicMan/PicMan/src/com/buckosoft/PicMan/domain/MosaicBatch.java">MosaicBatch.java</a> 16 */ 17 public class MosaicBatch extends Mosaic { 18 private int mbid; 19 private String sizes; 20 21 /** Define a Range of sizes to build 22 */ 23 class Range { 24 int start; 25 int end; 26 int skip; 27 } 28 /** 29 * @return the mbid 30 */ 31 public int getMbid() { 32 return mbid; 33 } 34 /** 35 * @param mbid the mbid to set 36 */ 37 public void setMbid(int mbid) { 38 this.mbid = mbid; 39 } 40 /** 41 * @return the sizes 42 */ 43 public String getSizes() { 44 return sizes; 45 } 46 /** 47 * @param sizes the sizes to set 48 */ 49 public void setSizes(String sizes) { 50 this.sizes = sizes; 51 } 52 53 }