Package org.odftoolkit.odfdom.dom.element.form

Examples of org.odftoolkit.odfdom.dom.element.form.FormListboxElement


  public FormControl createListBox(ControlContainer parent,
      FrameRectangle rectangle, String name, boolean isMultiSelection,
      boolean isDropDown) {
    String formId = generateFormId();
    FormListboxElement listBoxElement = mElement
        .newFormListboxElement(generateFormId());
    // set default control properties
    ListBox listBoxForm = new ListBox(listBoxElement);
    Component.registerComponent(listBoxForm, listBoxElement);
    listBoxForm.setId(formId);
View Full Code Here


      }
      nextElement.remove();
    }

    private ListBox findNext(ListBox thisListBox) {
      FormListboxElement nextListBox = null;
      if (thisListBox == null) {
        nextListBox = OdfElement.findFirstChildNode(
            FormListboxElement.class, containerElement);
      } else {
        nextListBox = OdfElement.findNextChildNode(
View Full Code Here

TOP

Related Classes of org.odftoolkit.odfdom.dom.element.form.FormListboxElement

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.