Packages This Package Prev Next Index
§3.1 Interface ButtonPeer
public interface java.awt.peer.ButtonPeer
extends java.awt.peer.ComponentPeer (II-§3.6)
{
// Methods
public abstract void setLabel(String label); §3.1.1
}
The button peer interface specifies the methods that all implementations of Abstract Window Toolkit buttons must define.
setLabel
public abstract void setLabel(String label)
- Changes the button's label to be the String argument.
- Parameters:
label
- the new label, or null for no label
Packages This Package Prev Next Index
Java API Document (HTML generated by dkramer on April 22, 1996)
Copyright © 1996 Sun Microsystems, Inc.
All rights reserved
Please send any comments or corrections to doug.kramer@sun.com