Package org.pentaho.reporting.designer.core.settings

Examples of org.pentaho.reporting.designer.core.settings.DateFormatModel


  public GeneralSettingsPanel()
  {
    setLayout(new BorderLayout());

    dateFormatModel = new DateFormatModel();
    numberFormatModel = new NumberFormatModel();

    dateFormats = new String[0];
    numberFormats = new String[0];
View Full Code Here


        setValueRole(valueRole);
        comboBoxActive = true;
      }
      else if (DATE_FORMAT_VALUE_ROLE.equals(valueRole))
      {
        comboBox.setModel(new DefaultComboBoxModel(new DateFormatModel().getNumberFormats()));
        comboBox.setRenderer(new EmptyValueListCellRenderer());
        comboBox.setEditable(true);
        add(comboBox, BorderLayout.CENTER);
        add(ellipsisButton, BorderLayout.EAST);
        comboBox.requestFocus();
View Full Code Here

      {
        return new NumberFormatModel().getNumberFormats();
      }
      else if (DATE_FORMAT_VALUE_ROLE.equals(valueRole))
      {
        return new DateFormatModel().getNumberFormats();
      }

      if (propertyEditorType != null && PropertyEditor.class.isAssignableFrom(propertyEditorType))
      {
        // This is a horrible, horrible hack to make the legacy chart editor work properly ..
View Full Code Here

  public GeneralSettingsPanel()
  {
    setLayout(new BorderLayout());

    dateFormatModel = new DateFormatModel();
    numberFormatModel = new NumberFormatModel();

    dateFormats = new String[0];
    numberFormats = new String[0];
View Full Code Here

        setValueRole(valueRole);
        comboBoxActive = true;
      }
      else if (DATE_FORMAT_VALUE_ROLE.equals(valueRole))
      {
        comboBox.setModel(new DefaultComboBoxModel(new DateFormatModel().getNumberFormats()));
        comboBox.setEditable(true);
        add(comboBox, BorderLayout.CENTER);
        add(ellipsisButton, BorderLayout.EAST);
        comboBox.requestFocus();
        setValueRole(valueRole);
View Full Code Here

TOP

Related Classes of org.pentaho.reporting.designer.core.settings.DateFormatModel

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.