Liking cljdoc? Tell your friends :D

retroact.swing


add-new-child-atcljmultimethod


attr-appliersclj


class-mapclj


create-handler-contextclj

(create-handler-context ctx onscreen-component)

get-child-atcljmultimethod


get-child-datacljmultimethod


get-existing-childrencljmultimethod


get-scrollable-viewclj

(get-scrollable-view c)

For views that are added to a JScrollPane by default, this will get the original view from the scroll pane if c is a scroll pane. Else, return c.

For views that are added to a JScrollPane by default, this will get the original view from the scroll pane if c
is a scroll pane. Else, return c.
raw docstring

on-changeclj

(on-change c ctx change-handler)

on-clickclj

(on-click c ctx click-handler)

on-close-action-mapclj


on-component-hiddenclj

(on-component-hidden c ctx handler)

on-component-resizeclj

(on-component-resize c ctx component-resize-handler)

on-mouse-wheel-movedclj

(on-mouse-wheel-moved c ctx wheel-moved-handler)

on-property-changeclj

(on-property-change c ctx property-change-handler)

on-selection-changecljmultimethod


on-set-value-atclj

(on-set-value-at c ctx set-value-at-handler)

The set-value-at-handler has args [app-ref old-item new-value row col] where row and col are the row and column of the table where the user performed an edit on a the cell at row and column, old-item is the item represented at that row (this is in domain space and may be a map, vec, set, or any arbitrary data structure - maps are typical), and new-value is the value of the cell after the user completed the edit. The set-value-at-handler must determine where in the item data structure the new-value must be set and how to perform that set in app-ref. This is, in a sense the inverse of the row-fn in set-row-fn. See examples.todo for an example handler.

The set-value-at-handler has args [app-ref old-item new-value row col] where row and col are the row and column of
the table where the user performed an edit on a the cell at row and column, old-item is the item represented at that
row (this is in domain space and may be a map, vec, set, or any arbitrary data structure - maps are typical), and
new-value is the value of the cell after the user completed the edit. The set-value-at-handler must determine where
in the item data structure the new-value must be set and how to perform that set in app-ref. This is, in a sense the
inverse of the row-fn in set-row-fn. See examples.todo for an example handler.
raw docstring

on-text-changeclj

(on-text-change c ctx text-change-handler)

orientation-mapclj


redraw-onscreen-componentclj

(redraw-onscreen-component c)

remove-child-atcljmultimethod


retroact-initiatedclj


retroact-initiated?clj

(retroact-initiated?)

This only works sometimes in some cases. It needs to be refined. See comments for retroact-initiated var.

This only works sometimes in some cases. It needs to be refined. See comments for retroact-initiated var.
raw docstring

run-on-toolkit-threadclj

(run-on-toolkit-thread f & args)

set-column-namesclj

(set-column-names c ctx column-names)

set-columnsclj

(set-columns c ctx num-columns)

set-combo-box-dataclj

(set-combo-box-data c ctx data)

set-editableclj

(set-editable c ctx editable)

set-foregroundclj

(set-foreground c ctx color)

set-heightclj

(set-height c ctx height)

set-on-closeclj

(set-on-close c ctx action)

set-opaqueclj

(set-opaque c ctx opaque)

set-row-editable-fnclj

(set-row-editable-fn c ctx row-editable-fn)

Similar to set-row-fn but returns a vec of true or false representing whether each column in the row is editable. A value of true means the column for this row is editable. The row-editable-fn takes a single arg, which is the nth element of the table model data vector representing the nth row.

Similar to set-row-fn but returns a vec of true or false representing whether each column in the row is editable. A
value of true means the column for this row is editable. The row-editable-fn takes a single arg, which is the nth
 element of the table model data vector representing the nth row.
raw docstring

set-row-fnclj

(set-row-fn c ctx row-fn)

Set the row fn on the table model of a JTable. The row fn takes the nth element in the data vector and returns a vector representing the columns in that row.

Set the row fn on the table model of a JTable. The row fn takes the nth element in the data vector and returns a
vector representing the columns in that row.
raw docstring

set-row-selection-intervalclj

(set-row-selection-interval c ctx [start end])

set-table-dataclj

(set-table-data c ctx data)

Set the data for a JTable in the table model. The data is a vector of arbitrary objects, one per row. Use set-row-fn to define how to translate those objects into columns.

Set the data for a JTable in the table model. The data is a vector of arbitrary objects, one per row. Use set-row-fn
to define how to translate those objects into columns.
raw docstring

set-textclj

(set-text text-component ctx text)

show-cardclj

(show-card c ctx card-name)

Shows card of container c when CardLayout is being used.

Shows card of container c when CardLayout is being used.
raw docstring

text-changed?clj

(text-changed? old-text new-text)

toolkit-configclj


update-client-propertiesclj

(update-client-properties c ctx properties)

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

× close