Package javax.swing

Examples of javax.swing.JComboBox$ComboBoxActionPropertyChangeListener


    txFilename.setColumns(40);

    encodingModel = EncodingComboBoxModel.createDefaultModel(Locale.getDefault());
    encodingModel.sort();

    cbEncoding = new JComboBox(encodingModel);
    cbxStrictLayout = new JCheckBox(getResources().getString("htmlexportdialog.strict-layout")); //$NON-NLS-1$
    cbxCopyExternalReferences = new JCheckBox(getResources().getString(
        "htmlexportdialog.copy-external-references")); //$NON-NLS-1$

    getFormValidator().registerButton(cbxStrictLayout);
View Full Code Here


    txFilename = new JTextField();
    txFilename.setColumns(30);
    encodingModel = EncodingComboBoxModel.createDefaultModel(Locale.getDefault());
    encodingModel.sort();
    cbEncoding = new JComboBox(encodingModel);

    final JPanel exportPane = createExportPane();

    final JTabbedPane tabbedPane = new JTabbedPane();
    tabbedPane.add(getResources().getString("csvexportdialog.export-settings"), exportPane); //$NON-NLS-1$
View Full Code Here

    txConfUserPassword = new JPasswordField();
    txOwnerPassword = new JPasswordField();
    txConfOwnerPassword = new JPasswordField();

    cxAllowCopy = new JCheckBox(getResources().getString("pdfsavedialog.allowCopy")); //$NON-NLS-1$
    cbAllowPrinting = new JComboBox(getPrintingComboBoxModel());
    cxAllowScreenReaders =
        new JCheckBox(getResources().getString(
            "pdfsavedialog.allowScreenreader")); //$NON-NLS-1$

    cxAllowAssembly = new JCheckBox(getResources().getString(
        "pdfsavedialog.allowAssembly")); //$NON-NLS-1$
    cxAllowModifyContents =
        new JCheckBox(getResources().getString(
            "pdfsavedialog.allowModifyContents")); //$NON-NLS-1$
    cxAllowModifyAnnotations =
        new JCheckBox(getResources().getString(
            "pdfsavedialog.allowModifyAnnotations")); //$NON-NLS-1$
    cxAllowFillIn = new JCheckBox(getResources().getString(
        "pdfsavedialog.allowFillIn")); //$NON-NLS-1$


    txFilename = new JTextField();
    txFilename.setColumns(40);
    statusBar = new JStatusBar();

    encodingModel = EncodingComboBoxModel.createDefaultModel(Locale.getDefault());
    encodingModel.sort();

    cbEncoding = new JComboBox(encodingModel);
    cxEmbedded = new JCheckBox(getResources().getString("pdfsavedialog.embedfonts"));

    getFormValidator().registerTextField(txFilename);
    getFormValidator().registerTextField(txConfOwnerPassword);
    getFormValidator().registerTextField(txConfUserPassword);
View Full Code Here

   * Create a new JPanel with a double buffer and a flow layout
   */
  public EncodingSelector()
  {
    setLayout(new BorderLayout());
    encodingComboBox = new JComboBox();
    add(encodingComboBox, BorderLayout.CENTER);
    setEncodings(new GenericPrinterSpecification(), Locale.getDefault());
  }
View Full Code Here

      // Add the dash comboBox
      constraints.gridx = 1;
      constraints.gridy = 1;

      final JComboBox dashComboBox = new JComboBox(new Object[]{BorderStyle.SOLID, BorderStyle.DASHED,
          BorderStyle.DOTTED, BorderStyle.DOT_DASH, BorderStyle.DOT_DOT_DASH});
      dashComboBox.setRenderer(new BorderStyleRenderer());
      dashComboBox.setSelectedItem(borderStyle);
      dashComboBox.addActionListener(new DashSelectionHandler(dashComboBox));
      this.add(dashComboBox, constraints);

      // Add the sample box
      constraints.gridx = 0;
      constraints.gridy = 2;
View Full Code Here

    public static final DcTimeField getTimeField() {
      return new DcTimeField();
    }
   
    public static final JComboBox getHashTypeComboBox() {
        JComboBox cb = getComboBox();
        for (Object o : JacksumAPI.getAvailableAlgorithms().keySet()) {
            cb.addItem(o);
        }
        return cb;
    }
View Full Code Here

        return new DcFontRenderingComboBox();
    }

   
    public static final JComboBox getPersonOrderComboBox() {
        JComboBox cb = getComboBox();
        cb.addItem(DcResources.getText("lblPersonOrginalOrder"));
        cb.addItem(DcResources.getText("lblPersonOrderByLastname"));
        cb.addItem(DcResources.getText("lblPersonOrderByFirstname"));
        return cb;
    }
View Full Code Here

    public static final DcDirectoriesAsDrivesField getDirectoriesAsDrivesField() {
        return new DcDirectoriesAsDrivesField();
    }
   
    public static final JComboBox getLanguageCombobox() {
        JComboBox cb = getComboBox();
        for (String language : DcResources.getLanguages())
            cb.addItem(language);
       
        cb.setSelectedIndex(0);
        return cb;
    }
View Full Code Here

        cb.setSelectedIndex(0);
        return cb;
    }
   
    public static final JComboBox getCharacterSetCombobox() {
        JComboBox cb = getComboBox();
        for (String charSet : Utilities.getCharacterSets())
            cb.addItem(charSet);

        cb.setSelectedIndex(0);
        return cb;
    }
View Full Code Here

        cb.setSelectedIndex(0);
        return cb;
    }

    public static final JComboBox getPersonDisplayFormatComboBox() {
        JComboBox cb = getComboBox();
        cb.addItem(DcResources.getText("lblPersonFirstnameLastName"));
        cb.addItem(DcResources.getText("lblPersonLastNameFirstname"));
        return cb;
    }
View Full Code Here

TOP

Related Classes of javax.swing.JComboBox$ComboBoxActionPropertyChangeListener

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.