Liking cljdoc? Tell your friends :D

javax.swing.Icon

A small fixed size picture, typically used to decorate components.

A small fixed size picture, typically used to decorate components.
raw docstring

get-icon-heightclj

(get-icon-height this)

Returns the icon's height.

returns: an int specifying the fixed height of the icon. - int

Returns the icon's height.

returns: an int specifying the fixed height of the icon. - `int`
raw docstring

get-icon-widthclj

(get-icon-width this)

Returns the icon's width.

returns: an int specifying the fixed width of the icon. - int

Returns the icon's width.

returns: an int specifying the fixed width of the icon. - `int`
raw docstring

paint-iconclj

(paint-icon this c g x y)

Draw the icon at the specified location. Icon implementations may use the Component argument to get properties useful for painting, e.g. the foreground or background color.

c - java.awt.Component g - java.awt.Graphics x - int y - int

Draw the icon at the specified location.  Icon implementations
 may use the Component argument to get properties useful for
 painting, e.g. the foreground or background color.

c - `java.awt.Component`
g - `java.awt.Graphics`
x - `int`
y - `int`
raw docstring

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

× close