package cnp.ew.notebook;

import cnp.ew.displayer.*;
import java.awt.*;
import cnp.ew.lightweight.*;

interface CpTabDisplayable extends CpBorderDisplayable
{

    public void paintIn(CpLightweightComponent lc, Graphics g, int x, int y, int width, int height, CpDisplayable innerDisplayer, boolean isSelected);
    /**
     * Answer the number of pixels from each side this displayable
     * would like to be expanded, depending on whether its selected or not.
     */
    public Insets expansion(boolean isSelected);

        /**
     * Answer the maximum number of pixels from each side this displayable
     * would like to be expanded.
     */
    public Insets maxExpansion();

    /**
     * Answer the horizontal overlap for the tab from its standard position.
     */
    public int horizontalOverlap();

    /*
     * Set whether we should display a focus rect or not.
     */
    public void setHasFocus(boolean hasFocus);


}

