com.alee.laf.viewport.ViewportPainter Maven / Gradle / Ivy
package com.alee.laf.viewport;
import com.alee.painter.decoration.AbstractDecorationPainter;
import com.alee.painter.decoration.IDecoration;
import javax.swing.*;
import javax.swing.border.Border;
/**
* Basic painter for {@link JViewport} component.
* It is used as {@link WViewportUI} default painter.
*
* @param component type
* @param component UI type
* @param decoration type
* @author Alexandr Zernov
*/
public class ViewportPainter>
extends AbstractDecorationPainter implements IViewportPainter
{
@Override
public void updateBorder ()
{
/**
* {@link javax.swing.JViewport} doesn't support border so we do nothing here.
* If we would allow this method - we would instantly get an exception from {@link JViewport#setBorder(Border)} method.
*/
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy