Package | Description |
---|---|
buoy.widget |
Modifier and Type | Field and Description |
---|---|
static BLabel.Position |
BLabel.CENTER |
static BLabel.Position |
BLabel.EAST |
static BLabel.Position |
BLabel.NORTH |
static BLabel.Position |
BLabel.NORTHEAST |
static BLabel.Position |
BLabel.NORTHWEST |
static BLabel.Position |
BLabel.SOUTH |
static BLabel.Position |
BLabel.SOUTHEAST |
static BLabel.Position |
BLabel.SOUTHWEST |
static BLabel.Position |
BLabel.WEST |
Modifier and Type | Method and Description |
---|---|
BLabel.Position |
BLabel.getAlignment()
Get the alignment of the label's contents.
|
BLabel.Position |
BLabel.getTextPosition()
Get the position of the text relative to the image.
|
Modifier and Type | Method and Description |
---|---|
void |
BLabel.setAlignment(BLabel.Position alignment)
Set the alignment of the label's contents.
|
void |
BLabel.setTextPosition(BLabel.Position position)
Set the position of the text relative to the image.
|
Constructor and Description |
---|
BLabel(javax.swing.Icon image,
BLabel.Position align)
Create a new BLabel which displays an image.
|
BLabel(java.lang.String text,
BLabel.Position align)
Create a new BLabel which displays text.
|
BLabel(java.lang.String text,
javax.swing.Icon image,
BLabel.Position align,
BLabel.Position textPos)
Create a new BLabel which displays both text and an image.
|
Written by Peter Eastman.