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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onFocusChanged(IFocusComp newComp, IFocusComp oldComp, IGProp<?> trigger, boolean isRemoteInduced, boolean isInternal)
Called when focus changes.void
onFocusVetoChange(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 thesetFocus
method 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.