Liking cljdoc? Tell your friends :D

org.soulspace.clj.java.swing.swinglib


actionclj

(action f)
(action f args)

Creates an action.

Creates an action.
raw docstring

add-key-bindingclj

(add-key-binding c binding-name stroke action)
(add-key-binding c focus-key binding-name stroke action)

Adds a key binding for an action to the input map of the component.

Adds a key binding for an action to the input map of the component.
raw docstring

allows-invalid?clj

(allows-invalid? c)

Checks whether the value being edited is allowed to be invalid for a length of time.

Checks whether the value being edited is allowed to be invalid for a length of time.
raw docstring

buttonclj

(button)
(button args)

Creates a button.

Creates a button.
raw docstring

button-groupclj

(button-group args items)

Creates a button group.

Creates a button group.
raw docstring

canvas-panelclj

(canvas-panel paint-fn args items)

Creates a panel into which the paint function can paint using the provided graphics context.

Creates a panel into which the paint function can paint using the provided graphics context.
raw docstring

card-layoutclj

(card-layout args items)

Creates a card layout.

Creates a card layout.
raw docstring

check-boxclj

(check-box)
(check-box args)

Creates a check box.

Creates a check box.
raw docstring

checkbox-menu-itemclj

(checkbox-menu-item)
(checkbox-menu-item args)

Creates a check box menu item.

Creates a check box menu item.
raw docstring

color-choose-dialogclj

(color-choose-dialog c title color)

Creates a color choose dialog.

Creates a color choose dialog.
raw docstring

combo-boxclj

(combo-box args items)

Creates a combo box.

Creates a combo box.
raw docstring

commit-editclj

(commit-edit c)

Sets the value to the object represented by the field's text, as determined by the field's formatter. If the text is invalid, the value remains the same and a ParseException is thrown.

Sets the value to the object represented by the field's text, as determined by the field's formatter.
If the text is invalid, the value remains the same and a ParseException is thrown.
raw docstring

confirm-dialogclj

(confirm-dialog text title options)
(confirm-dialog text title options type)
(confirm-dialog text title options type icon)

Creates a confirm dialog.

Creates a confirm dialog.
raw docstring

dialogclj

(dialog args cp-items)
(dialog frame args cp-items)

Creates a dialog. If a frame is provided, the dialog is centered on the frame.

Creates a dialog. If a frame is provided, the dialog is centered on the frame.
raw docstring

edit-valid?clj

(edit-valid? c)

Returns true if the formatter considers the current text to be valid, as determined by the field's formatter.

Returns true if the formatter considers the current text to be valid, as determined by the field's formatter.
raw docstring

editable?clj

(editable? c)

Checks whether the user can edit text component.

Checks whether the user can edit text component.
raw docstring

editor-paneclj

(editor-pane)
(editor-pane args)

Creates a editor pane.

Creates a editor pane.
raw docstring

file-open-dialogclj

(file-open-dialog filename)

Returns the filename to open or nil if the dialog was aborted.

Returns the filename to open or nil if the dialog was aborted.
raw docstring

file-save-dialogclj

(file-save-dialog filename)

Returns the filename to save or nil if the dialog was aborted.

Returns the filename to save or nil if the dialog was aborted.
raw docstring

first-cardclj

(first-card cl container)

Shows the first card on the container.

Shows the first card on the container.
raw docstring

formatted-text-fieldclj

(formatted-text-field fmt)
(formatted-text-field fmt args)

Creates a text field.

Creates a text field.
raw docstring

formatted-text-field-verifierclj

(formatted-text-field-verifier)

Creates an input verifier for a formatted text field.

Creates an input verifier for a formatted text field.
raw docstring

frameclj

(frame args cp-items)

Creates a frame.

Creates a frame.
raw docstring

get-input-mapclj

(get-input-map c)
(get-input-map c k)

Returns the input map of the component.

Returns the input map of the component.
raw docstring

get-integerclj

(get-integer field)

Returns the field value as an integer.

Returns the field value as an integer.
raw docstring

get-numberclj

(get-number field)

Returns the field value as a number.

Returns the field value as a number.
raw docstring

get-selection-modelclj

(get-selection-model c)

Returns the selection model of the component (e.g. table or list).

Returns the selection model of the component (e.g. table or list).
raw docstring

get-textclj

(get-text c)

Returns the text component value as a string.

Returns the text component value as a string.
raw docstring

