public interface ToolPalette extends StylerItem
Modifier and Type | Interface and Description |
---|---|
static interface |
ToolPalette.Activate
Called when a dialog user selects a button in the tool palette.
|
StylerItem.ItemType
Modifier and Type | Method and Description |
---|---|
void |
addActivateHandler(ToolPalette.Activate activateevent,
boolean isDialogLaunchingEvent)
Registers activate callback.
|
boolean |
getSensitivity()
Gets the sensitivity of the dialog item
License requirements: None. |
int |
itemValue()
Returns the currently selected choice for this dialog item.
|
void |
setDefault(int dialogId)
Indicates that this dialog item should override the accelerator
on the second mouse button, which normally accelerates to the OK button.
|
void |
setItemValue(int itemVal)
Sets the currently selected choice for this dialog item.
|
void |
setLabel(String strLabel)
Specifies descriptive text to display for the dialog item.
|
void |
setSensitivity(int subitemIndex,
boolean type)
License requirements: None. |
void |
setVisibility(boolean type)
Sets the visibility of the dialog item
License requirements: None. |
boolean |
visibility()
Returns the visibility of the dialog item
License requirements: None. |
getItemType, initializeAttachment, isEqualTo, setAttachment
_value, dispose, printTestData, printTestData
void addActivateHandler(ToolPalette.Activate activateevent, boolean isDialogLaunchingEvent) throws NXException, RemoteException
UIStyler.Dialog#show
or UIStyler.Dialog#registerWithUiMenu
activateevent
- isDialogLaunchingEvent
- NXException
RemoteException
void setLabel(String strLabel) throws NXException, RemoteException
strLabel
- String labelNXException
RemoteException
void setItemValue(int itemVal) throws NXException, RemoteException
itemVal
- Item valueNXException
RemoteException
int itemValue() throws NXException, RemoteException
NXException
RemoteException
void setSensitivity(int subitemIndex, boolean type) throws NXException, RemoteException
subitemIndex
- Sub item indextype
- True if sentivity is set otherwise FalseNXException
RemoteException
boolean getSensitivity() throws NXException, RemoteException
NXException
RemoteException
void setVisibility(boolean type) throws NXException, RemoteException
type
- NXException
RemoteException
boolean visibility() throws NXException, RemoteException
NXException
RemoteException
void setDefault(int dialogId) throws NXException, RemoteException
dialogId
- NXException
RemoteException
Copyright 2016 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.