0.1.0-SNAPSHOT permalink Arrow_down_16x16

auto-setters

clj-swing.core

  • (auto-setters cl known-kws opts)

0 Examples top

Log in to add / edit an example.

See Also top

Log in to add a see also.

Plus_12x12 Minus_12x12 Source clj_swing/core.clj:42 top

(defn auto-setters [cl known-kws opts]
  (if opts
    (map (fn [[a v]] (list 
		      '. 
		      (kw-to-setter a) 
		      (if (keyword? v)
			`(. ~cl ~(symbol (st/upper-case (name v))))
			v)))
	 (remove-known-keys opts known-kws))))
Vars in clj-swing.core/auto-setters: defn fn keyword? list map name symbol concat seq
Used in 0 other vars

Comments top

No comments for auto-setters. Log in to add a comment.