hades.utils
Class MatlabAdapter
java.lang.Object
hades.utils.MatlabAdapter
- public class MatlabAdapter
- extends java.lang.Object
MatlabAdapter provides a few utility methods that allow to integrate
Hades into a Matlab environment.
Using MatlabAdapter, Hades can also be used together with Matlab 5.3
(including the Student Edition) on Windows, whose alpha-quality Java
interface requires several workarounds, e.g. to access classes without
public constructor. Correspondingly, MatlabAdapter provides methods
to access Hades (and jfig) singleton classes like SetupManager,
DesignManager, and FontCache. For example, you would load application
defaults like this:
adapter = hades.utils.MatlabAdapter;
setup = adapter.getSetupManager;
setup.loadUserProperties( 'hades.ini' );
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
setupManager
SetupManager setupManager
designManager
DesignManager designManager
attribs
FigAttribs attribs
fontCache
FontCache fontCache
colorCache
ColorCache colorCache
debug
public static boolean debug
MatlabAdapter
public MatlabAdapter()
setHadesUseAWT
public void setHadesUseAWT()
getSetupManager
public SetupManager getSetupManager()
getDesignManager
public DesignManager getDesignManager()
getColorCache
public ColorCache getColorCache()
getFontCache
public FontCache getFontCache()
setMatlabPath
public void setMatlabPath(java.lang.String s)
getMatlabPath
public java.lang.String[] getMatlabPath()
loadProperties
public void loadProperties(java.lang.String filename)
- load and merge local SetupManager properties from a file on the Matlab
path (if set).
getProperty
public java.lang.String getProperty(java.lang.String key)
setProperty
public void setProperty(java.lang.String key,
java.lang.String value)
getFalse
public boolean getFalse()
getTrue
public boolean getTrue()
currentThread
public java.lang.Thread currentThread()
sleep
public void sleep(int millis)
msg
public void msg(java.lang.String s)
main
public static void main(java.lang.String[] argv)