org.mmbase.util
Class HTMLElementCheckBox
java.lang.Object
org.mmbase.util.HTMLElement
org.mmbase.util.HTMLElementCheckBox
public class HTMLElementCheckBox
- extends HTMLElement
Generates a HTML Element: INPUT CHECKBOX.
Uses these variables which are set in the super class (HTMLElement) to generate HTML:
- boolean sel : if true it checks if the String selected equals the
current value if equal the HTML tag CHECKED is added.
- String selected : see above
- boolean ex : if true it checks if the String exclude equals the current
value, if equal this value will be skipped (no HTML
generated for this item)
- String exclude : see above
- boolean moreValues : if true it will make a list of items.
- boolean moredouble : if true it will make a paired list of items.
(first item = VALUE second item=NAME)
- Vector valuesList : The list of items.
- boolean vertical : if true the various checkboxes are seperated with <brk /> tags.
- Version:
- $Id: HTMLElementCheckBox.java 35335 2009-05-21 08:14:41Z michiel $
- Author:
- Jan van Oosterom
- Application:
- SCAN
| Fields inherited from class org.mmbase.util.HTMLElement |
cols, empty, ex, exclude, horizontal, max, moredouble, moreValues, multiple, name, proc, procdouble, processor, rows, sel, selected, size, sorted, sp, user, values, valuesList, vertical |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HTMLElementCheckBox
public HTMLElementCheckBox()
- Creates a HTMLElementCheckbox
generate
protected String generate()
- Generates the HTML code.
- Specified by:
generate in class HTMLElement
MMBase 2.0-SNAPSHOT - null