API Overview - Seesaw


A Swing wrapper/DSL for Clojure. You want seesaw.core, FYI. See http://seesaw-clj.org for more info.



seesaw.action

by Dave Ray
Detailed API documentation
Functions for dealing with Swing Actions. Prefer (seesaw.core/action).
Public variables and functions: action


seesaw.applet

by Dave Ray
Detailed API documentation
Macros and functions that make creating an applet with Seesaw a
little less painful.
Public variables and functions: defapplet


seesaw.behave

by Dave Ray
Detailed API documentation
A collection of basic behaviors that can be dynamically added to
widgets. Most cover basic functionality that's missing from Swing
or just a pain to implement.
Public variables and functions: when-focused-select-all when-mouse-dragged


seesaw.bind

by Dave Ray
Detailed API documentation
Functions for binding the value of one thing to another, for example
synchronizing an atom with changes to a slider.
Public variables and functions: b-do b-do* b-send b-send-off b-swap! bind composite filter funnel notify notify-later notify-now notify-soon property selection some subscribe tee transform value


seesaw.border

by Dave Ray
Detailed API documentation
Functions for creating widget borders.
Public variables and functions: compound-border custom-border empty-border line-border to-border


seesaw.cells

by Dave Ray
Detailed API documentation
Functions for implementing custom cell renderers. Note that on
many core functions (listbox, tree, combobox, etc) a render function
can be given directly to the :renderer option.
Public variables and functions:


seesaw.chooser

by Dave Ray
Detailed API documentation
File chooser and other common dialogs.
Public variables and functions: choose-color choose-file file-filter


seesaw.color

by Dave Ray
Detailed API documentation
Functions for creating Swing colors. Note that these are implicit
in the core color options.
Public variables and functions: color default-color


seesaw.config

by Dave Ray
Detailed API documentation
Functions for configuring widgets. Prefer (seesaw.core/config) and friends.
Public variables and functions: Configurable config config! config!* config*


seesaw.core

by Dave Ray
Detailed API documentation
Core functions and macros for Seesaw. Although there are many more
Seesaw namespaces, usually what you want is in here. Most functions
in other namespaces have a core wrapper which adds additional
capability or makes them easier to use.
Public variables and functions: ConfigAction ConfigIcon ConfigModel ConfigText SelectionModeConfig action action-option add! alert all-frames assert-ui-thread border-panel button button-group canvas card-panel checkbox checkbox-menu-item combobox config config! construct custom-dialog dialog dispose! editor-pane flow-panel form-panel frame full-screen! full-screen-window full-screen? grid-panel group-by-id height hide! horizontal-panel id-for id-of input invoke-later invoke-now invoke-soon label left-right-split listbox listen make-widget menu menu-item menubar model-option move! native! pack! paintable password popup progress-bar radio radio-menu-item remove! repaint! replace! request-focus! return-from-dialog scroll! scrollable select select-with selection selection! separator show! show-card! slider spinner spinner-model splitter style-text! styled-text tabbed-panel table text text! timer to-root to-widget toggle toggle-full-screen! toolbar top-bottom-split tree user-data value value! vertical-panel width window with-password* with-widgets xyz-panel


seesaw.cursor

by Dave Ray
Detailed API documentation
Functions for creating Swing cursors.
Public variables and functions: cursor


seesaw.dev

by Dave Ray
Detailed API documentation
Functions to aid development of Seesaw apps.
Public variables and functions: debug! show-events show-options


seesaw.dnd

by Dave Ray
Detailed API documentation
Functions for dealing with drag and drop and data transfer.
Public variables and functions: Flavorful default-transfer-handler default-transferable everything-transfer-handler file-list-flavor html-flavor image-flavor local-object-flavor make-flavor string-flavor to-local to-raw-flavor to-remote uri-list-flavor


seesaw.dnd-explorer

Detailed API documentation

  
  
  
  Public variables and functions:
  


seesaw.event

by Dave Ray
Detailed API documentation
Functions for handling events. Do not use these functions directly.
Use (seesaw.core/listen) instead.
Public variables and functions: events-for listen listen-to-property


seesaw.font

by Dave Ray
Detailed API documentation
Functions for handling fonts. Note that most core widget functions
use these implicitly through the :font option.
Public variables and functions: default-font font font-families


seesaw.forms

Detailed API documentation

  
  
  
  Public variables and functions:
  append forms-panel group next-column next-line separator span title 


