package com.onaro.util.jfc; /** * Interface for a component that supports highlighting. */ public interface IHighlighting { /** * Gets the highlight state of the component. * * @return {@code true} if the component is highlighted, * {@code false} otherwise. * * @see #setHighlight */ public boolean isHighlighted(); /** * Sets the highlight state of the component. * @param isHighlighted {@code true} to highlight * the component, {@code false} to clear any highlight * @see #isHighlighted */ public void setHighlight (boolean isHighlighted); }