Package java.awt.peer Previous
Previous
Java API
Java API
Index
Index
Next
Next

Interface ButtonPeer

Methods

public  interface  java.awt.peer.ButtonPeer
    extends java.awt.peer.ComponentPeer  
{
        // Methods
    public abstract void setLabel(String  label);	
}

The button peer interface specifies the methods that all implementations of Abstract Window Toolkit buttons must define.


Methods


setLabel

public abstract void setLabel(String  label) 

Changes the button's label to be the String argument.

ParameterDescription
label the new label, or null for no label



© 1996 Sun Microsystems, Inc. All rights reserved.