
org.uispec4j.interception.ui.UISpecTreeUI Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of uispec4j Show documentation
Show all versions of uispec4j Show documentation
Java/Swing GUI testing made simple!
package org.uispec4j.interception.ui;
import org.uispec4j.interception.toolkit.Empty;
import javax.swing.*;
import javax.swing.plaf.ComponentUI;
import javax.swing.plaf.basic.BasicTreeUI;
import java.awt.*;
///CLOVER:OFF
public class UISpecTreeUI extends BasicTreeUI {
public static ComponentUI createUI(JComponent component) {
return new UISpecTreeUI();
}
public void paint(Graphics g, JComponent c) {
}
public Dimension getPreferredSize(JComponent c) {
return Empty.NULL_DIMENSION;
}
public Dimension getMaximumSize(JComponent c) {
return Empty.NULL_DIMENSION;
}
public Dimension getMinimumSize(JComponent c) {
return Empty.NULL_DIMENSION;
}
}