KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sun > java > swing > plaf > windows > WindowsMenuItemUIAccessor


1 /*
2  * @(#)WindowsMenuItemUIAccessor.java 1.1 06/12/14
3  *
4  * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
5  * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
6  */

7
8 package com.sun.java.swing.plaf.windows;
9
10 import java.awt.Color JavaDoc;
11 import java.awt.Graphics JavaDoc;
12
13 import javax.swing.JMenuItem JavaDoc;
14
15 import com.sun.java.swing.plaf.windows.TMSchema.Part;
16 import com.sun.java.swing.plaf.windows.TMSchema.State;
17
18 /**
19  * Accessor interface for WindowsMenuItemUI to allow for "multiple implementation
20  * inheritance".
21  *
22  * @version 1.1 12/14/06
23  * @author Igor Kushnirskiy
24  */

25 interface WindowsMenuItemUIAccessor {
26     JMenuItem JavaDoc getMenuItem();
27     State getState(JMenuItem JavaDoc menuItem);
28     Part getPart(JMenuItem JavaDoc menuItem);
29 }
30
Popular Tags