bibliothek.gui.dock.themes.border
Interface BorderModifier


public interface BorderModifier

A BorderModifier takes a Border from a Component and returns another Border which is actually shown. The modify(Border) method is called either when the original border changes or then the modified changes.

Author:
Benjamin Sigg

Method Summary
 javax.swing.border.Border modify(javax.swing.border.Border border)
          Modifies a border that would be shown on some Component.
 

Method Detail

modify

javax.swing.border.Border modify(javax.swing.border.Border border)
Modifies a border that would be shown on some Component.

Parameters:
border - the current border, can be null
Returns:
the border to show, can be null, the default value is border