Sets the alignment of the label's contents along the X axis.
This is a JavaBeans bound property.
alignment | One of the following constants
defined in SwingConstants :
LEFT ,
CENTER (the default for image-only labels),
RIGHT ,
LEADING (the default for text-only labels) or
TRAILING . |
SwingConstants, getHorizontalAlignment
@beaninfo
bound: true
enum: LEFT SwingConstants.LEFT
CENTER SwingConstants.CENTER
RIGHT SwingConstants.RIGHT
LEADING SwingConstants.LEADING
TRAILING SwingConstants.TRAILING
attribute: visualUpdate true
description: The alignment of the label's content along the X axis.
Diagram: Label, Icon, ToolTip