public interface IntegerScale extends StylerItem
Modifier and Type | Interface and Description |
---|---|
static interface |
IntegerScale.Drag
Called when a dialog user moves the slider up and down the scale.
|
static interface |
IntegerScale.ValueChanged
Called when a dialog user moves the slider to a new position.
|
StylerItem.ItemType
Modifier and Type | Method and Description |
---|---|
void |
addDragHandler(IntegerScale.Drag dragevent,
boolean isDialogLaunchingEvent)
Registers drag callback.
|
void |
addValueChangedHandler(IntegerScale.ValueChanged valuechangedevent,
boolean isDialogLaunchingEvent)
Registers value change callback.
|
int |
itemValue()
Returns
License requirements: None. |
boolean |
sensitivity()
Returns the sensitivity of the dialog item.
|
void |
setItemValue(int itemVal)
Sets
License requirements: None. |
void |
setLabels(String minimumLabel,
String maximumLabel)
Specifies the text for the minimum and maximum label.
|
void |
setLimits(int minimumValue,
int maximumValue)
Specifies the scale's maximum and minimum value.
|
void |
setSensitivity(boolean type)
Sets the sensitivity of the dialog item.
|
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 addValueChangedHandler(IntegerScale.ValueChanged valuechangedevent, boolean isDialogLaunchingEvent) throws NXException, RemoteException
UIStyler.Dialog#show
or UIStyler.Dialog#registerWithUiMenu
valuechangedevent
- Value changed eventisDialogLaunchingEvent
- True if launch any dialog else FalseNXException
RemoteException
void addDragHandler(IntegerScale.Drag dragevent, boolean isDialogLaunchingEvent) throws NXException, RemoteException
UIStyler.Dialog#show
or UIStyler.Dialog#registerWithUiMenu
dragevent
- isDialogLaunchingEvent
- NXException
RemoteException
void setLimits(int minimumValue, int maximumValue) throws NXException, RemoteException
minimumValue
- to set minimummaximumValue
- to set maximumNXException
RemoteException
void setLabels(String minimumLabel, String maximumLabel) throws NXException, RemoteException
minimumLabel
- minimum limit for label maximumLabel
- maximum limit for label NXException
RemoteException
void setItemValue(int itemVal) throws NXException, RemoteException
itemVal
- NXException
RemoteException
int 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 2011 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.