public interface DialogItem extends StylerItem
Modifier and Type | Interface and Description |
---|---|
static interface |
DialogItem.Apply
Called when a dialog user clicks Apply or <Ctrl>MB2 anywhere in NX or presses the Apply's
keyboard accelerator as defined in the resource file.
|
static interface |
DialogItem.Back
Called when a dialog user clicks Back <Shift>MB2 anywhere in NX or presses Back's keyboard accelerator
as defined in the resource file.
|
static interface |
DialogItem.Cancel
Called when a dialog user clicks Cancel or <Alt>MB2 anywhere in NX or presses Cancel's keyboard accelerator
as defined in the resource file.Cancel callbacks should terminate the dialog and always return UF_UI_CB_EXIT_DIALOG.
|
static interface |
DialogItem.Construct
Called when the dialog displays.
|
static interface |
DialogItem.Destruct
Called when the dialog closes.
|
static class |
DialogItem.DialogItemIndex
Describes dialog item index
|
static interface |
DialogItem.FileOperation
Called just before a dialog user selects a file operation, such as in File?
|
static interface |
DialogItem.Okay
Called when a dialog user clicks OK or MB2 anywhere in NX or presses the OK's keyboard accelerator
as defined in the resource file.
|
static interface |
DialogItem.PageSwitch
Called when a user switches tabs.
|
StylerItem.ItemType
Modifier and Type | Method and Description |
---|---|
void |
addApplyHandler(DialogItem.Apply applyevent,
boolean isDialogLaunchingEvent)
Registers apply callback.
|
void |
addBackHandler(DialogItem.Back backevent,
boolean isDialogLaunchingEvent)
Registers back callback.
|
void |
addCancelHandler(DialogItem.Cancel cancelevent,
boolean isDialogLaunchingEvent)
Registers cancel callback.
|
void |
addConstructHandler(DialogItem.Construct constructevent,
boolean isDialogLaunchingEvent)
Registers construct callback.
|
void |
addDestructHandler(DialogItem.Destruct destructevent,
boolean isDialogLaunchingEvent)
Registers destruct callback.
|
void |
addFileOperationHandler(DialogItem.FileOperation fileoperationevent,
boolean isDialogLaunchingEvent)
Registers file operation callback.
|
void |
addOkayHandler(DialogItem.Okay okayevent,
boolean isDialogLaunchingEvent)
Registers ok callback.
|
void |
addPageSwitchHandler(DialogItem.PageSwitch switchevent,
boolean isDialogLaunchingEvent)
Registers switch callback.
|
FileOperationData |
fileOperationData()
Returns the file operation data
License requirements: None. |
SelectionHandle |
getSelectionHandle()
Gets the selection handle for a given dialog item
License requirements: None. |
void |
setNavigationSensitivity(DialogItem.DialogItemIndex subItemIndex,
boolean type)
Specifies the sensitivity of the navigation buttons at the bottom of the dialog.
|
void |
setResize(boolean type)
Specifies wether dialog is allowed to resize
License requirements: None. |
void |
setSensitivity(boolean type)
Specifies the sensitivity of the dialog.
|
void |
setTitle(String strLabel)
Specifies a string to display on the top border of the dialog
License requirements: None. |
void |
setWidth(int width)
Specifies the pixel width for the dialog.
|
getItemType, initializeAttachment, isEqualTo, setAttachment
_value, dispose, printTestData, printTestData
void addConstructHandler(DialogItem.Construct constructevent, boolean isDialogLaunchingEvent) throws NXException, RemoteException
UIStyler.Dialog#show
or UIStyler.Dialog#registerWithUiMenu
constructevent
- isDialogLaunchingEvent
- NXException
RemoteException
void addDestructHandler(DialogItem.Destruct destructevent, boolean isDialogLaunchingEvent) throws NXException, RemoteException
UIStyler.Dialog#show
or UIStyler.Dialog#registerWithUiMenu
destructevent
- isDialogLaunchingEvent
- NXException
RemoteException
void addOkayHandler(DialogItem.Okay okayevent, boolean isDialogLaunchingEvent) throws NXException, RemoteException
UIStyler.Dialog#show
or UIStyler.Dialog#registerWithUiMenu
okayevent
- isDialogLaunchingEvent
- NXException
RemoteException
void addApplyHandler(DialogItem.Apply applyevent, boolean isDialogLaunchingEvent) throws NXException, RemoteException
UIStyler.Dialog#show
or UIStyler.Dialog#registerWithUiMenu
applyevent
- isDialogLaunchingEvent
- NXException
RemoteException
void addPageSwitchHandler(DialogItem.PageSwitch switchevent, boolean isDialogLaunchingEvent) throws NXException, RemoteException
UIStyler.Dialog#show
or UIStyler.Dialog#registerWithUiMenu
switchevent
- isDialogLaunchingEvent
- NXException
RemoteException
void addBackHandler(DialogItem.Back backevent, boolean isDialogLaunchingEvent) throws NXException, RemoteException
UIStyler.Dialog#show
or UIStyler.Dialog#registerWithUiMenu
backevent
- isDialogLaunchingEvent
- NXException
RemoteException
void addCancelHandler(DialogItem.Cancel cancelevent, boolean isDialogLaunchingEvent) throws NXException, RemoteException
UIStyler.Dialog#show
or UIStyler.Dialog#registerWithUiMenu
cancelevent
- isDialogLaunchingEvent
- NXException
RemoteException
void addFileOperationHandler(DialogItem.FileOperation fileoperationevent, boolean isDialogLaunchingEvent) throws NXException, RemoteException
UIStyler.Dialog#show
or UIStyler.Dialog#registerWithUiMenu
fileoperationevent
- isDialogLaunchingEvent
- NXException
RemoteException
void setTitle(String strLabel) throws NXException, RemoteException
strLabel
- NXException
RemoteException
void setSensitivity(boolean type) throws NXException, RemoteException
type
- TRUE if sensitive, FALSE if insensitiveNXException
RemoteException
void setNavigationSensitivity(DialogItem.DialogItemIndex subItemIndex, boolean type) throws NXException, RemoteException
subItemIndex
- Sub item indextype
- TRUE if sensitive, FALSE if insensitiveNXException
RemoteException
void setResize(boolean type) throws NXException, RemoteException
type
- TRUE to allow dialog to resize; FALSE to freeze the dialog sizeNXException
RemoteException
void setWidth(int width) throws NXException, RemoteException
width
- NXException
RemoteException
SelectionHandle getSelectionHandle() throws NXException, RemoteException
NXException
RemoteException
FileOperationData fileOperationData() throws NXException, RemoteException
NXException
RemoteException
Copyright 2011 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.