declare namespace javax { namespace swing { namespace plaf { namespace synth { /** * Provides the Synth L&F UI delegate for * {@link javax.swing.JComboBox}. * @author Scott Violet * @since 1.7 */ // @ts-ignore class SynthComboBoxUI extends javax.swing.plaf.basic.BasicComboBoxUI implements java.beans.PropertyChangeListener, javax.swing.plaf.synth.SynthUI { // @ts-ignore constructor() /** * Creates a new UI object for the given component. * @param c component to create UI object for * @return the UI object */ // @ts-ignore public static createUI(c: javax.swing.JComponent): javax.swing.plaf.ComponentUI /** * {@inheritDoc} * Overridden to ensure that ButtonHandler is created prior to any of * the other installXXX methods, since several of them reference * buttonHandler. */ // @ts-ignore public installUI(c: javax.swing.JComponent): void // @ts-ignore installDefaults(): void /** * {@inheritDoc} */ // @ts-ignore installListeners(): void /** * {@inheritDoc} */ // @ts-ignore public uninstallUI(c: javax.swing.JComponent): void /** * {@inheritDoc} */ // @ts-ignore uninstallDefaults(): void /** * {@inheritDoc} */ // @ts-ignore uninstallListeners(): void /** * {@inheritDoc} */ // @ts-ignore public getContext(c: javax.swing.JComponent): javax.swing.plaf.synth.SynthContext /** * {@inheritDoc} */ // @ts-ignore createPopup(): javax.swing.plaf.basic.ComboPopup /** * {@inheritDoc} */ // @ts-ignore createRenderer(): javax.swing.ListCellRenderer /** * {@inheritDoc} */ // @ts-ignore createEditor(): javax.swing.ComboBoxEditor /** * {@inheritDoc} */ // @ts-ignore public propertyChange(e: java.beans.PropertyChangeEvent): void /** * {@inheritDoc} */ // @ts-ignore createArrowButton(): javax.swing.JButton /** * Notifies this UI delegate to repaint the specified component. * This method paints the component background, then calls * the {@link #paint(SynthContext,Graphics)} method. *

In general, this method does not need to be overridden by subclasses. * All Look and Feel rendering code should reside in the {@code paint} method. * @param g the {#code Graphics} object used for painting * @param c the component being painted * @see #paint(SynthContext,Graphics) */ // @ts-ignore public update(g: java.awt.Graphics, c: javax.swing.JComponent): void /** * Paints the specified component according to the Look and Feel. *

This method is not used by Synth Look and Feel. * Painting is handled by the {@link #paint(SynthContext,Graphics)} method. * @param g the {#code Graphics} object used for painting * @param c the component being painted * @see #paint(SynthContext,Graphics) */ // @ts-ignore public paint(g: java.awt.Graphics, c: javax.swing.JComponent): void /** * Paints the specified component. * @param context context for the component being painted * @param g the {#code Graphics} object used for painting * @see #update(Graphics,JComponent) */ // @ts-ignore paint(context: javax.swing.plaf.synth.SynthContext, g: java.awt.Graphics): void /** * {@inheritDoc} */ // @ts-ignore public paintBorder(context: javax.swing.plaf.synth.SynthContext, g: java.awt.Graphics, x: number /*int*/, y: number /*int*/, w: number /*int*/, h: number /*int*/): void /** * Paints the currently selected item. */ // @ts-ignore public paintCurrentValue(g: java.awt.Graphics, bounds: java.awt.Rectangle, hasFocus: boolean): void /** * Returns the default size of an empty display area of the combo box using * the current renderer and font. * This method was overridden to use SynthComboBoxRenderer instead of * DefaultListCellRenderer as the default renderer when calculating the * size of the combo box. This is used in the case of the combo not having * any data. * @return the size of an empty display area * @see #getDisplaySize */ // @ts-ignore getDefaultSize(): java.awt.Dimension } } } } }