| Package | Description |
|---|---|
| com.wolfram.jlink |
This is the main J/Link package, containing the classes and interfaces that programmers will use most.
|
| com.wolfram.jlink.ui |
Includes some classes useful in programs with non-trivial user intefaces.
|
| com.wolfram.jlink.util |
A couple of special utility classes: LinkSnooper, a program that displays MathLink traffic between two programs, and MathematicaTask, an Ant task for using Mathematica in Ant build files.
|
| Modifier and Type | Method and Description |
|---|---|
static KernelLink |
MathLinkFactory.createKernelLink(MathLink ml)
Creates a KernelLink by wrapping a MathLink.
|
static KernelLink |
MathLinkFactory.createKernelLink(java.lang.String cmdLine)
Creates a KernelLink.
|
static KernelLink |
MathLinkFactory.createKernelLink(java.lang.String[] argv)
Creates a KernelLink.
|
protected KernelLink |
MathListener.getLink()
Gives the link that will be used by this MathListener for computations.
|
static KernelLink |
StdLink.getLink()
When called during a session when Java is "installed" into Mathematica (i.e., InstallJava[] has
been called in Mathematica), getLink() returns the KernelLink that points back to Mathematica.
|
static KernelLink |
StdLink.getMainLink() |
static KernelLink |
Install.getStdLink()
Deprecated.
As of J/Link 1.1, use
StdLink.getLink() instead. |
static KernelLink |
StdLink.getUILink() |
| Modifier and Type | Method and Description |
|---|---|
void |
MathCanvas.setLink(KernelLink ml)
Sets the link that will be used for computations.
|
void |
MathGraphicsJPanel.setLink(KernelLink ml)
Sets the link that will be used for computations.
|
static void |
StdLink.setLink(KernelLink ml)
Sets the link that will be returned by getLink() when the program is not in the middle
of a call from Mathematica.
|
static void |
StdLink.setUILink(KernelLink uiLink) |
| Constructor and Description |
|---|
MathActionListener(KernelLink ml)
You must use this constructor when using this class in a Java program,
because you need to specify the KernelLink that will be used.
|
MathAdjustmentListener(KernelLink ml)
You must use this constructor when using this class in a Java program,
because you need to specify the KernelLink that will be used.
|
MathCanvas(KernelLink ml)
You typically use this constructor when using this class in a Java program,
because you need to specify the KernelLink that will be used.
|
MathComponentListener(KernelLink ml)
You must use this constructor when using this class in a Java program,
because you need to specify the KernelLink that will be used.
|
MathContainerListener(KernelLink ml)
You must use this constructor when using this class in a Java program,
because you need to specify the KernelLink that will be used.
|
MathFocusListener(KernelLink ml)
You must use this constructor when using this class in a Java program,
because you need to specify the KernelLink that will be used.
|
MathGraphicsJPanel(KernelLink ml)
You typically use this constructor when using this class in a Java program,
because you need to specify the KernelLink that will be used.
|
MathItemListener(KernelLink ml)
You must use this constructor when using this class in a Java program,
because you need to specify the KernelLink that will be used.
|
MathKeyListener(KernelLink ml)
You must use this constructor when using this class in a Java program,
because you need to specify the KernelLink that will be used.
|
MathListener(KernelLink ml)
Call this version only when you know for sure what link should be used
for UI-triggered computations.
|
MathMouseListener(KernelLink ml)
You must use this constructor when using this class in a Java program,
because you need to specify the KernelLink that will be used.
|
MathMouseMotionListener(KernelLink ml)
You must use this constructor when using this class in a Java program,
because you need to specify the KernelLink that will be used.
|
MathPropertyChangeListener(KernelLink ml)
You must use this constructor when using this class in a Java program,
because you need to specify the KernelLink that will be used.
|
MathTextListener(KernelLink ml)
You must use this constructor when using this class in a Java program,
because you need to specify the KernelLink that will be used.
|
MathVetoableChangeListener(KernelLink ml)
You must use this constructor when using this class in a Java program,
because you need to specify the KernelLink that will be used.
|
MathWindowListener(KernelLink ml)
You must use this constructor when using this class in a Java program,
because you need to specify the KernelLink that will be used.
|
| Modifier and Type | Method and Description |
|---|---|
KernelLink |
MathSessionPane.getLink()
Returns the link currently being used to communicate with Mathematica.
|
| Modifier and Type | Method and Description |
|---|---|
void |
MathSessionPane.setLink(KernelLink ml)
Sets the link to use for communicating with Mathematica.
|
| Modifier and Type | Method and Description |
|---|---|
protected KernelLink |
MathematicaTask.initKernel() |
J/Link is Copyright (c) 1999-2012, Wolfram Research, Inc. All rights reserved.