alignment: resourceValue
Sets the horizontal alignment for the widget's image.
click
Programatically click the button.
disabledGraphicsDescriptor: aGraphicsDescriptorSpecifies the graphics descriptor which draws on the face of the widget when it is disabled.
disabledLabelString: aStringSpecifies the renderable object (string) which draws on the face of the widget when it is disabled.
drawPolicy: anInteger
Specifies the drawing policy used in rendering buttons. The drawing policy determines two things for a button:
graphicsDescriptor: aGraphicsDescriptorSpecifies the graphics descriptor which draws on the face of the widget.
labelString: aStringSpecifies the renderable object (string) which draws on the face of the widget.
mnemonic: aCharacterProvides the user with alternate means for selecting a button.
orientation: anIntegerSpecifies whether the image and label are displayed vertically or horizontally.
pressedGraphicsDescriptor: aGraphicsDescriptorSpecifies the graphics descriptor which draws on the face of the widget when it is pressed.
pressedLabelString: aStringSpecifies the renderable object (string) which draws on the face of the widget when it is pressed.
showAsDefault: aBooleanSpecifies whether the PushButton should be visually marked as a default button.
Clicked
These events are triggered when the button has been clicked. Buttons are clicked when the mouse is clicked and released within the button. Buttons may also be clicked via the space bar when the button has focus or via a carriage return when a button is a default button.
alignment: resourceValue
Sets the horizontal alignment for the widget's image.
checkedGraphicsDescriptor: aGraphicsDescriptorSpecifies the graphics descriptor which draws on the face of the widget when it is checked.
checkedLabelString: aStringSpecifies the renderable object (string) which draws on the face of the widget when it is checked.
click
Programatically click the button.
disabledGraphicsDescriptor: aGraphicsDescriptorSpecifies the graphics descriptor which draws on the face of the widget when it is disabled.
disabledLabelString: aStringSpecifies the renderable object (string) which draws on the face of the widget when it is disabled.
drawPolicy: anInteger
Specifies the drawing policy used in rendering buttons. The drawing policy determines two things for a button:
indicatorType: anIntegerSpecifies if the indicator is a 1-of or N-of indicator.
graphicsDescriptor: aGraphicsDescriptorSpecifies the graphics descriptor which draws on the face of the widget.
labelString: aStringSpecifies the renderable object (string) which draws on the face of the widget.
mnemonic: aCharacterProvides the user with alternate means for selecting a button.
orientation: anIntegerSpecifies whether the image and label are displayed vertically or horizontally.
pressedGraphicsDescriptor: aGraphicsDescriptorSpecifies the graphics descriptor which draws on the face of the widget when it is pressed.
pressedLabelString: aStringSpecifies the renderable object (string) which draws on the face of the widget when it is pressed.
selection: aBoolean
Displays the button in its selected state if set to true.
set
Set the receiver's state to on (true).
showAsDefault: aBooleanSpecifies whether the PushButton should be visually marked as a default button.
Copyright 2005, 2017 Instantiations, Inc. All rights reserved.