01: /*
02: * Copyright Javelin Software, All rights reserved.
03: */
04:
05: package com.javelin.swinglets.tabbed;
06:
07: import com.javelin.swinglets.*;
08:
09: /**
10: * This interface defines the methods any object that would like to be
11: * a renderer for cell in a STabbedPane.
12: *
13: * @author Robin Sharp
14: */
15:
16: public interface STabbedCellRenderer {
17: /**
18: * This method is sent to the renderer by the drawing table to
19: * configure the renderer appropriately before drawing. Return
20: * the SComponent used for drawing.
21: */
22: SComponent getTabbedCellRendererComponent(STabbedPane tabbedPane,
23: int index, SLink link);
24:
25: }
|