Home
Overview
Package
Class
Use
Tree
Deprecated
Hooks
HotSpot
Index
Help
SalesPoint Framework v3.0
PREV
NEXT
FRAMES
NO FRAMES
Hook: Define Action For Button In Component
Requirement
An action is to be associated with a button in the JComponent part of a FormSheet.
Method of Adaptation
Enable Feature
Level of Support
Parameter Pattern
HotSpot
FormSheets
Hooks used
Define an Action
Participants
JButton
, button ,
FormSheet
, formSheet , action ,
ActionActionListener
, listener
Changes
instance button of JButton.
instance formSheet of FormSheet.
instance action of
Define an Action
[NewAction].
instance listener of ActionActionListener with parameter formSheet and action.
call
button.addActionListener
with parameter listener.
Constraints
formSheet must be the FormSheet into whose JComponent part the button is to be inserted.
Home
Overview
Package
Class
Use
Tree
Deprecated
Hooks
HotSpot
Index
Help
SalesPoint Framework v3.0
PREV
NEXT
FRAMES
NO FRAMES