API for seesaw.dev
-
by Dave Ray
Full namespace name:
seesaw.dev
Overview
Functions to aid development of Seesaw apps.
Public Variables and Functions
debug!
function
Usage: (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.
show-events
function
Usage: (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 ...
show-options
function
Usage: (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.