|
IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.btt.rcp.xui.widgets.XUIWidget
com.ibm.btt.rcp.xui.widgets.XUISWTWidget
com.ibm.btt.rcp.xui.widgets.XUISWTFieldDataWidget
com.ibm.btt.rcp.xui.widgets.XUILabel
@Appearance(value={"bounds","text","font","alignment","background","foreground","enabled","visible","wrap","image"}) @General(value={"id","dataName"}) @Injection(value="initializers") public class XUILabel
XML UI Label Widget
Field Summary |
---|
Fields inherited from class com.ibm.btt.rcp.xui.widgets.XUISWTFieldDataWidget |
---|
initialized |
Fields inherited from class com.ibm.btt.rcp.xui.widgets.XUISWTWidget |
---|
background, focusLost, foreground |
Constructor Summary | |
---|---|
XUILabel()
|
Method Summary | |
---|---|
void |
dispose()
Dispose this widget, release resources. |
Alignment |
getAlignment()
Get alignment mode, it has three values: LEFT, CENTER, and RIGHT. |
java.lang.String |
getDataValue()
Get field data value |
protected int |
getStyle()
Get SWT widget style |
org.eclipse.swt.widgets.Label |
getWidget()
Get wrapped widget instance |
java.lang.Class<?> |
getWidgetType()
Get wrapped widget class type |
boolean |
isWrap()
When the text is up to the width of Label, if it is true, text can be auto-wrapped; If it if false, text can¡¯t be auto-wrapped. |
void |
refresh()
Refresh widget using latest data |
void |
setAlignment(Alignment alignment)
Set alignment mode, it has three values: LEFT, CENTER, and RIGHT. |
void |
setHelpId(java.lang.String helpId)
Set Help ID for looking up the help contents. |
void |
setTabIndex(int tabIndex)
Define tab focus sequence. |
void |
setWrap(boolean wrap)
When the text is up to the width of Label, if it is true, text can be auto-wrapped; If it if false, text can¡¯t be auto-wrapped. |
Methods inherited from class com.ibm.btt.rcp.xui.widgets.XUISWTFieldDataWidget |
---|
getDataName, handleXUIEvent, setDataName, setDataValue |
Methods inherited from class com.ibm.btt.rcp.xui.widgets.XUISWTWidget |
---|
addListener, cacheProperty, createWidget, focusGained, focusLost, getCachedProperties, handleRequired, initialize, installListeners, removeListener, setColors, setListeners |
Methods inherited from class com.ibm.btt.rcp.xui.widgets.XUIWidget |
---|
fireXUIEvent, getActions, getHelpId, getId, getInitializers, getParent, getTabIndex, getXUIView, setActions, setId, setInitializers, setParent, setXUIView |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XUILabel()
Method Detail |
---|
public java.lang.Class<?> getWidgetType()
IXUIWidget
public org.eclipse.swt.widgets.Label getWidget()
IXUIWidget
getWidget
in interface IXUIWidget
getWidget
in class XUISWTWidget
public Alignment getAlignment()
public void setAlignment(Alignment alignment)
alignment
- public boolean isWrap()
public void setWrap(boolean wrap)
wrap
- public void refresh()
XUISWTFieldDataWidget
refresh
in class XUISWTFieldDataWidget
public java.lang.String getDataValue()
IFieldDataHolder
getDataValue
in interface IFieldDataHolder
getDataValue
in class XUISWTFieldDataWidget
protected int getStyle()
XUISWTWidget
getStyle
in class XUISWTWidget
public void dispose()
XUIWidget
dispose
in interface IXUIWidget
dispose
in class XUISWTWidget
public void setHelpId(java.lang.String helpId)
XUIWidget
setHelpId
in class XUIWidget
public void setTabIndex(int tabIndex)
XUIWidget
setTabIndex
in class XUIWidget
|
IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |