public class JSApp extends Object
| Modifier and Type | Field and Description |
|---|---|
String |
platform |
static boolean |
showOutput |
String |
viewerType |
String |
viewerVariation |
int |
viewerVersion |
| Modifier and Type | Method and Description |
|---|---|
static void |
alert() |
static void |
alert(Object objA,
Object objB,
Object objC) |
static int |
alert(String cMsg)
Displays a message popup
|
static int |
alert(String cMsg,
int nIcon) |
static int |
alert(String cMsg,
int nIcon,
int nType) |
static int |
alert(String cMsg,
int nIcon,
int nType,
String title)
Display a message popup
|
static int |
alert(String cMsg,
int nIcon,
int nType,
String title,
Object oDoc) |
static int |
alert(String cMsg,
int nIcon,
int nType,
String title,
Object oDoc,
Object oCheckbox) |
static void |
beep() |
static void |
beep(int number) |
int |
getCount()
public JSApp(SwingGUI g) {
System.out.println("JSApp.JSApp(g)");
gui = g;
}
|
static String |
getString(String section,
String key) |
static void |
launchURL(String url) |
static void |
launchURL(String url,
boolean newWindow) |
static void |
mailMsg(boolean bUI,
String cTo) |
static void |
mailMsg(boolean bUI,
String cTo,
String cCc) |
static void |
mailMsg(boolean bUI,
String cTo,
String cCc,
String cBcc) |
static void |
mailMsg(boolean bUI,
String cTo,
String cCc,
String cBcc,
String cSubject) |
static void |
mailMsg(boolean bUI,
String cTo,
String cCc,
String cBcc,
String cSubject,
String cMsg)
Send an email using the default email client.
|
static void |
mailMsg(Object jSon) |
static void |
popUpMenuEx(String[] array) |
void |
resetCount() |
static String |
response(String cQuestion) |
static String |
response(String cQuestion,
String cTitle) |
static String |
response(String cQuestion,
String cTitle,
String cDefault) |
static String |
response(String cQuestion,
String cTitle,
String cDefault,
boolean bPassword) |
static String |
response(String cQuestion,
String cTitle,
String cDefault,
boolean bPassword,
String cLabel)
Displays a dialog box containing a question and an entry field for the user to reply to the question.
|
public static final boolean showOutput
public String viewerType
public String viewerVariation
public int viewerVersion
public String platform
public static void alert()
public static int alert(String cMsg, int nIcon, int nType, String title)
cMsg - The message text to displaynIcon - An icon type. Possible values: ICON_ERROR, ICON_WARNING, ICON_QUESTION, ICON_STATUSnType - A button group type. Possible values are: BUTTONTYPE_OK, BUTTONTYPE_OK_CANCEL, BUTTONTYPE_YES_NO, BUTTONTYPE_YES_NO_CANCELpublic static int alert(String cMsg, int nIcon, int nType)
public static int alert(String cMsg, int nIcon)
public static int alert(String cMsg, int nIcon, int nType, String title, Object oDoc, Object oCheckbox)
public static String response(String cQuestion, String cTitle, String cDefault, boolean bPassword, String cLabel)
cQuestion - The questioncTitle - The title of the dialog boxcDefault - The default answerbPassword - Whether this is a password box or notcLabel - A label next to the entry fieldpublic static String response(String cQuestion, String cTitle, String cDefault, boolean bPassword)
cQuestion - cTitle - cDefault - bPassword - response(String, String, String, boolean, String)public static String response(String cQuestion, String cTitle, String cDefault)
cQuestion - cTitle - cDefault - response(String, String, String, boolean, String)public static String response(String cQuestion, String cTitle)
cQuestion - cTitle - response(String, String, String, boolean, String)public static String response(String cQuestion)
cQuestion - response(String, String, String, boolean, String)public static int alert(String cMsg)
cMsg - the message text to displaypublic static void beep()
public static void beep(int number)
public static void launchURL(String url)
public static void launchURL(String url, boolean newWindow)
public static void popUpMenuEx(String[] array)
public static void mailMsg(boolean bUI,
String cTo,
String cCc,
String cBcc,
String cSubject,
String cMsg)
bUI - Whether to display the GUI or not (currently ignored)cTo - A semicolon separated list of email addresses to send tocCc - A semicolon separated list of email addresses to CC tocBcc - A semicolon separated list of email addresses to BCC tocSubject - The subject line textcMsg - The message textpublic static void mailMsg(boolean bUI,
String cTo,
String cCc,
String cBcc,
String cSubject)
public static void mailMsg(boolean bUI,
String cTo)
public static void mailMsg(Object jSon)
public int getCount()
public void resetCount()
Copyright © 2017. All rights reserved.