/*
 * <p>Title: AppletConstants.java</p>
 * <p>Description:	This class initializes the fields of AppletConstants.java</p>
 * Copyright: Copyright (c) year 2006
 * Company: Washington University, School of Medicine, St. Louis.
 * @version 1.1
 * Created on Sep 18, 2006
 */

package edu.wustl.catissuecore.applet;

import java.awt.Color;

/**
 * <p>
 * AppletConstants interface is used to contain constants required for applet/components like
 * Image path,font for components etc.
 * </p>
 * @author Ashwin Gupta
 * @version 1.1
 */
public interface AppletConstants
{

	/**
	 * Array grid component key used in map.
	 */
	String ARRAY_GRID_COMPONENT_KEY = "arrayGridComponentKey";

	/**
	 * selected cell color 
	 */
	Color CELL_SELECTION_COLOR = Color.blue;

	/**
	 * delimiter 
	 */
	String delimiter = "_";

	/**
	 * key prefix 
	 */
	String ARRAY_CONTENT_KEY_PREFIX = "SpecimenArrayContent:";
	/**
	 * Arrau specimen prefix
	 */
	String SPECIMEN_PREFIX = "Specimen:";

	/**
	 * Array specimen prefix
	 */
	String ARRAY_CONTENT_SPECIMEN_PREFIX = "Specimen_";

	/**
	 * Array specimen prefix
	 */
	String ARRAY_CONTENT_QUANTITY_PREFIX = "initialQuantity_value";

	/**
	 * Array specimen prefix
	 */
	String ARRAY_CONTENT_QUANTITY_ID_PREFIX = "initialQuantity_id";
	
	/**
	 * array attributes name
	 */
	String[] ARRAY_CONTENT_ATTRIBUTE_NAMES = {ARRAY_CONTENT_SPECIMEN_PREFIX + "label",ARRAY_CONTENT_SPECIMEN_PREFIX + "barcode",ARRAY_CONTENT_QUANTITY_PREFIX,"concentrationInMicrogramPerMicroliter","positionDimensionOne","positionDimensionTwo","id",ARRAY_CONTENT_QUANTITY_ID_PREFIX};
	// ,ARRAY_CONTENT_SPECIMEN_PREFIX + "id"
	
	/**
	 * Specify the ARRAY_CONTENT_ATTR_LABEL_INDEX field 
	 */
	int ARRAY_CONTENT_ATTR_LABEL_INDEX = 0;
	
	/**
	 * Specify the ARRAY_CONTENT_ATTR_BARCODE_INDEX field 
	 */
	int ARRAY_CONTENT_ATTR_BARCODE_INDEX = 1;
	
	/**
	 * Specify the ARRAY_CONTENT_ATTR_QUANTITY_INDEX field 
	 */
	int ARRAY_CONTENT_ATTR_QUANTITY_INDEX = 2;

	/**
	 * Specify the ARRAY_CONTENT_ATTR_CONC_INDEX field 
	 */
	int ARRAY_CONTENT_ATTR_CONC_INDEX = 3;

	/**
	 * Specify the ARRAY_CONTENT_ATTR_POS_DIM_ONE_INDEX field 
	 */
	int ARRAY_CONTENT_ATTR_POS_DIM_ONE_INDEX = 4;

	/**
	 * Specify the ARRAY_CONTENT_ATTR_POS_DIM_TWO_INDEX field 
	 */
	int ARRAY_CONTENT_ATTR_POS_DIM_TWO_INDEX = 5;
	
	/**
	 * Specify the ARRAY_CONTENT_ATTR_ID_INDEX field 
	 */
	int ARRAY_CONTENT_ATTR_ID_INDEX = 6;
	
	/**
	 * Specify the ARRAY_CONTENT_ATTR_QUANTITY_ID_INDEX field 
	 */
	int ARRAY_CONTENT_ATTR_QUANTITY_ID_INDEX = 7;
	
	/**
	 * Specify the SPECIMEN_ARRAY_APPLET_ACTION field 
	 */
	String SPECIMEN_ARRAY_APPLET_ACTION = "/SpecimenArrayAppletAction.do";

	/**
	 * Specimen Attributes Row Nos
	 * */
	short SPECIMEN_COLLECTION_GROUP_ROW_NO = 0;
	short SPECIMEN_PARENT_ROW_NO = 1;
	short SPECIMEN_LABEL_ROW_NO = 2;
	short SPECIMEN_BARCODE_ROW_NO = 3;
	short SPECIMEN_CLASS_ROW_NO = 4;
	short SPECIMEN_TYPE_ROW_NO = 5;
	short SPECIMEN_TISSUE_SITE_ROW_NO = 6;
	short SPECIMEN_TISSUE_SIDE_ROW_NO = 7;
	short SPECIMEN_PATHOLOGICAL_STATUS_ROW_NO = 8;
	short SPECIMEN_QUANTITY_ROW_NO = 9;
	short SPECIMEN_CONCENTRATION_ROW_NO = 10;
	short SPECIMEN_STORAGE_LOCATION_ROW_NO = 11;
	short SPECIMEN_COMMENTS_ROW_NO = 12;
	short SPECIMEN_EVENTS_ROW_NO = 13;
	short SPECIMEN_EXTERNAL_IDENTIFIERS_ROW_NO = 14;
	short SPECIMEN_BIOHAZARDS_ROW_NO = 15;
	short SPECIMEN_DERIVE_ROW_NO = 16;
	
	String  NO_OF_SPECIMENS = "NO_OF_SPECIMENS";
	// this is key to put specimen map in session.
	
	String APPLET_ACTION_PARAM_NAME = "method";
	
	//Constants for buttons
	public static final String MULTIPLE_SPECIMEN_EXTERNAL_IDENTIFIERS = "Add";
	public static final String MULTIPLE_SPECIMEN_BIOHAZARDS = "Add";
	public static final String MULTIPLE_SPECIMEN_EVENTS = "Add";
	public static final String MULTIPLE_SPECIMEN_DERIVE = "Add";
	public static final String MULTIPLE_SPECIMEN_MAP = "Map";
	public static final String MULTIPLE_SPECIMEN_COMMENTS = "Add";
	public static final String MULTIPLE_SPECIMEN_ADD_SPECIMEN = "More";
	public static final String MULTIPLE_SPECIMEN_COPY = "Copy";
	public static final String MULTIPLE_SPECIMEN_PASTE = "Paste";
	public static final String MULTIPLE_SPECIMEN_MANDATORY = "*";
	
	public static final String MULTIPLE_SPECIMEN_LOCATION_LABEL = "Containerlabel_temp";
	public static final String MULTIPLE_SPECIMEN_ROW_COLUMN_SEPARATOR="@";
}

@@ -4493,11 +4493,124 @@
 R=%22@%22;%0D%0A
+%09%0D%0A%09public static final String COPY_OPERATION = %22copy%22;%0D%0A%09public static final String PASTE_OPERATION = %22paste%22;%0D%0A
 %7D%0D%0A

copy paste constants added