com.alee.laf.tree.ITreePainter 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.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 JTree component painters.
*
* @param component type
* @param UI type
* @author Alexandr Zernov
*/
public interface ITreePainter extends SpecificPainter
{
/**
* Returns whether or not hover node decoration is supported by this tree painter.
*
* @return true if hover node decoration is supported by this tree painter, false otherwise
*/
public boolean isHoverDecorationSupported ();
/**
* 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