com.jidesoft.plaf.aqua.AquaGripperUI Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jide-oss Show documentation
Show all versions of jide-oss Show documentation
JIDE Common Layer (Professional Swing Components)
package com.jidesoft.plaf.aqua;
import com.jidesoft.plaf.basic.BasicGripperUI;
import com.jidesoft.swing.Gripper;
import javax.swing.*;
import javax.swing.plaf.ComponentUI;
import java.awt.*;
/**
* @author olifink
*/
public class AquaGripperUI extends BasicGripperUI {
public static ComponentUI createUI(JComponent c) {
return new AquaGripperUI();
}
@Override
public void paint(Graphics g, JComponent c) {
Gripper gripper = (Gripper) c;
paintBackground(g, gripper);
getPainter().paintGripper(c, g, new Rectangle(0, 0, c.getWidth(), c.getHeight()), gripper.getOrientation(), 0);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy