public class XBayaLabel extends Object implements XBayaComponent
| Constructor and Description |
|---|
XBayaLabel(String text,
JComponent component)
Constructs a XBayaLabel.
|
XBayaLabel(String text,
XBayaComponent component)
Constructs a XBayaLabel.
|
| Modifier and Type | Method and Description |
|---|---|
JLabel |
getJLabel() |
JLabel |
getSwingComponent()
Returns the swing component.
|
void |
setLabelFor(JComponent component) |
void |
setLabelFor(XBayaComponent component) |
void |
setText(String text) |
public XBayaLabel(String text, XBayaComponent component)
text - component - The component to be labeled for.public XBayaLabel(String text, JComponent component)
text - component - The component to be labeled for.public JLabel getSwingComponent()
XBayaComponentgetSwingComponent in interface XBayaComponentXBayaComponent.getSwingComponent()public void setText(String text)
text - public JLabel getJLabel()
public void setLabelFor(XBayaComponent component)
component - public void setLabelFor(JComponent component)
component - Copyright © 2011–2014 The Apache Software Foundation. All rights reserved.