|
|||||||||||
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.HtmlTextListPainter
Painter for the TextList Control
Field Summary |
Fields inherited from class com.cc.framework.ui.painter.ControlPainter |
log |
Constructor Summary | |
HtmlTextListPainter(PainterContext painterContext,
TextListControl ctrl)
Constructor |
Method Summary | |
protected org.apache.ecs.html.Table |
createButtonTable(java.util.Collection buttons)
|
protected org.apache.ecs.ConcreteElement |
doCreateAddButton(boolean enabled)
Creates the Add-Button |
protected java.util.Collection |
doCreateButtons()
Creates the buttons for the list elements |
protected org.apache.ecs.ConcreteElement |
doCreateDisplayElement()
Creates the element for display only. |
protected org.apache.ecs.ConcreteElement |
doCreateEditElement()
Creates the element for display only. |
protected org.apache.ecs.ConcreteElement |
doCreateEditField()
|
protected org.apache.ecs.ConcreteElement |
doCreateElement()
Creates the HTML-Element. |
protected org.apache.ecs.ElementContainer |
doCreateHiddenFields(java.lang.Object[] values)
This method creates all the hidden fields that are necessary to synchronize the selected values back to the server |
protected org.apache.ecs.ConcreteElement |
doCreateMoveDownButton(boolean enabled)
Creates the MoveDown-Button |
protected org.apache.ecs.ConcreteElement |
doCreateMoveUpButton(boolean enabled)
Creates the MoveUp-Button |
protected org.apache.ecs.ConcreteElement |
doCreateRemoveButton(boolean enabled)
Creates the Remove-Button |
protected JavaScript |
doCreateScript()
Creates the Java Script Code which is needed by the control |
protected org.apache.ecs.ConcreteElement |
doCreateSelectElement(java.lang.Object[] values)
|
protected TextListControl |
getCtrl()
Retrieves the control for this painter |
protected java.lang.Object[] |
getValues()
Retrieves the value for the text control in form of a String |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public HtmlTextListPainter(PainterContext painterContext, TextListControl ctrl)
painterContext
- The PainterContextctrl
- The Control to renderMethod Detail |
protected TextListControl getCtrl()
protected org.apache.ecs.html.Table createButtonTable(java.util.Collection buttons)
protected org.apache.ecs.ConcreteElement doCreateDisplayElement()
protected org.apache.ecs.ElementContainer doCreateHiddenFields(java.lang.Object[] values)
values
- array with the selected values
protected org.apache.ecs.ConcreteElement doCreateEditField()
protected org.apache.ecs.ConcreteElement doCreateSelectElement(java.lang.Object[] values)
protected org.apache.ecs.ConcreteElement doCreateAddButton(boolean enabled)
enabled
-
protected org.apache.ecs.ConcreteElement doCreateMoveUpButton(boolean enabled)
enabled
-
protected org.apache.ecs.ConcreteElement doCreateMoveDownButton(boolean enabled)
enabled
-
protected org.apache.ecs.ConcreteElement doCreateRemoveButton(boolean enabled)
enabled
-
protected java.util.Collection doCreateButtons()
protected org.apache.ecs.ConcreteElement doCreateEditElement()
+-----------------------------+-------+-------------+ | input element | add | decorations | +-----------------------------+-------+-------------+ | select (multiple) element |+-----+| | | || up || | | || down|| | | || del || | | |+-----+| | +-----------------------------+-------+-------------+ <hidden (1)><hidden (2)>...<hidden (n)>
protected org.apache.ecs.ConcreteElement doCreateElement()
ControlPainter
doCreateElement
in class ControlPainter
ControlPainter.doCreateElement()
protected java.lang.Object[] getValues()
protected JavaScript doCreateScript()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |