java.awt.peer
Interface LabelPeer
- All Superinterfaces:
- ComponentPeer
public interface LabelPeer
- extends 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 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, updateCursorImmediately |
setText
void setText(String label)
- 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)
- 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
aicas GmbH, Karlsruhe, Germany —www.aicas.com
Copyright © 2001-2015 aicas GmbH. All Rights Reserved.