Save This Page
Home » openjdk-7 » java » awt » peer » [javadoc | source]
java.awt.peer
public interface: ButtonPeer [javadoc | source]

All Implemented Interfaces:
    ComponentPeer

The peer interface for Button . The peer interfaces are intended only for use in porting the AWT. They are not intended for use by application developers, and developers should not implement peers nor invoke any of the peer methods directly on the peer instances.
Method from java.awt.peer.ButtonPeer Summary:
setLabel
Method from java.awt.peer.ButtonPeer Detail:
 public  void setLabel(String label)
    Sets the label that is displayed on the button. Can be {@code null} when the button should not display a label.