A small fixed size picture, typically used to decorate components.
A small fixed size picture, typically used to decorate components.
(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`
(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`
(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`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close