hide-componentclj

(hide-component c)

Hides the component by setting its visibility to false.

Hides the component by setting its visibility to false.
raw docstring

horizontal-split-paneclj

(horizontal-split-pane args items)

Creates a horizontal split pane.

Creates a horizontal split pane.
raw docstring

image-iconclj

(image-icon url args)

Creates an image icon from the image data of the given URL.

Creates an image icon from the image data of the given URL.
raw docstring

init-swingclj

(init-swing c args)
(init-swing c args items)

Intitializes a swing component with the arguments and items.

Intitializes a swing component with the arguments and items.
raw docstring

input-dialogclj

(input-dialog text)
(input-dialog text title)
(input-dialog text title type)
(input-dialog text title type icon values initial)

Creates an input dialog.

Creates an input dialog.
raw docstring

input-verifierclj

(input-verifier vf yf & args)

Creates an input verifier with the verify function 'vf' and the yield function 'yf'.

Creates an input verifier with the verify function 'vf' and the yield function 'yf'.
raw docstring

installed-look-and-feelsclj

(installed-look-and-feels)

Returns the installed look anf feels as a sequence of maps from names to class names.

Returns the installed look anf feels as a sequence of maps from names to class names.
raw docstring

integer-fieldclj

(integer-field)
(integer-field args)

Creates an integer field.

Creates an integer field.
raw docstring

j-listclj

(j-list)
(j-list args)

Creates a swing list component.

Creates a swing list component.
raw docstring

j-treeclj

(j-tree)
(j-tree args)

Creates a swing tree component.

Creates a swing tree component.
raw docstring

key-strokeclj

(key-stroke keycode)
(key-stroke keycode & modifiers)

Returns the key stroke for the given key code and the modifiers if given.

Returns the key stroke for the given key code and the modifiers if given.
raw docstring

labelclj

(label args)

Creates a label.

Creates a label.
raw docstring

last-cardclj

(last-card cl container)

Shows the last card on the container.

Shows the last card on the container.
raw docstring

layered-paneclj

(layered-pane args items)

Creates a layered pane.

Creates a layered pane.
raw docstring

look-and-feel-available?clj

(look-and-feel-available? lnf)
(look-and-feel-available? installed-lnfs lnf)

Checks the availability of the given look and feel by name.

Checks the availability of the given look and feel by name.
raw docstring

mapseq-table-modelclj

(mapseq-table-model col-spec data)

Creates a table model backed with a sequence of maps. The col-spec map may contain

Creates a table model backed with a sequence of maps. The col-spec map may contain 
raw docstring

mask-formatterclj

(mask-formatter s)

Creates a mask formatter for the given pattern.

Creates a mask formatter for the given pattern.
raw docstring

(menu args items)

Creates a menu.

Creates a menu.
raw docstring

(menu-bar args items)

Creates a menu bar.

Creates a menu bar.
raw docstring

(menu-item args)

Creates a menu item.

Creates a menu item.
raw docstring

message-dialogclj

(message-dialog text)
(message-dialog text title type)
(message-dialog text title type icon)

Creates a message dialog.

Creates a message dialog.
raw docstring

mig-layoutclj

(mig-layout args)

Creates a mig layout.

Creates a mig layout.
raw docstring

next-cardclj

(next-card cl container)

Shows the next card on the container.

Shows the next card on the container.
raw docstring

number-fieldclj

(number-field)
(number-field args)

Creates a number field.

Creates a number field.
raw docstring

option-paneclj

(option-pane)
(option-pane args)

Creates an option pane dialog.

Creates an option pane dialog.
raw docstring

panelclj

(panel args items)

Creates a panel.

Creates a panel.
raw docstring

password-fieldclj

(password-field)
(password-field args)

Creates a password field.

Creates a password field.
raw docstring

(popup-menu args items)

Creates a popup menu.

Creates a popup menu.
raw docstring

previous-cardclj

(previous-card cl container)

Shows the previous card on the container.

Shows the previous card on the container.
raw docstring

progress-barclj

(progress-bar)
(progress-bar args)

Creates a progress bar.

Creates a progress bar.
raw docstring

radio-buttonclj

(radio-button)
(radio-button args)

Creates a radio button.

Creates a radio button.
raw docstring

radio-button-menu-itemclj

(radio-button-menu-item)
(radio-button-menu-item args)

Creates a radio button menu item.

