com.alee.managers.highlight
Class HighlightManager

java.lang.Object
  extended by com.alee.managers.highlight.HighlightManager

public final class HighlightManager
extends java.lang.Object

User: mgarin Date: 05.10.11 Time: 19:50

This manager allows you to quickly highlight multiply visual Swing components in any window


Constructor Summary
HighlightManager()
           
 
Method Summary
static void clearHighlightedComponents(java.awt.Component component)
          Removes all highlights from component ancestor window
static void clearHighlightedComponents(java.awt.Window window)
          Removes all highlights from window
static java.util.List<java.awt.Component> highlightComponentsWithText(java.lang.String text, java.awt.Component highlightBase)
          Highlights components with specified text on window
static void removeHiglightedComponents(java.util.List<java.awt.Component> highlights)
          Removes components highlight from their ancestor windows
static void removeHigligtedComponent(java.awt.Component highlight)
          Removes component highlight from its ancestor window
static void setHighlightBase(java.awt.Component highlightBase)
          Sets component as higlight base for its window
static void setHighlightBase(java.awt.Window window, java.awt.Component highlightBase)
          Sets highlight base for window
static void setHiglightedComponent(java.awt.Component highlight)
          Sets highlighted component for its ancestor window
static void setHiglightedComponent(java.awt.Component highlight, java.awt.Component highlightBase)
           
static void setHiglightedComponents(java.util.List<java.awt.Component> highlights)
          Sets highlighted components for their ancestor windows
static void setHiglightedComponents(java.util.List<java.awt.Component> highlights, java.awt.Component highlightBase)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HighlightManager

public HighlightManager()
Method Detail

highlightComponentsWithText

public static java.util.List<java.awt.Component> highlightComponentsWithText(java.lang.String text,
                                                                             java.awt.Component highlightBase)
Highlights components with specified text on window


setHiglightedComponent

public static void setHiglightedComponent(java.awt.Component highlight)
Sets highlighted component for its ancestor window


setHiglightedComponent

public static void setHiglightedComponent(java.awt.Component highlight,
                                          java.awt.Component highlightBase)

setHiglightedComponents

public static void setHiglightedComponents(java.util.List<java.awt.Component> highlights)
Sets highlighted components for their ancestor windows


setHiglightedComponents

public static void setHiglightedComponents(java.util.List<java.awt.Component> highlights,
                                           java.awt.Component highlightBase)

removeHigligtedComponent

public static void removeHigligtedComponent(java.awt.Component highlight)
Removes component highlight from its ancestor window


removeHiglightedComponents

public static void removeHiglightedComponents(java.util.List<java.awt.Component> highlights)
Removes components highlight from their ancestor windows


clearHighlightedComponents

public static void clearHighlightedComponents(java.awt.Component component)
Removes all highlights from component ancestor window


clearHighlightedComponents

public static void clearHighlightedComponents(java.awt.Window window)
Removes all highlights from window


setHighlightBase

public static void setHighlightBase(java.awt.Component highlightBase)
Sets component as higlight base for its window


setHighlightBase

public static void setHighlightBase(java.awt.Window window,
                                    java.awt.Component highlightBase)
Sets highlight base for window