BasicPanel implementation
BasicPanel implementation
(*create-ui c)c - javax.swing.JComponent
returns: javax.swing.plaf.ComponentUI
c - `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-baseline-resize-behavior this c)Returns an enum indicating how the baseline of the component changes as the size changes.
c - JComponent to return baseline resize behavior for - javax.swing.JComponent
returns: an enum indicating how the baseline changes as the component
size changes - java.awt.Component$BaselineResizeBehavior
throws: java.lang.NullPointerException - if c is null
Returns an enum indicating how the baseline of the component
changes as the size changes.
c - JComponent to return baseline resize behavior for - `javax.swing.JComponent`
returns: an enum indicating how the baseline changes as the component
size changes - `java.awt.Component$BaselineResizeBehavior`
throws: java.lang.NullPointerException - if c is null(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 builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |