public interface LabeledBorder extends Border
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getLabel()
Returns the label for this Border.
|
void |
setFont(Font f)
Sets the Font for the label.
|
void |
setLabel(java.lang.String l)
Sets the text to be displayed as the label for this Border.
|
getInsets, getPreferredSize, isOpaque, paint
java.lang.String getLabel()
void setFont(Font f)
f
- The Font to be setvoid setLabel(java.lang.String l)
l
- The textCopyright (c) IBM Corp. and others 2000, 2011. All Rights Reserved.