001 /* 002 * Created on 29.03.2006 003 * 004 */ 005 package org.jdesktop.swingx; 006 007 /** 008 * Interface to mark renderers as "live". <p> 009 * 010 * PENDING: probably need methods to enabled/click taking a similar 011 * set of parameters as getXXComponent because the actual 012 * outcome might depend on the given value. If so, we'll need 013 * to extend the XXRenderer interfaces. 014 * 015 * @author Jeanette Winzenburg 016 */ 017 public interface RolloverRenderer { 018 /** 019 * 020 * @return true if rollover effects are on and clickable. 021 */ 022 boolean isEnabled(); 023 024 /** 025 * Same as AbstractButton.doClick(). It's up to client 026 * code to prepare the renderer's component before calling 027 * this method. 028 * 029 */ 030 void doClick(); 031 }