Package DisplayProject.controls

Examples of DisplayProject.controls.DropList


        }
        return qq_theBra_Color;
    }

    public void setqq_theBra_Color(DropList value) {
        DropList oldValue = qq_theBra_Color;
        qq_theBra_Color = value;
        this.qq_Listeners.firePropertyChange("qq_theBra_Color", oldValue, value);
    }
View Full Code Here


        }
        return qq_aDropList;
    }

    public void setqq_aDropList(DropList value) {
        DropList oldValue = qq_aDropList;
        qq_aDropList = value;
        this.qq_Listeners.firePropertyChange("qq_aDropList", oldValue, value);
    }
View Full Code Here

    int height = this.comboBox.getMinimumSize().height;
    // TF:27/11/2009:Changed this to use the passed width
//    int width = this.comboBox.getMinimumSize().width;

    if (this.comboBoxPainter == null) {
        this.comboBoxPainter = new DropList();
    }

    // TF:02/12/2009:Set the colours based on the current fillin field.
    this.comboBoxPainter.setForeground(this.comboBox.getForeground());
    this.comboBoxPainter.setBackground(this.comboBox.getBackground());
View Full Code Here

      return cb;
    }
   
  public static DropList newDropList()
    {
        final DropList cb = new DropList();
        cb.setEditable(false);
        cb.setRenderer(new ForteSizedListElementCellRenderer());
        cb.setModel(new DropListModel(new Array_Of_ListElement<ListElement>(),cb));
        return cb;
    }
View Full Code Here

        return cb;
    }

    @SuppressWarnings("unchecked")
  public static DropList newDropList(ListElement[] elements) {
        DropList cb = DropFillinFactory.newDropList();
        DropListModel model = new DropListModel(new Array_Of_ListElement(Arrays.asList(elements)),cb);
        cb.setModel(model);
        //cb.addActionListener(model);
        //cb.setModel(new DefaultComboBoxModel(elements));
        cb.setMaximumRowCount(elements.length);
        return cb;
    }
View Full Code Here

        return cb;
    }

    @SuppressWarnings("unchecked")
    public static DropList newDropList(Array_Of_ListElement<ListElement> elements) {
      DropList cb = DropFillinFactory.newDropList();
      DropListModel model = new DropListModel(new Array_Of_ListElement(Arrays.asList(elements)),cb);
      cb.setModel(model);
      //cb.addActionListener(model);
      //cb.setModel(new DefaultComboBoxModel(elements));
      cb.setMaximumRowCount(elements.size());
      return cb;
    }
View Full Code Here

      return cb;
    }
   
  public static DropList newDropList()
    {
        final DropList cb = new DropList();
        cb.setEditable(false);
        cb.setRenderer(new ForteSizedListElementCellRenderer());
        cb.setModel(new DropListModel(new Array_Of_ListElement<ListElement>(),cb));
        return cb;
    }
View Full Code Here

        return cb;
    }

    @SuppressWarnings("unchecked")
  public static DropList newDropList(ListElement[] elements) {
        DropList cb = DropFillinFactory.newDropList();
        DropListModel model = new DropListModel(new Array_Of_ListElement(Arrays.asList(elements)),cb);
        cb.setModel(model);
        //cb.addActionListener(model);
        //cb.setModel(new DefaultComboBoxModel(elements));
        cb.setMaximumRowCount(elements.length);
        return cb;
    }
View Full Code Here

        return cb;
    }

    @SuppressWarnings("unchecked")
    public static DropList newDropList(Array_Of_ListElement<ListElement> elements) {
      DropList cb = DropFillinFactory.newDropList();
      DropListModel model = new DropListModel(new Array_Of_ListElement(Arrays.asList(elements)),cb);
      cb.setModel(model);
      //cb.addActionListener(model);
      //cb.setModel(new DefaultComboBoxModel(elements));
      cb.setMaximumRowCount(elements.size());
      return cb;
    }
View Full Code Here

      cb.setMaximumRowCount(elements.size());
      return cb;
    }

    public static DropList newDropList(Object appData, int column, int gravity, int maxCharacters, int minWidth, Container parent, int row, TextData textValue, int widthPolicy) {
      DropList cb = DropFillinFactory.newDropList();
      AppData.set(cb, appData);
      Column.set(cb, column);
      FieldWidgetGravity.set(cb, gravity);
      // Drop lists are non editable, so the max characters is not needed
//      MaxCharacters.set(cb, maxCharacters);
      cb.setMinimumSize(new Dimension(minWidth, cb.getMinimumSize().height));
      Parent.set(cb, parent);
      Row.set(cb, row);
      TextValue.set(cb, textValue);
      WidthPolicy.set(cb, widthPolicy);
      return cb;
View Full Code Here

TOP

Related Classes of DisplayProject.controls.DropList

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.