public interface IntegerItem extends StylerItem
Modifier and Type | Interface and Description |
---|---|
static interface |
IntegerItem.Activate
Called when a dialog user enters a valid integer value and presses Return
|
StylerItem.ItemType
Modifier and Type | Method and Description |
---|---|
void |
addActivateHandler(IntegerItem.Activate activateevent,
boolean isDialogLaunchingEvent)
Registers activate callback.
|
int |
itemValue()
Returns the value obtained from the text field.
|
boolean |
sensitivity()
Returns the sensitivity of Integer item
License requirements: None. |
void |
setBitmap(String bitmap)
Specifies a filename that contains a bitmap definition.
|
void |
setFocus()
Sets focus
License requirements: None. |
void |
setItemValue(int itemVal)
Sets the value obtained from the text field.
|
void |
setLabel(String strLabel)
Specifies descriptive text to display for the dialog item.
|
void |
setSensitivity(boolean type)
Sets the sensitivity of Integer item
License requirements: None. |
void |
setVisibility(boolean type)
Sets the visibility of the dialog item.
|
boolean |
visibility()
Returns the visibility of the dialog item.
|
getItemType, initializeAttachment, isEqualTo, setAttachment
_value, dispose, printTestData, printTestData
void addActivateHandler(IntegerItem.Activate activateevent, boolean isDialogLaunchingEvent) throws NXException, RemoteException
Dialog.show()
or Dialog.registerWithUiMenu(boolean)
activateevent
- isDialogLaunchingEvent
- NXException
RemoteException
void setItemValue(int itemVal) throws NXException, RemoteException
itemVal
- NXException
RemoteException
int itemValue() throws NXException, RemoteException
NXException
RemoteException
void setBitmap(String bitmap) throws NXException, RemoteException
bitmap
- Filename with .ubm, .xpm, or .bmp extension that contains bitmap definitionNXException
RemoteException
void setLabel(String strLabel) throws NXException, RemoteException
strLabel
- String to display on the left side of the text field.NXException
RemoteException
void setSensitivity(boolean type) throws NXException, RemoteException
type
- TRUE if sensitive, FALSE if insensitiveNXException
RemoteException
boolean sensitivity() throws NXException, RemoteException
NXException
RemoteException
void setVisibility(boolean type) throws NXException, RemoteException
type
- TRUE if the dialog item is sensitive; FALSE if insensitiveNXException
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.