public interface StringItem extends StylerItem
Modifier and Type | Interface and Description |
---|---|
static interface |
StringItem.Activate
Called when a dialog user enters a character string and presses Return.
|
StylerItem.ItemType
Modifier and Type | Method and Description |
---|---|
void |
addActivateHandler(StringItem.Activate activateevent,
boolean isDialogLaunchingEvent)
Registers activate callback.
|
boolean |
getSensitivity()
To get senstivity of string control
License requirements: None. |
String |
itemValue()
Returns the string value for this dialog item.
|
void |
setBitmap(String strBitmap)
Specifies a filename that contains a bitmap definition.
|
void |
setFocus()
Indicates that this dialog item is receiving keyboard focus
License requirements: None. |
void |
setItemValue(String itemVal)
Sets the string value for this dialog item.
|
void |
setLabel(String strLabel)
Specifies descriptive text to display for the dialog item.
|
void |
setSensitivity(boolean type)
Specifies the sensitivity of the dialog item.
|
void |
setVisibility(boolean type)
Sets the visibility of the dialog item
License requirements: None. |
boolean |
visibility()
Returns the visibility of the dialog item
License requirements: None. |
getItemType, initializeAttachment, isEqualTo, setAttachment
_value, dispose, printTestData, printTestData
void addActivateHandler(StringItem.Activate activateevent, boolean isDialogLaunchingEvent) throws NXException, RemoteException
Dialog.show()
or Dialog.registerWithUiMenu(boolean)
activateevent
- isDialogLaunchingEvent
- NXException
RemoteException
void setBitmap(String strBitmap) throws NXException, RemoteException
strBitmap
- Filename with .ubm, .xpm, or .bmp extension that contains bitmap definitionNXException
RemoteException
void setItemValue(String itemVal) throws NXException, RemoteException
itemVal
- String valueNXException
RemoteException
String itemValue() throws NXException, RemoteException
NXException
RemoteException
void setLabel(String strLabel) throws NXException, RemoteException
strLabel
- String label to display on the left side of the text fieldNXException
RemoteException
void setSensitivity(boolean type) throws NXException, RemoteException
type
- TRUE if sensitive, FALSE if insensitiveNXException
RemoteException
boolean getSensitivity() throws NXException, RemoteException
NXException
RemoteException
void setVisibility(boolean type) throws NXException, RemoteException
type
- TRUE if visible, FALSE if invisibleNXException
RemoteException
boolean visibility() throws NXException, RemoteException
NXException
RemoteException
void setFocus() throws NXException, RemoteException
NXException
RemoteException
Copyright 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.