|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface TabImageRenderer
TabImageRenderer is an interface for producing "tab images"
within a TabbedPane.
| Method Summary | |
|---|---|
Color |
getImageBorderColor()
This is called the indicate the color of any border around the image. |
int |
getImageBorderWidth()
This is called the indicate the width of any border around the image. |
ImageReference |
getLeadInImage(TabbedPane tp)
This returns a "lead in" image that will be place to the left of all tab images. |
ImageReference |
getLeadOutImage(TabbedPane tp)
This returns a "lead out" image that will be place to the right of all tab images. |
ImageReference |
getTabImage(TabbedPane tp,
int index,
Component tabComponent,
boolean isSelected)
This returns an ImageReference to be used as the tab's representation. |
| Method Detail |
|---|
ImageReference getLeadInImage(TabbedPane tp)
tp - the TabbedPane in question
ImageReference getLeadOutImage(TabbedPane tp)
tp - the TabbedPane in question
ImageReference getTabImage(TabbedPane tp,
int index,
Component tabComponent,
boolean isSelected)
This MUST NOT be null since the TabbedPane requires an image if a TabImageRenderer is in use.
tp - the TabbedPane in questionindex - -
the index of the tabtabComponent - -
the component that represents the tab at indexisSelected - -
true if the tab is the selected one
ImageReference to use as the tab image. This
must NOT be null.int getImageBorderWidth()
Color getImageBorderColor()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||