blob: 76ed3a65715946fdeb2e350489e1f124a34d21ae (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
package com.artifex.mupdfdemo;
public class MuPDFAlert {
public enum IconType {Error,Warning,Question,Status};
public enum ButtonPressed {None,Ok,Cancel,No,Yes};
public enum ButtonGroupType {Ok,OkCancel,YesNo,YesNoCancel};
public final String message;
public final IconType iconType;
public final ButtonGroupType buttonGroupType;
public final String title;
public ButtonPressed buttonPressed;
MuPDFAlert(String aMessage, IconType aIconType, ButtonGroupType aButtonGroupType, String aTitle, ButtonPressed aButtonPressed) {
message = aMessage;
iconType = aIconType;
buttonGroupType = aButtonGroupType;
title = aTitle;
buttonPressed = aButtonPressed;
}
}
|