public interface RealItem extends StylerItem
Modifier and Type | Interface and Description |
---|---|
static interface |
RealItem.Activate
Called when a dialog user enters a valid real value and presses Return.
|
StylerItem.ItemType
Modifier and Type | Method and Description |
---|---|
void |
addActivateHandler(RealItem.Activate activateevent,
boolean isDialogLaunchingEvent)
Registers activate callback.
|
double |
itemValue()
Returns the item value
License requirements: None. |
boolean |
sensitivity()
Returns the sensitivity
License requirements: None. |
void |
setBitmap(String strBitmap)
License requirements: None. |
void |
setFocus()
Sets focus
License requirements: None. |
void |
setItemValue(double itemVal)
Sets the item value
License requirements: None. |
void |
setLabel(String strLabel)
Set the label
License requirements: None. |
void |
setSensitivity(boolean type)
Sets the sensitivity
License requirements: None. |
void |
setVisibility(boolean type)
Sets the visibility
License requirements: None. |
boolean |
visibility()
Returns the visibility
License requirements: None. |
getItemType, initializeAttachment, isEqualTo, setAttachment
_value, dispose, printTestData, printTestData
void addActivateHandler(RealItem.Activate activateevent, boolean isDialogLaunchingEvent) throws NXException, RemoteException
UIStyler.Dialog#show
or UIStyler.Dialog#registerWithUiMenu
activateevent
- Callback for activate eventisDialogLaunchingEvent
- TRUE if dialog is going to launch, FALSE if notNXException
RemoteException
void setBitmap(String strBitmap) throws NXException, RemoteException
strBitmap
- Filename with .ubm, .xpm, or .bmp extension that contains a bitmap definition NXException
RemoteException
void setLabel(String strLabel) throws NXException, RemoteException
strLabel
- Text label to display on the left side of the text field. NXException
RemoteException
void setItemValue(double itemVal) throws NXException, RemoteException
itemVal
- Real value to display in the text fieldNXException
RemoteException
double itemValue() throws NXException, RemoteException
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 visible, FALSE if invisibleNXException
RemoteException
boolean visibility() throws NXException, RemoteException
NXException
RemoteException
void setFocus() throws NXException, RemoteException
NXException
RemoteException
Copyright 2011 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.