com.alee.laf.tree.ITreePainter Maven / Gradle / Ivy
package com.alee.laf.tree;
import com.alee.painter.SpecificPainter;
import javax.swing.*;
import javax.swing.tree.TreeCellRenderer;
import javax.swing.tree.TreePath;
import java.util.Hashtable;
/**
* Base interface for {@link JTree} component painters.
*
* @param component type
* @param UI type
* @author Alexandr Zernov
*/
public interface ITreePainter extends SpecificPainter
{
/**
* Returns whether or not row hover decoration is supported by this tree painter.
*
* @return {@code true} if row hover decoration is supported by this tree painter, {@code false} otherwise
*/
public boolean isRowHoverDecorationSupported ();
/**
* Prepares painter to pain tree.
*
* @param drawingCache vertical lines drawing cache
* @param currentCellRenderer current cell renderer
*/
public void prepareToPaint ( Hashtable drawingCache, TreeCellRenderer currentCellRenderer );
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy