/* Copyright 2012 Yaqiang Wang,
 * yaqiang.wang@gmail.com
 * 
 * This library is free software; you can redistribute it and/or modify it
 * under the terms of the GNU Lesser General Public License as published by
 * the Free Software Foundation; either version 2.1 of the License, or (at
 * your option) any later version.
 * 
 * This library is distributed in the hope that it will be useful, but
 * WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser
 * General Public License for more details.
 */
package org.meteoinfo.geometry.legend;

/**
 *
 * @author yaqiang
 */
public class Constants {
    //Item
        public static int ITEM_HEIGHT = 15;
        public static int ITEM_PAD = 2;
        public static int ITEM_RIGHT_PAD = 10;
        public static int ITEM_LEFT_PAD = 15;
        //Map frame
        public static int MAPFRAME_LEFT_PAD = 5;
        //  TEXT
        public static int TEXT_HEIGHT = 14;
        public static int TEXT_TOP_PAD = 3;
        public static int TEXT_LEFT_PAD = 6;
        public static int TEXT_RIGHT_PAD = 25;
        public static int TEXT_RIGHT_PAD_NO_ICON = 8;
        //  CHECK BOX
        public static int CHECK_TOP_PAD = 2;
        public static int CHECK_LEFT_PAD = 4;
        public static int CHECK_BOX_SIZE = 10;
        //  EXPANSION BOX
        public static int EXPAND_BOX_TOP_PAD = 4;
        public static int EXPAND_BOX_LEFT_PAD = 3;
        public static int EXPAND_BOX_SIZE = 8;
        //  GROUP
        public static int GRP_INDENT = 3;
        //	LIST ITEMS
        public static int LIST_ITEM_INDENT = 18;
        public static int ICON_RIGHT_PAD = 25;
        public static int ICON_TOP_PAD = 3;
        public static int ICON_SIZE = 13;
        //	CONNECTION LINES FROM GROUPS TO SUB ITEMS
        public static int VERT_LINE_INDENT = (GRP_INDENT + 7);
        public static int VERT_LINE_GRP_TOP_OFFSET = 14;
        //	COLOR SCHEME CONSTANTS
        public static int CS_ITEM_HEIGHT = 14;
        public static int CS_TOP_PAD = 1;
        public static int CS_PATCH_WIDTH = 15;
        public static int CS_PATCH_HEIGHT = 12;
        public static int CS_PATCH_LEFT_INDENT = (CHECK_LEFT_PAD);
        public static int CS_TEXT_LEFT_INDENT = (CS_PATCH_LEFT_INDENT + CS_PATCH_WIDTH + 3);
        public static int CS_TEXT_TOP_PAD = 3;
        //	SCROLLBAR
        public static int SCROLL_WIDTH = 15; 
}
