Package com.iizix.server.gyro
Interface IGyroFocusEngineOwner
- All Known Implementing Classes:
AppSessionGyro,ClientSessionGyro
public interface IGyroFocusEngineOwner
Interface to call the Gyro instance at focus change.
- Author:
- Christopher Mindus
Method Summary
Modifier and TypeMethodDescriptionvoidonFocusChanged(IFocusComp newComp, IFocusComp oldComp, IGProp<?> trigger, boolean isRemoteInduced, boolean isInternal) Called when focus changes.voidonFocusVetoChange(FocusEvent event) Called to perform veto.
Method Details
onFocusChanged
void onFocusChanged(IFocusComp newComp, IFocusComp oldComp, IGProp<?> trigger, boolean isRemoteInduced, boolean isInternal) Called when focus changes.- Parameters:
newComp- New focus component.oldComp- Old focus component.trigger- The trigger property, null for none.isRemoteInduced- If the event is remote induced.isInternal- The internal flag as specified in thesetFocusmethod to the focus engine.
onFocusVetoChange
Called to perform veto.- Parameters:
event- The focus event, InternalFocusEvent perhaps.- Throws:
FocusVetoException- When the focus is veto'ed.