/* 
______________________________________________________________________
*
* Copyright (c) 1996-2004 QUEST SOFTWARE INC.  All Rights Reserved.
* http://java.quest.com
*
* This software is the confidential and proprietary information of
* Quest Software Inc. ("Confidential Information").  You shall not disclose
* such Confidential Information and shall use it only in accordance with the
* terms of the license agreement you entered into with Quest Software.
*
* QUEST SOFTWARE MAKES NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY
* OF THE SOFTWARE, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
* TO THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
* PURPOSE, OR NON-INFRINGEMENT. QUEST SOFTWARE SHALL NOT BE LIABLE FOR ANY
* DAMAGES SUFFERED BY LICENSEE AS A RESULT OF USING, MODIFYING OR
* DISTRIBUTING THIS SOFTWARE OR ITS DERIVATIVES.
* ______________________________________________________________________
*/

// RCSID -- $RCSfile: SymbolPCL.java,v $ $Revision: 1.2 $ $Date: 2006-03-17 21:13:25 $ $Locker:  $  Quest Software Inc.

package com.klg.jclass.page.pcl;

import java.util.Vector;
import java.util.Enumeration;

/**
 * The set symbol sets associated with a particular PCL font
 */
public class SymbolPCL {

short symbolMap[];
Vector symbolSets = new Vector(); // vector of SymbolSetDirectoryPCL's
String latin1Set;

public SymbolSetDirectoryPCL findSymbolSetDirByName(String set_name) {
    for (Enumeration e = symbolSets.elements(); e.hasMoreElements(); ) {
        SymbolSetDirectoryPCL ssd = (SymbolSetDirectoryPCL) e.nextElement();
        if (ssd.selectionName != null && ssd.selectionName.equals(set_name)) {
            return ssd;
        }
    }
    return null;
}

}
