View Javadoc
1 /* 2 * JScroll - the scrollable desktop pane for Java. 3 * Copyright (C) 2003 Tom Tessier 4 * 5 * This program is free software; you can redistribute it and/or 6 * modify it under the terms of the GNU General Public License 7 * as published by the Free Software Foundation; either version 2 8 * of the License, or (at your option) any later version. 9 * 10 * This program is distributed in the hope that it will be useful, 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 * GNU General Public License for more details. 14 * 15 * You should have received a copy of the GNU General Public License 16 * along with this program; if not, write to the Free Software 17 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 18 * 19 */ 20 21 package org.jscroll.widgets; 22 23 import java.awt.Color; 24 25 26 /*** 27 * This interface provides a set of reusable constants for use by 28 * other classes in the system. 29 * 30 * @author <a href="mailto:tessier@gabinternet.com">Tom Tessier</a> 31 * @version 1.0 29-Jul-2001 32 */ 33 public interface DesktopConstants { 34 // all variables declared here are automatically public static final 35 36 /*** maximum number of internal frames allowed */ 37 int MAX_FRAMES = 20; 38 39 /*** default x offset of first frame in cascade mode, 40 * relative to desktop */ 41 int X_OFFSET = 30; 42 43 /*** default y offset of first frame in cascade mode, 44 * relative to desktop */ 45 int Y_OFFSET = 30; 46 47 /*** minimum width of frame toolbar buttons */ 48 int MINIMUM_BUTTON_WIDTH = 30; 49 50 /*** maximum width of frame toolbar buttons */ 51 int MAXIMUM_BUTTON_WIDTH = 80; 52 53 /*** the foreground color of inactive buttons whose associated frame 54 contents have changed */ 55 Color CONTENTS_CHANGED_COLOR = Color.red; 56 }

This page was automatically generated by Maven