|
|||||||||||
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
Base Class for all painters in the painter.def package
Field Summary |
Fields inherited from class com.cc.framework.ui.painter.ControlPainter |
log |
Constructor Summary | |
DefPainterBase(PainterContext painterContext)
Constructor |
Method Summary | |
static org.apache.ecs.ConcreteElement |
createHelpElement(PainterContext ctx,
java.lang.String helpId,
java.lang.String imageResourceId,
AlignmentType align)
Creates a Help-Button with the given Help Id |
org.apache.ecs.ConcreteElement |
createHelpElement(java.lang.String helpId,
java.lang.String imageResourceId,
AlignmentType align)
Creates a Help-Button with the given Help Id |
org.apache.ecs.ConcreteElement |
doCreateHelpButton(java.lang.String helpId)
Creates a Help-Button with the given Help Id |
org.apache.ecs.ConcreteElement |
doCreateHelpIcon(java.lang.String helpId)
Creates a Help-Button with the given Help Id |
java.lang.String |
getElementClass(int type)
The method returns the HTML style class required for a list or treelist control. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DefPainterBase(PainterContext painterContext)
painterContext
- The PainterContextMethod Detail |
public org.apache.ecs.ConcreteElement doCreateHelpButton(java.lang.String helpId)
helpId
- the help id
null
when no help button should
be paintedpublic org.apache.ecs.ConcreteElement doCreateHelpIcon(java.lang.String helpId)
helpId
- the help id
null
when no help button should
be paintedpublic org.apache.ecs.ConcreteElement createHelpElement(java.lang.String helpId, java.lang.String imageResourceId, AlignmentType align)
helpId
- the help idimageResourceId
- image resourcealign
- Image Alignment
null
when no help button should
be paintedpublic static org.apache.ecs.ConcreteElement createHelpElement(PainterContext ctx, java.lang.String helpId, java.lang.String imageResourceId, AlignmentType align)
ctx
- The painter contexthelpId
- the help idimageResourceId
- image resourcealign
- Image Alignment
null
when no help button should
be paintedpublic java.lang.String getElementClass(int type)
ControlPainter
getElementClass
in class ControlPainter
type
- The required style class
ControlPainter.getElementClass(int)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |