01: /*
02: * Copyright 2002 Sun Microsystems, Inc. All
03: * rights reserved. Use of this product is subject
04: * to license terms. Federal Acquisitions:
05: * Commercial Software -- Government Users
06: * Subject to Standard License Terms and
07: * Conditions.
08: *
09: * Sun, Sun Microsystems, the Sun logo, and Sun ONE
10: * are trademarks or registered trademarks of Sun Microsystems,
11: * Inc. in the United States and other countries.
12: */
13: package com.sun.portal.providers.containers;
14:
15: /**
16: * This class defines the window states that can possibly be returned from the
17: * <code>ContainerProvider.getWindowState(channel)</code> method.
18: *
19: * The window state informs a client of a provider object what it can expect to
20: * be returned from the ContainerProvider's getWindowState() method and what can be
21: * set through the ContainerProvider's setWindowState() method.
22: */
23:
24: public interface ProviderWindowStates {
25:
26: /**
27: * In this window state only the provider titlebar is shown
28: */
29: public final static int MINIMIZE = 1;
30:
31: /**
32: * In this window state the provider is displayed normal.
33: */
34: public final static int NORMAL = 2;
35:
36: /**
37: * In this window state the provider is displayed maximized
38: */
39: public final static int MAXIMIZE = 3;
40:
41: /**
42: * Window state not defined.
43: */
44: public final static int NOT_DEFINED = -1;
45:
46: }
|