KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > java > awt > peer > LabelPeer


1 /*
2  * @(#)LabelPeer.java 1.16 03/12/19
3  *
4  * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
5  * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
6  */

7 package java.awt.peer;
8
9 import java.awt.Color JavaDoc;
10 import java.awt.Font JavaDoc;
11
12 /**
13  * The peer interfaces are intended only for use in porting
14  * the AWT. They are not intended for use by application
15  * developers, and developers should not implement peers
16  * nor invoke any of the peer methods directly on the peer
17  * instances.
18  */

19 public interface LabelPeer extends ComponentPeer {
20     void setText(String JavaDoc label);
21     void setAlignment(int alignment);
22 }
23
Popular Tags