Java AWT

Previous Chapter 23 Next
 

23. java.awt.peer Reference

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

ButtonPeer

Name

ButtonPeer

[Graphic: Figure from the text]

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


Previous Home  
WindowPeer Book Index  

Java in a Nutshell Java Language Reference Java AWT Java Fundamental Classes Exploring Java