com.jgoodies.clearlook
Interface ClearLookPolicy

All Known Implementing Classes:
DefaultClearLookPolicy

public interface ClearLookPolicy

Describes a ClearLook(tm) policy as used by the ClearLookManager.

Version:
$Revision: 1.2 $
Author:
Karsten Lentzsch
See Also:
ClearLookManager, DefaultClearLookPolicy

Method Summary
 String getName()
          Returns the policy's name.
 Border replaceBorder(JComponent component)
          Detects whether the component's border should be replaced.
 

Method Detail

getName

public String getName()
Returns the policy's name.

Returns:
this policy's name

replaceBorder

public Border replaceBorder(JComponent component)
Detects whether the component's border should be replaced. If so the original border is returned, null otherwise.

Parameters:
component - the component to be inspected
Returns:
the original border in case of a replacement, null otherwise


Copyright © 2001-2004 JGoodies Karsten Lentzsch. All Rights Reserved.