Basic L&F for a minimized window on a desktop.
Basic L&F for a minimized window on a desktop.
(*create-ui c)
c - javax.swing.JComponent
returns: javax.swing.plaf.ComponentUI
c - `javax.swing.JComponent` returns: `javax.swing.plaf.ComponentUI`
(get-insets this c)
c - javax.swing.JComponent
returns: java.awt.Insets
c - `javax.swing.JComponent` returns: `java.awt.Insets`
(get-maximum-size this c)
Desktop icons can not be resized. Therefore, we should always return the minimum size of the desktop icon.
c - the component whose maximum size is being queried; this argument is often ignored, but might be used if the UI object is stateless and shared by multiple components - javax.swing.JComponent
returns: a Dimension object or null - java.awt.Dimension
Desktop icons can not be resized. Therefore, we should always return the minimum size of the desktop icon. c - the component whose maximum size is being queried; this argument is often ignored, but might be used if the UI object is stateless and shared by multiple components - `javax.swing.JComponent` returns: a Dimension object or null - `java.awt.Dimension`
(get-minimum-size this c)
Description copied from class: ComponentUI
c - the component whose minimum size is being queried; this argument is often ignored, but might be used if the UI object is stateless and shared by multiple components - javax.swing.JComponent
returns: a Dimension object or null - java.awt.Dimension
Description copied from class: ComponentUI c - the component whose minimum size is being queried; this argument is often ignored, but might be used if the UI object is stateless and shared by multiple components - `javax.swing.JComponent` returns: a Dimension object or null - `java.awt.Dimension`
(get-preferred-size this c)
Description copied from class: ComponentUI
c - the component whose preferred size is being queried; this argument is often ignored, but might be used if the UI object is stateless and shared by multiple components - javax.swing.JComponent
returns: java.awt.Dimension
Description copied from class: ComponentUI c - the component whose preferred size is being queried; this argument is often ignored, but might be used if the UI object is stateless and shared by multiple components - `javax.swing.JComponent` returns: `java.awt.Dimension`
(install-ui this c)
Description copied from class: ComponentUI
c - the component where this UI delegate is being installed - javax.swing.JComponent
Description copied from class: ComponentUI c - the component where this UI delegate is being installed - `javax.swing.JComponent`
(uninstall-ui this c)
Description copied from class: ComponentUI
c - the component from which this UI delegate is being removed; this argument is often ignored, but might be used if the UI object is stateless and shared by multiple components - javax.swing.JComponent
Description copied from class: ComponentUI c - the component from which this UI delegate is being removed; this argument is often ignored, but might be used if the UI object is stateless and shared by multiple components - `javax.swing.JComponent`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close