Class DelegatingEditActionHandlerFocusAdapter
java.lang.Object
java.awt.event.FocusAdapter
com.inductiveautomation.ignition.designer.model.DelegatingEditActionHandlerFocusAdapter
- All Implemented Interfaces:
- FocusListener,- EventListener
A 
FocusAdapter which sets the injected
 DelegatingEditActionHandler's delegate to the injected
 EditActionHandler delegate when the target gains focus. When the target
 loses focus, the
 DelegatingEditActionHandler's delegate is set to null only if its
 delegate is still set to the injected delegate and if the component that the
 target lost focus to descends from the injected parent
 Component (since focus could be on the Designer's
 edit menu bar, in this case the edit action delegation chain will not break).- 
Constructor SummaryConstructorsConstructorDescriptionDelegatingEditActionHandlerFocusAdapter(Component parent, DelegatingEditActionHandler delegator, EditActionHandler delegate) Constructor for injecting the parent, delegator, and delegate.
- 
Method Summary
- 
Constructor Details- 
DelegatingEditActionHandlerFocusAdapterpublic DelegatingEditActionHandlerFocusAdapter(Component parent, DelegatingEditActionHandler delegator, EditActionHandler delegate) throws NullPointerException Constructor for injecting the parent, delegator, and delegate.- Parameters:
- parent- The parent- Component
- delegator- The delegator
- delegate- The delegate to whom the delegator will delegate handling of edit actions
- Throws:
- NullPointerException- when parent or delegator is null
- See Also:
 
 
- 
- 
Method Details- 
focusGained- Specified by:
- focusGainedin interface- FocusListener
- Overrides:
- focusGainedin class- FocusAdapter
 
- 
focusLost- Specified by:
- focusLostin interface- FocusListener
- Overrides:
- focusLostin class- FocusAdapter
 
 
-