com.alee.laf.combobox.AdaptiveComboBoxPainter Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of weblaf-ui Show documentation
Show all versions of weblaf-ui Show documentation
WebLaf is a Java Swing Look and Feel and extended components library for cross-platform applications
package com.alee.laf.combobox;
import com.alee.painter.AdaptivePainter;
import com.alee.painter.Painter;
import javax.swing.*;
/**
* Simple ComboBoxPainter adapter class.
* It is used to install simple non-specific painters into WebComboBoxUI.
*
* @author Alexandr Zernov
*/
public final class AdaptiveComboBoxPainter extends AdaptivePainter
implements IComboBoxPainter
{
/**
* Constructs new AdaptiveComboBoxPainter for the specified painter.
*
* @param painter painter to adapt
*/
public AdaptiveComboBoxPainter ( final Painter painter )
{
super ( painter );
}
@Override
public void prepareToPaint ( final CellRendererPane currentValuePane )
{
// Ignore this method in adaptive class
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy