com.javadocking.component
Interface SelectableHeader

All Superinterfaces:
Header
All Known Implementing Classes:
ImageMinimzeHeader, MinimzeHeader, SelectableDockableHeader

public interface SelectableHeader
extends Header

A header that can be selected.

Information on using dock headers is in How to Use the Component Factory in The Sanaware Developer Guide.

Implementations of this class should extend java.awt.Component.

Author:
Heidi Rakels.

Method Summary
 boolean isSelected()
          Determines if the header is selected.
 void setSelected(boolean selected)
          Selects or deselects the header.
 
Methods inherited from interface com.javadocking.component.Header
addPropertyChangeListener, getPosition, removePropertyChangeListener, setPosition
 

Method Detail

setSelected

void setSelected(boolean selected)
Selects or deselects the header.

Parameters:
selected - True if the header has to be selected, false otherwise.

isSelected

boolean isSelected()
Determines if the header is selected.

Returns:
True if the header is elected, false otherwise.