public interface RealScale extends StylerItem
Modifier and Type | Interface and Description |
---|---|
static interface |
RealScale.Drag
Called when a dialog user moves the slider to a new position.
|
static interface |
RealScale.ValueChanged |
StylerItem.ItemType
Modifier and Type | Method and Description |
---|---|
void |
addDragHandler(RealScale.Drag dragevent,
boolean isDialogLaunchingEvent)
Registers dtag callback.
|
void |
addValueChangedHandler(RealScale.ValueChanged valuechangedevent,
boolean isDialogLaunchingEvent)
Called when a dialog user moves the slider up and down the scale.
|
double |
itemValue()
Returns the item value
License requirements: None. |
boolean |
sensitivity()
Returns the sensitivity
License requirements: None. |
void |
setDecimalPrecision(int digits)
Sets decimal precision
License requirements: None. |
void |
setItemValue(double itemVal)
Sets the item value
License requirements: None. |
void |
setLabels(String minimumLabel,
String maximumLabel)
Sets labels
License requirements: None. |
void |
setLimits(double minimumValue,
double maximumValue)
Sets limits
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 addValueChangedHandler(RealScale.ValueChanged valuechangedevent, boolean isDialogLaunchingEvent) throws NXException, RemoteException
valuechangedevent
- Callback for value changed eventisDialogLaunchingEvent
- TRUE if dialog is going to launch, FALSE if notNXException
RemoteException
void addDragHandler(RealScale.Drag dragevent, boolean isDialogLaunchingEvent) throws NXException, RemoteException
UIStyler.Dialog#show
or UIStyler.Dialog#registerWithUiMenu
dragevent
- Callback for add drag eventisDialogLaunchingEvent
- TRUE if dialog is going to launch, FALSE if notNXException
RemoteException
void setLimits(double minimumValue, double maximumValue) throws NXException, RemoteException
minimumValue
- Real minimum valuemaximumValue
- Real maximum valueNXException
RemoteException
void setLabels(String minimumLabel, String maximumLabel) throws NXException, RemoteException
minimumLabel
- String minimum labelmaximumLabel
- String maximum labelNXException
RemoteException
void setDecimalPrecision(int digits) throws NXException, RemoteException
digits
- The number significant digitsNXException
RemoteException
void setItemValue(double itemVal) throws NXException, RemoteException
itemVal
- New real value for the slider. It must be within the min/max rangeNXException
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
Copyright 2016 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.