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

All Implemented Interfaces:
    ComponentPeer

The peer interface for Label . 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.LabelPeer Summary:
setAlignment,   setText
Method from java.awt.peer.LabelPeer Detail:
 public  void setAlignment(int alignment)
    Sets the alignment of the label text.
 public  void setText(String label)
    Sets the text to be displayed on the label.