com.alee.laf.viewport.ViewportPainter 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.viewport;
import com.alee.painter.AbstractPainter;
import javax.swing.*;
import java.awt.*;
/**
* Basic painter for JViewport component.
* It is used as WebViewportUI default painter.
*
* @param component type
* @param component UI type
* @author Alexandr Zernov
*/
public class ViewportPainter extends AbstractPainter implements IViewportPainter
{
@Override
public void updateBorder ()
{
// {@link javax.swing.JViewport} doesn't support border so we do nothing here
}
@Override
public void paint ( final Graphics2D g2d, final Rectangle bounds, final E c, final U ui )
{
// Empty by default
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy