public interface PushButton extends StylerItem
Modifier and Type | Interface and Description |
---|---|
static interface |
PushButton.Activate
Called when a dialog user clicks on the push button or presses the spacebar when the push button has
keyboard focus.
|
StylerItem.ItemType
Modifier and Type | Method and Description |
---|---|
void |
addActivateHandler(PushButton.Activate activateevent,
boolean isDialogLaunchingEvent)
Registers activate callback.
|
boolean |
sensitivity()
Returns the senstivity of dialog.
|
void |
setBitmap(String bitmap)
Specifies a filename that contains a bitmap definition.
|
void |
setDefaultAction()
Sets default action
License requirements: None. |
void |
setFocus()
Indicates that this dialog item is receiving keyboard focus.
|
void |
setLabel(String strLabel)
Specifies descriptive text to display for the dialog item.
|
void |
setSensitivity(boolean type)
Sets the senstivity of dialog.
|
void |
setVisibility(boolean type)
Sets the visibility of dialog.
|
boolean |
visibility()
Returns the visibility of dialog.
|
getItemType, initializeAttachment, isEqualTo, setAttachment
_value, dispose, printTestData, printTestData
void addActivateHandler(PushButton.Activate activateevent, boolean isDialogLaunchingEvent) throws NXException, RemoteException
UIStyler.Dialog#show
or UIStyler.Dialog#registerWithUiMenu
activateevent
- isDialogLaunchingEvent
- NXException
RemoteException
void setBitmap(String bitmap) throws NXException, RemoteException
bitmap
- the bitmap extension NXException
RemoteException
void setLabel(String strLabel) throws NXException, RemoteException
strLabel
- the label string NXException
RemoteException
void setSensitivity(boolean type) throws NXException, RemoteException
type
- to set senstivity of dialogNXException
RemoteException
boolean sensitivity() throws NXException, RemoteException
NXException
RemoteException
void setVisibility(boolean type) throws NXException, RemoteException
type
- to set visibility of dialogNXException
RemoteException
boolean visibility() throws NXException, RemoteException
NXException
RemoteException
void setFocus() throws NXException, RemoteException
NXException
RemoteException
void setDefaultAction() throws NXException, RemoteException
NXException
RemoteException
Copyright 2011 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.