xref: /titanic_41/usr/src/cmd/print/printmgr/com/sun/admin/pm/client/Constants.java (revision 62d717f5277d7b19b63db2d800310f877b57c197)
1 /*
2  * CDDL HEADER START
3  *
4  * The contents of this file are subject to the terms of the
5  * Common Development and Distribution License (the "License").
6  * You may not use this file except in compliance with the License.
7  *
8  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9  * or http://www.opensolaris.org/os/licensing.
10  * See the License for the specific language governing permissions
11  * and limitations under the License.
12  *
13  * When distributing Covered Code, include this CDDL HEADER in each
14  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15  * If applicable, add the following below this CDDL HEADER, with the
16  * fields enclosed by brackets "[]" replaced with your own identifying
17  * information: Portions Copyright [yyyy] [name of copyright owner]
18  *
19  * CDDL HEADER END
20  */
21 /*
22  *
23  * ident	"%Z%%M%	%I%	%E% SMI"
24  *
25  * Copyright 2004 Sun Microsystems, Inc.  All rights reserved.
26  * Use is subject to license terms.
27  *
28  * Comment which describes the contents of this file.
29  *
30  * Constants.java
31  * Common constants for Printer Manager
32  */
33 
34 package com.sun.admin.pm.client;
35 
36 /*
37  * pmConstants.java
38  * 	defines constants used with print manager
39  */
40 
41 public interface Constants
42 {
43 	// Buttons
44 	int OK = 1;
45 	int APPLY = 2;
46 	int RESET = 3;
47 	int CANCEL = 4;
48 	int HELP = 5;
49 
50 	// Buttons for user access list
51 	int ADD = 6;
52 	int DELETE = 7;
53 
54 	// Printer type to add/modify
55 	int ADDLOCAL = 1;
56 	int ADDNETWORK = 2;
57 	int MODIFYATTACHED = 3;
58 	int MODIFYREMOTE = 4;
59 	int MODIFYNETWORK = 5;
60 
61 	// Printer connection types
62 	int ATTACHED = 1;
63 	int NETWORK = 2;
64 
65 	// Useful Constants
66 	int MAXPNAMELEN = 20;
67 
68 	// Combo Listener
69 	int PORT = 1;
70 	int TYPE = 2;
71 	int MAKE = 3;
72 	int MODEL  = 4;
73 	int PPD  = 5;
74 
75 }
76