|
|||||||||||
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.html.HtmlPainterBase com.cc.framework.ui.painter.html.HtmlCheckboxGroupPainter
Painter for the Select Control
Field Summary | |
private static int |
WIDTH_DECORATION
|
Fields inherited from class com.cc.framework.ui.painter.ControlPainter |
log |
Constructor Summary | |
HtmlCheckboxGroupPainter(PainterContext painterContext,
CheckboxGroupControl ctrl)
Constructor for HtmlSelectPainter |
Method Summary | |
protected OptionsIterator |
createIterator()
Creates an option iterator |
protected OptionsComparator |
createOptionsComparator()
Creates the comparator that is used to determine if a item of the group is checked |
protected org.apache.ecs.ConcreteElement |
doCreateColGroup(int columns,
int decorations)
Creates the HTML colgroup Element for the list |
protected org.apache.ecs.ConcreteElement |
doCreateElement()
Creates the HTML-Element. |
protected org.apache.ecs.ConcreteElement |
doCreateGrid()
Creates the pure select control without images |
protected org.apache.ecs.ConcreteElement |
doCreateItem(java.lang.Object itemKey,
java.lang.Object itemLabel,
java.lang.Object itemTooltip,
ImageModel itemImage,
boolean checked,
boolean disabled)
Creates a single item of the group |
protected CheckboxGroupControl |
getCtrl()
Retrieves the control for this painter |
protected java.lang.String |
getType()
|
protected java.lang.Object[] |
getValues()
Retrieves the value for the text control |
protected boolean |
showImages()
Retruns true when this select control shoud show images
for it's option elements |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final int WIDTH_DECORATION
Constructor Detail |
public HtmlCheckboxGroupPainter(PainterContext painterContext, CheckboxGroupControl ctrl)
painterContext
- The PainterContextctrl
- The Control to renderMethod Detail |
protected java.lang.String getType()
protected CheckboxGroupControl getCtrl()
protected boolean showImages()
true
when this select control shoud show images
for it's option elements
protected OptionsIterator createIterator()
protected org.apache.ecs.ConcreteElement doCreateItem(java.lang.Object itemKey, java.lang.Object itemLabel, java.lang.Object itemTooltip, ImageModel itemImage, boolean checked, boolean disabled)
itemKey
- the items keyitemLabel
- the labelitemTooltip
- optional tooltipitemImage
- optional imagechecked
- when true
the item is checkeddisabled
- when true
the item is disabled
protected org.apache.ecs.ConcreteElement doCreateColGroup(int columns, int decorations)
columns
- The column painters
protected OptionsComparator createOptionsComparator()
protected org.apache.ecs.ConcreteElement doCreateGrid()
protected org.apache.ecs.ConcreteElement doCreateElement()
ControlPainter
doCreateElement
in class ControlPainter
ControlPainter.doCreateElement()
protected java.lang.Object[] getValues()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |