public interface ButtonLayout extends StylerItem
Modifier and Type | Interface and Description |
---|---|
static interface |
ButtonLayout.Activate
Called when a dialog user clicks on a push button or presses the spacebar when a push
button has keyboard focus.
|
StylerItem.ItemType
Modifier and Type | Method and Description |
---|---|
void |
addActivateHandler(ButtonLayout.Activate activateevent,
boolean isDialogLaunchingEvent)
Registers activate callback.
|
int |
getSelectedIndexValue()
Gets selected index
License requirements: None. |
boolean |
getSensitivity()
Gets the sensitivity
License requirements: None. |
void |
setDefaultAction()
Sets default action
License requirements: None. |
void |
setSensitivity(int subitemIndex,
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 addActivateHandler(ButtonLayout.Activate activateevent, boolean isDialogLaunchingEvent) throws NXException, RemoteException
UIStyler.Dialog#show
or UIStyler.Dialog#registerWithUiMenu
activateevent
- Callback for activate eventisDialogLaunchingEvent
- TRUE if dialog is going to launch, FALSE if notNXException
RemoteException
void setSensitivity(int subitemIndex, boolean type) throws NXException, RemoteException
subitemIndex
- If the entire dialog item should change to the new sensitivity state,
set this field to UF_STYLER_NO_SUB_INDEX. If only one subitem should change to the new sensitivity
state, set this field to its zero-based index.type
- TRUE if sensitive, FALSE if insensitiveNXException
RemoteException
boolean getSensitivity() 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
int getSelectedIndexValue() throws NXException, RemoteException
NXException
RemoteException
void setDefaultAction() throws NXException, RemoteException
NXException
RemoteException
Copyright 2011 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.