Package com.iizix.server.gyro
Interface IGyroFocusEngineOwner
- All Known Implementing Classes:
AppSessionGyro,ClientSessionGyro
public interface IGyroFocusEngineOwnerInterface to call the Gyro instance at focus change.- Author:
- Christopher Mindus
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonFocusChanged(IFocusComp newComp, IFocusComp oldComp, IGProp<?> trigger, boolean isRemoteInduced, boolean isInternal)Called when focus changes.voidonFocusVetoChange(FocusEvent event)Called to perform veto.
Method Detail
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
void onFocusVetoChange(FocusEvent event) throws FocusVetoException
Called to perform veto.- Parameters:
event- The focus event, InternalFocusEvent perhaps.- Throws:
FocusVetoException- When the focus is veto'ed.