seesaw.graphics

by Dave Ray
Detailed API documentation
Basic graphics functions to simplify use of Graphics2D.
Public variables and functions: anti-alias circle draw ellipse linear-gradient polygon push radial-gradient rect rotate rounded-rect scale stroke style translate update-style


seesaw.icon

by Dave Ray
Detailed API documentation
Functions for loading and creating icons.
Public variables and functions: icon


seesaw.invoke

Detailed API documentation

  
  
  
  Public variables and functions:
  invoke-later invoke-now invoke-soon signaller signaller* 


seesaw.keymap

by Dave Ray
Detailed API documentation
Functions for mapping key strokes to actions.
Public variables and functions: map-key


seesaw.keystroke

Detailed API documentation

  
  
  
  Public variables and functions:
  keystroke 


seesaw.layout

by Dave Ray
Detailed API documentation
Functions for dealing with layouts. Prefer layout specific constructors in seesaw.core, e.g. border-panel.
Public variables and functions: realize-grid-bag-constraints


seesaw.make-widget

Detailed API documentation

  
  
  
  Public variables and functions:
  


seesaw.meta

by Dave Ray
Detailed API documentation
Functions for associating metadata with frames and widgets, etc.
Public variables and functions:


seesaw.mig

by Dave Ray
Detailed API documentation
MigLayout support for Seesaw
Public variables and functions: mig-panel


seesaw.mouse

by Dave Ray
Detailed API documentation
Functions for dealing with the mouse.
Public variables and functions: button button-down? location


seesaw.options

by Dave Ray
Detailed API documentation
Functions for dealing with options.
Public variables and functions: ignore-option ignore-options option-map resource-option


seesaw.pref

Detailed API documentation

  
  
  
  Public variables and functions:
  bind-preference-to-atom bind-preference-to-atom* preference-atom preferences-node preferences-node* 


seesaw.scroll

by Dave Ray
Detailed API documentation
Functions for dealing with scrolling. Prefer (seesaw.core/scroll!).
Public variables and functions:


seesaw.selection

Detailed API documentation

  
  
  
  Public variables and functions:
  


seesaw.selector

Detailed API documentation
Seesaw selector support, based largely upon enlive-html.
https://github.com/cgrand/enlive

There's no need to ever directly require this namespace. Use (seesaw.core/select)!
Public variables and functions: class-of! id-of id-of! select


seesaw.style

by Dave Ray
Detailed API documentation
Functions for styling apps. Prefer (seesaw.core/stylesheet) and friends.
Public variables and functions: apply-stylesheet


seesaw.swingx

by Dave Ray
Detailed API documentation
SwingX integration. Unfortunately, SwingX is hosted on java.net which means
it looks abandoned most of the time. Downloads are here
http://java.net/downloads/swingx/releases/1.6/

This is an incomplete wrapper. If something's missing that you want, just ask.
Public variables and functions: busy-label button-x color-selection-button header hyperlink label-x listbox-x table-x task-pane task-pane-container titled-panel tree-x


seesaw.table

Detailed API documentation

  
  
  
  Public variables and functions:
  clear! column-count insert-at! remove-at! row-count table-model update-at! value-at 


seesaw.timer

Detailed API documentation

  
  
  
  Public variables and functions:
  timer 


seesaw.to-widget

Detailed API documentation

  
  
  
  Public variables and functions:
  


seesaw.tree

Detailed API documentation

  
  
  
  Public variables and functions:
  fire-event* node-changed node-inserted node-removed node-structure-changed nodes-changed nodes-inserted nodes-removed simple-tree-model 


seesaw.util

Detailed API documentation

  
  
  
  Public variables and functions:
  Children camelize children collect cond-doto constant-map illegal-argument resource-key? to-mnemonic-keycode 


seesaw.value

by Dave Ray
Detailed API documentation
Functions for dealing with widget value. Prefer (seesaw.core/value).
Public variables and functions:


seesaw.widget-options

by Dave Ray
Detailed API documentation
Functions and protocol for dealing with widget options.
Public variables and functions:


seesaw.widgets.log-window

Detailed API documentation

  
  
  
  Public variables and functions:
  clear log log-window logf 


seesaw.widgets.rounded-label

by Dave Ray
Detailed API documentation
Function to create a label with a rounded border and background.
Public variables and functions: rounded-label
Logo & site design by Tom Hickey.
Clojure auto-documentation system by Tom Faulhaber.