java.awt.peer
Interface LabelPeer

All Superinterfaces:
ComponentPeer

public interface LabelPeer
extends ComponentPeer

Disabled: no SafeJ information.

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.


Field Summary
 
Fields inherited from interface java.awt.peer.ComponentPeer
DEFAULT_OPERATION, NO_EMBEDDED_CHECK, RESET_OPERATION, SET_BOUNDS, SET_CLIENT_SIZE, SET_LOCATION, SET_SIZE
 
Method Summary
 void setAlignment(int alignment)
          Sets the alignment of the label text.
 void setText(String label)
          Sets the text to be displayed on the label.
 
Methods inherited from interface java.awt.peer.ComponentPeer
applyShape, canDetermineObscurity, checkImage, coalescePaintEvent, createBuffers, createImage, createImage, createVolatileImage, destroyBuffers, dispose, flip, getBackBuffer, getColorModel, getFontMetrics, getGraphics, getGraphicsConfiguration, getLocationOnScreen, getMinimumSize, getPreferredSize, getToolkit, handleEvent, handlesWheelScrolling, isFocusable, isObscured, isReparentSupported, layout, paint, prepareImage, print, reparent, requestFocus, setBackground, setBounds, setEnabled, setFont, setForeground, setVisible, setZOrder, updateCursorImmediately, updateGraphicsData
 

Method Detail

setText

void setText(String label)
Class is disabled.

Sets the text to be displayed on the label.

Parameters:
label - the text to be displayed on the label
See Also:
Label.setText(java.lang.String)

setAlignment

void setAlignment(int alignment)
Class is disabled.

Sets the alignment of the label text.

Parameters:
alignment - the alignment of the label text
See Also:
Label.setAlignment(int), Label.CENTER, Label.RIGHT, Label.LEFT