Creates a radio button menu item.
raw docstring

scroll-paneclj

(scroll-pane item)
(scroll-pane item args)

Creates a scroll pane.

Creates a scroll pane.
raw docstring

select-allclj

(select-all c)

Selects all characters in the text component.

Selects all characters in the text component.
raw docstring

separatorclj

(separator)
(separator args)

Creates a separator.

Creates a separator.
raw docstring

seq-list-modelclj

(seq-list-model data)

Creates a list model backed with the 'data' sequence.

Creates a list model backed with the 'data' sequence.
raw docstring

set-allows-invalidclj

(set-allows-invalid c value)

Sets whether the value being edited is allowed to be invalid for a length of time.

Sets whether the value being edited is allowed to be invalid for a length of time.
raw docstring

set-editableclj

(set-editable c value)

Sets whether the user can edit the text component.

Sets whether the user can edit the text component.
raw docstring

set-focus-lost-behaviourclj

(set-focus-lost-behaviour c value)

Specifies the outcome of a field losing the focus. Possible values are defined in JFormattedTextField as COMMIT_OR_REVERT (the default), COMMIT (commit if valid, otherwise leave everything the same), PERSIST (do nothing), and REVERT (change the text to reflect the value).

Specifies the outcome of a field losing the focus.
Possible values are defined in JFormattedTextField as COMMIT_OR_REVERT (the default),
COMMIT (commit if valid, otherwise leave everything the same), PERSIST (do nothing),
and REVERT (change the text to reflect the value).
raw docstring

set-look-and-feelclj

(set-look-and-feel frame lnf)

Sets the look and feel given by for the given frame (if it is available).

Sets the look and feel given by for the given frame (if it is available).
raw docstring

set-selection-modeclj

(set-selection-mode model mode)

Sets the selection mode.

Sets the selection mode.
raw docstring

set-textclj

(set-text c s)

Sets the text component value to 's'.

Sets the text component value to 's'.
raw docstring

set-valueclj

(set-value c v)

Sets the formatted text field value to the formatted value 'v'.

Sets the formatted text field value to the formatted value 'v'.
raw docstring

show-cardclj

(show-card cl container name)

Shows the card on the container with the given name.

Shows the card on the container with the given name.
raw docstring

show-componentclj

(show-component c)

Shows the component by setting its visibility to true.

Shows the component by setting its visibility to true.
raw docstring

sliderclj

(slider)
(slider args)

Creates a slider.

Creates a slider.
raw docstring

spinnerclj

(spinner)
(spinner args)

Creates a spinner.

Creates a spinner.
raw docstring

split-paneclj

(split-pane args items)

Creates a split pane.

Creates a split pane.
raw docstring

tabbed-paneclj

(tabbed-pane args items)

Creates a tabbed pane.

Creates a tabbed pane.
raw docstring

tableclj

(table)
(table args)

Creates a table.

Creates a table.
raw docstring

table-cell-rendererclj

(table-cell-renderer rf args)

Creates a cell renderer with the render function 'rf'.

Creates a cell renderer with the render function 'rf'.
raw docstring

text-areaclj

(text-area)
(text-area args)

Creates a text area.

Creates a text area.
raw docstring

text-fieldclj

(text-field)
(text-field args)

Creates a text field.

Creates a text field.
raw docstring

text-paneclj

(text-pane)
(text-pane args)

Creates a text pane.

Creates a text pane.
raw docstring

titled-borderclj

(titled-border title)

Creates a titled border.

Creates a titled border.
raw docstring

to-stringclj

(to-string fmt v)

Converts the given value v to a string using the given formatter.

Converts the given value v to a string using the given formatter.
raw docstring

to-valueclj

(to-value fmt s)

Converts the given string s to a value using the given formatter.

Converts the given string s to a value using the given formatter.
raw docstring

toggle-buttonclj

(toggle-button)
(toggle-button args)

Creates a toggle button.

Creates a toggle button.
raw docstring

tool-barclj

(tool-bar args items)

Creates a tool bar.

Creates a tool bar.
raw docstring

tree-nodeclj

(tree-node obj args items)

Creates a tree node.

Creates a tree node.
raw docstring

vertical-split-paneclj

(vertical-split-pane args items)

Creates a vertical split pane.

Creates a vertical split pane.
raw docstring

windowclj

(window args cp-items)

Creates a window.

Creates a window.
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close