com.neuron.app.tonto
Class Tonto
java.lang.Object
com.neuron.app.tonto.Tonto
- All Implemented Interfaces:
- ITaskStatus, java.util.EventListener, javax.swing.event.TreeSelectionListener
public class Tonto
- extends java.lang.Object
- implements ITaskStatus, javax.swing.event.TreeSelectionListener
A UI Tool for creating, editing, loading and saving CCF Files.
This tool also communicates with the Pronto for upload/download
of files and provides a unique crash-recovery helper that can
automatically upload a fresh CCF file to a nearly-dead Pronto.
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
main
public static void main(java.lang.String[] args)
throws java.lang.Exception
- Throws:
java.lang.Exception
irVersion
public static int irVersion()
iconMode
public static int iconMode()
nameDialog
public static com.neuron.app.tonto.Tonto.NameDialog nameDialog()
custom
public static boolean custom()
color
public static boolean color()
udb
public static boolean udb()
header
public static com.neuron.app.tonto.CCFHeader header()
ccf
public static CCF ccf()
state
public static Tonto state()
database
public static com.neuron.irdb.IRDatabase database()
device
public static CCFDevice device()
panel
public static CCFPanel panel()
panelSize
public static java.awt.Dimension panelSize()
version
public static java.lang.String version()
getTitleCanvas
public static java.awt.Component getTitleCanvas()
getExitCode
public static int getExitCode()
canScanThreaded
public static boolean canScanThreaded()
debug
public static void debug(java.lang.Throwable err)
load
public static void load(boolean nwind)
load
public static void load(java.lang.String file,
boolean nwind)
enableMenuPaste
public boolean enableMenuPaste()
valueChanged
public void valueChanged(javax.swing.event.TreeSelectionEvent e)
- Specified by:
valueChanged
in interface javax.swing.event.TreeSelectionListener
taskStatus
public void taskStatus(int type,
java.lang.String msg)
- Specified by:
taskStatus
in interface ITaskStatus
taskError
public void taskError(java.lang.Throwable t)
- Specified by:
taskError
in interface ITaskStatus
taskNotify
public void taskNotify(java.lang.Object o)
- Specified by:
taskNotify
in interface ITaskStatus
sendEvent
public static void sendEvent(int notify)