com.didkovsky.portview
Interface PVLabel
- All Superinterfaces:
- PVComponent
- All Known Implementing Classes:
- PVLabelAdapter, PVLabelAWT, PVLabelSwing
public interface PVLabel
- extends PVComponent
- Author:
- Nick Didkovsky, (c) 2004 All rights reserved, Email:
didkovn@mail.rockefeller.edu
Method Summary |
java.lang.String |
getText()
|
void |
setAlignment(int alignment)
Must be one of three constants defined in PVLabel: CENTER, LEFT, RIGHT |
void |
setFont(java.awt.Font font)
|
void |
setText(java.lang.String text)
|
void |
setVisible(boolean b)
|
Methods inherited from interface com.didkovsky.portview.PVComponent |
addKeyListener, getBackground, getBounds, getComponent, getFont, getParent, isEnabled, removeKeyListener, setBackground, setEnabled, setLocation |
CENTER
static final int CENTER
- See Also:
- Constant Field Values
LEFT
static final int LEFT
- See Also:
- Constant Field Values
RIGHT
static final int RIGHT
- See Also:
- Constant Field Values
setText
void setText(java.lang.String text)
getText
java.lang.String getText()
setAlignment
void setAlignment(int alignment)
- Must be one of three constants defined in PVLabel: CENTER, LEFT, RIGHT
setFont
void setFont(java.awt.Font font)
- Specified by:
setFont
in interface PVComponent
setVisible
void setVisible(boolean b)