|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.cc.framework.ui.painter.ControlPainter com.cc.framework.ui.painter.def.DefPainterBase com.cc.framework.ui.painter.def.DefTabbarPainter com.cc.framework.ui.painter.def.DefTabsetPainter
Painter for the Tabset Control
Field Summary |
Fields inherited from class com.cc.framework.ui.painter.ControlPainter |
log |
Constructor Summary | |
DefTabsetPainter(PainterContext painterContext,
TabsetControl ctrl)
Constructor for DefTabsetPainter |
Method Summary | |
protected org.apache.ecs.ConcreteElement |
doCreateBody(TabDesignModel tab)
Creates the Content of a single Tab Page |
protected org.apache.ecs.ConcreteElement |
doCreateBody(TabDesignModel[] tabs)
This method creates the content for the selected tab. |
Color |
getBgColor()
Retrieves the Background color of the tabset |
java.lang.String |
getElementClass(int type)
The method returns the HTML style class required for a list or treelist control. |
protected java.lang.String[] |
getJSImageResources()
Creates the array which holds the images resources used by our JavaScript tree |
protected java.lang.String |
getJSRangeResource()
|
protected java.lang.String |
getJSType()
|
protected boolean |
showFrame()
Checks if the frame should be painted |
Methods inherited from class com.cc.framework.ui.painter.def.DefTabbarPainter |
createClientScript, doCreateElement, getCtrl, getTabImage, isOverlapping, isSelected |
Methods inherited from class com.cc.framework.ui.painter.def.DefPainterBase |
createHelpElement, createHelpElement, doCreateHelpButton, doCreateHelpIcon |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DefTabsetPainter(PainterContext painterContext, TabsetControl ctrl)
painterContext
- The PainterContextctrl
- The Control to renderMethod Detail |
protected boolean showFrame()
showFrame
in class DefTabbarPainter
true
if the frame should be paintedpublic java.lang.String getElementClass(int type)
ControlPainter
getElementClass
in class DefTabbarPainter
ControlPainter.getElementClass(int)
protected org.apache.ecs.ConcreteElement doCreateBody(TabDesignModel tab)
tab
- The tab page
protected org.apache.ecs.ConcreteElement doCreateBody(TabDesignModel[] tabs)
doCreateBody
in class DefTabbarPainter
tabs
- The collection with the visible tabs
public Color getBgColor()
getBgColor
in class DefTabbarPainter
protected java.lang.String getJSType()
getJSType
in class DefTabbarPainter
protected java.lang.String getJSRangeResource()
getJSRangeResource
in class DefTabbarPainter
protected java.lang.String[] getJSImageResources()
getJSImageResources
in class DefTabbarPainter
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |