|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface LabelPeer
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. |
Method Detail |
---|
void setText(String label)
label
- the text to be displayed on the labelLabel.setText(java.lang.String)
void setAlignment(int alignment)
alignment
- the alignment of the label textLabel.setAlignment(int)
,
Label.CENTER
,
Label.RIGHT
,
Label.LEFT
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |