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.
@FunctionalInterface public interface IMessageBoxReply
The message box reply callback.The callback is not called when an application session is closed.
- Author:
- Christopher Mindus
Field Summary
Fields Modifier and Type Field Description static int
CLOSE
The reply for the Close icon, value = -1.static int
SESSION_CLOSED
The reply for the application or client session closed, value = -2.
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onMessageBoxReply(int index)
Callback when the user has chosen an a button or pressed the Close icon (if this option is enabled).
Field Detail
CLOSE
static final int CLOSE
The reply for the Close icon, value = -1.- See Also:
- Constant Field Values
SESSION_CLOSED
static final int SESSION_CLOSED
The 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:
- Constant Field Values
Method Detail
onMessageBoxReply
void 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
for Close icon (if this options is enabled), -2 orCLOSE
if the client session has been closed and the message box was directed to a client session.SESSION_CLOSED