BasicTableHeaderUI implementation
BasicTableHeaderUI implementation
(*create-ui h)
h - javax.swing.JComponent
returns: javax.swing.plaf.ComponentUI
h - `javax.swing.JComponent` returns: `javax.swing.plaf.ComponentUI`
(get-baseline this c width height)
Returns the baseline.
c - JComponent baseline is being requested for - javax.swing.JComponent
width - the width to get the baseline for - int
height - the height to get the baseline for - int
returns: baseline or a value < 0 indicating there is no reasonable
baseline - int
throws: java.lang.NullPointerException - if c is null
Returns the baseline. c - JComponent baseline is being requested for - `javax.swing.JComponent` width - the width to get the baseline for - `int` height - the height to get the baseline for - `int` returns: baseline or a value < 0 indicating there is no reasonable baseline - `int` throws: java.lang.NullPointerException - if c is null
(get-maximum-size this c)
Return the maximum size of the header. The maximum width is the sum of the maximum widths of each column (plus inter-cell spacing).
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
Return the maximum size of the header. The maximum width is the sum of the maximum widths of each column (plus inter-cell spacing). 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)
Return the minimum size of the header. The minimum width is the sum of the minimum widths of each column (plus inter-cell spacing).
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
Return the minimum size of the header. The minimum width is the sum of the minimum widths of each column (plus inter-cell spacing). 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)
Return the preferred size of the header. The preferred height is the maximum of the preferred heights of all of the components provided by the header renderers. The preferred width is the sum of the preferred widths of each column (plus inter-cell spacing).
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
Return the preferred size of the header. The preferred height is the maximum of the preferred heights of all of the components provided by the header renderers. The preferred width is the sum of the preferred widths of each column (plus inter-cell spacing). 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`
(paint this g c)
Description copied from class: ComponentUI
g - the Graphics context in which to paint - java.awt.Graphics
c - the component being painted; 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 g - the Graphics context in which to paint - `java.awt.Graphics` c - the component being painted; this argument is often ignored, but might be used if the UI object is stateless and shared by multiple components - `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