Functions to aid development of Seesaw apps.
Functions to aid development of Seesaw apps.
(debug!)
(debug! f)
Install a custom exception handler which displays a window with event and stack trace info whenever an unhandled exception occurs in the UI thread. This is usually more friendly than the console, especially in a repl.
Calling with no args, enables default debugging. Otherwise, pass a two arg function that takes a java.awt.AWTEvent and a java.lang.Throwable. Passing nil disables debugging.
Install a custom exception handler which displays a window with event and stack trace info whenever an unhandled exception occurs in the UI thread. This is usually more friendly than the console, especially in a repl. Calling with no args, enables default debugging. Otherwise, pass a two arg function that takes a java.awt.AWTEvent and a java.lang.Throwable. Passing nil disables debugging.
(show-events v)
Given a class or instance, print information about all supported events. From there, you can look up javadocs, etc.
Examples:
(show-events javax.swing.JButton) ... lots of output ...
(show-events (button)) ... lots of output ...
Given a class or instance, print information about all supported events. From there, you can look up javadocs, etc. Examples: (show-events javax.swing.JButton) ... lots of output ... (show-events (button)) ... lots of output ...
(show-options v)
Given an object, print information about the options it supports. These are all the options you can legally pass to (seesaw.core/config) and friends.
Given an object, print information about the options it supports. These are all the options you can legally pass to (seesaw.core/config) and friends.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close