public interface ColorTool extends StylerItem
Modifier and Type | Interface and Description |
---|---|
static interface |
ColorTool.ValueChanged
Called when a dialog user enters a valid color value.
|
StylerItem.ItemType
Modifier and Type | Method and Description |
---|---|
void |
addValueChangedHandler(ColorTool.ValueChanged valuechangedevent,
boolean isDialogLaunchingEvent)
Registers value change callback.
|
int |
itemValue()
Returns the item value
License requirements: None. |
boolean |
sensitivity()
Returns the sensitivity
License requirements: None. |
void |
setItemValue(int itemVal)
Sets the item value
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(ColorTool.ValueChanged valuechangedevent, boolean isDialogLaunchingEvent) throws NXException, RemoteException
Dialog.show()
or Dialog.registerWithUiMenu(boolean)
valuechangedevent
- Callback for value changed eventisDialogLaunchingEvent
- TRUE if dialog is going to launch, FALSE if notNXException
RemoteException
void setItemValue(int itemVal) throws NXException, RemoteException
itemVal
- Integer value to display in the text fieldNXException
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 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.