| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sibvisions.rad.ui.awt.impl.AwtResource<C>
com.sibvisions.rad.ui.awt.impl.AwtComponent<C>
com.sibvisions.rad.ui.awt.impl.AwtContainer<C>
com.sibvisions.rad.ui.swing.impl.SwingComponent<javax.swing.JLabel>
com.sibvisions.rad.ui.swing.impl.component.SwingLabel
public class SwingLabel
The SwingLabel is the ILabel
 implementation for swing. It displays an area for a short text 
 string.
 A SwingLabel does not react to input events. As a 
 result, it cannot get the keyboard focus.
JLabel, 
ILabel| Field Summary | 
|---|
| Fields inherited from class com.sibvisions.rad.ui.awt.impl.AwtComponent | 
|---|
bComponentListener, bFocusListener, bKeyListener, bMouseListener, eventComponentMoved, eventComponentResized, eventKeyPressed, eventKeyReleased, eventKeyTyped, eventMouseClicked, eventMouseEntered, eventMouseExited, eventMousePressed, eventMouseReleased, eventSource, factory, parent | 
| Fields inherited from class com.sibvisions.rad.ui.awt.impl.AwtResource | 
|---|
resource | 
| Fields inherited from interface javax.rad.ui.IAlignmentConstants | 
|---|
ALIGN_BOTTOM, ALIGN_CENTER, ALIGN_DEFAULT, ALIGN_LEFT, ALIGN_RIGHT, ALIGN_STRETCH, ALIGN_TOP | 
| Constructor Summary | |
|---|---|
SwingLabel()
Creates a new instance of SwingLabel. | 
|
| Method Summary | |
|---|---|
 java.lang.String | 
getText()
Returns the text string that the label displays.  | 
 void | 
setHorizontalAlignment(int pHorizontalAlignment)
Sets the horizontal alignment.  | 
 void | 
setText(java.lang.String pText)
Defines the single line of text this component will display.  | 
 void | 
setVerticalAlignment(int pVerticalAlignment)
Sets the vertical alignment.  | 
| Methods inherited from class com.sibvisions.rad.ui.swing.impl.SwingComponent | 
|---|
capture, getToolTipText, setBackground, setTabIndex, setToolTipText | 
| Methods inherited from class com.sibvisions.rad.ui.awt.impl.AwtContainer | 
|---|
add, add, add, add, addIntern, checkAdd, getComponent, getComponentCount, getLayout, indexOf, remove, remove, removeAll, removeIntern, setLayout, setLayoutIntern | 
| Methods inherited from class com.sibvisions.rad.ui.awt.impl.AwtResource | 
|---|
getResource, toString | 
| Methods inherited from class java.lang.Object | 
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait | 
| Methods inherited from interface javax.rad.ui.IResource | 
|---|
getResource | 
| Methods inherited from interface javax.rad.ui.IAlignmentConstants | 
|---|
getHorizontalAlignment, getVerticalAlignment | 
| Constructor Detail | 
|---|
public SwingLabel()
SwingLabel.
| Method Detail | 
|---|
public void setHorizontalAlignment(int pHorizontalAlignment)
setHorizontalAlignment in interface IAlignmentConstantssetHorizontalAlignment in class AwtComponent<javax.swing.JLabel>pHorizontalAlignment - the new vertical alignmentpublic void setVerticalAlignment(int pVerticalAlignment)
setVerticalAlignment in interface IAlignmentConstantssetVerticalAlignment in class AwtComponent<javax.swing.JLabel>pVerticalAlignment - the new vertical alignmentpublic java.lang.String getText()
getText in interface ILabelILabel.setText(java.lang.String)public void setText(java.lang.String pText)
setText in interface ILabelpText - the text
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||