Package com.iizix.gyro
Interface IMessageBoxReply
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
The message box reply callback.
The callback is not called when an application session is closed.
- Author:
- Christopher Mindus
- Field SummaryFieldsModifier and TypeFieldDescription- static final intThe reply for the Close icon, value = -1.- static final intThe reply for the application or client session closed, value = -2.
- Method SummaryModifier and TypeMethodDescription- void- onMessageBoxReply- (int index) Callback when the user has chosen an a button or pressed the Close icon (if this option is enabled).
- Field Details- CLOSEstatic final int CLOSEThe reply for the Close icon, value = -1.- See Also:
 
- SESSION_CLOSEDstatic final int SESSION_CLOSEDThe reply for the application or client session closed, value = -2. The close notification only applies to where the message box was displayed, i.e. for application session, no event will be notified when the application session is closed, but for client session, when the client session is closed.- See Also:
 
 
- Method Details- onMessageBoxReplyvoid onMessageBoxReply- (int index) Callback when the user has chosen an a button or pressed the Close icon (if this option is enabled).- Parameters:
- index- The index of the button pressed, -1 or- CLOSE- SESSION_CLOSED