|
|||||||||
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 tabIndex,
java.lang.String tabText,
boolean isActive)
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 tabIndex, java.lang.String tabText, boolean isActive)
tp
- the TabbedPane in questiontabIndex
- - the index of the current tabisActive
- - true if the tab is active
int getImageBorderWidth()
Color getImageBorderColor()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |