[Chapter 23] java.awt.peer Reference

#

| Chapter 23 |

# 23. java.awt.peer Reference

Contents:
CanvasPeer
CheckboxMenuItemPeer
CheckboxPeer
ChoicePeer
ComponentPeer
ContainerPeer
DialogPeer
FileDialogPeer
FontPeer
FramePeer
LabelPeer
LightweightPeer
ListPeer
MenuBarPeer
MenuComponentPeer
MenuItemPeer
MenuPeer
PanelPeer
PopupMenuPeer
ScrollbarPeer
ScrollPanePeer
TextAreaPeer
TextComponentPeer
TextFieldPeer
WindowPeer

# ButtonPeer

## Name

ButtonPeer

##

## Description

`ButtonPeer` is an interface that defines the basis for buttons.

## Interface Definition

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

## Interface Methods

### setLabel

#### public abstract void setLabel (String label)

Parameters

  label

    New text for label of button's peer.

Description

  Changes the text of the label of button's peer.

## See Also

`ComponentPeer`, `String`

WindowPeer |  |  | CanvasPeer