Lines Matching refs:comboBox

71         AquaUtilControlSize.addSizePropertyListener(comboBox);
75 AquaUtilControlSize.removeSizePropertyListener(comboBox);
84 getApplicator().attachAndApplyClientProperties(comboBox);
88 getApplicator().removeFrom(comboBox);
110 final int selectedIndex = comboBox.getSelectedIndex();
129 return new AquaComboBoxRenderer(comboBox);
133 return new AquaComboBoxPopup(comboBox);
137 return new AquaComboBoxButton(this, comboBox, currentValuePane, listBox);
222 triggerSelectionEvent(comboBox, e);
256 setPopupVisible(comboBox, false);
258 comboBox.repaint();
261 final AccessibleContext ac = ((Accessible)comboBox).getAccessibleContext();
272 final ActionMap actionMap = comboBox.getActionMap();
286 if (!comboBox.isEnabled() || !comboBox.isShowing()) return;
288 if (comboBox.isPopupVisible()) {
289 final AquaComboBoxUI ui = (AquaComboBoxUI)comboBox.getUI();
292 comboBox.setPopupVisible(true);
307 if (si < comboBox.getModel().getSize() - 1) {
311 comboBox.repaint();
326 comboBox.repaint();
402 if (arrowButton != null && !comboBox.isEditable()) {
403 final Insets insets = comboBox.getInsets();
404 final int width = comboBox.getWidth();
405 final int height = comboBox.getHeight();
441 protected static void triggerSelectionEvent(final JComboBox comboBox, final ActionEvent e) {
442 if (!comboBox.isEnabled()) return;
444 final AquaComboBoxUI aquaUi = (AquaComboBoxUI)comboBox.getUI();
447 comboBox.setPopupVisible(false);
450 if (isTableCellEditor(comboBox)) {
452 comboBox.setSelectedIndex(aquaUi.getPopup().getList().getSelectedIndex());
456 if (comboBox.isPopupVisible()) {
457 comboBox.setSelectedIndex(aquaUi.getPopup().getList().getSelectedIndex());
458 comboBox.setPopupVisible(false);
464 final JRootPane root = SwingUtilities.getRootPane(comboBox);
490 final JComboBox comboBox = (JComboBox)e.getSource();
491 if (!comboBox.isEnabled()) return;
492 if (comboBox.isEditable()) return;
494 final AquaComboBoxUI aquaUi = (AquaComboBoxUI)comboBox.getUI();
496 if (comboBox.isPopupVisible()) {
497 comboBox.setSelectedIndex(aquaUi.getPopup().getList().getSelectedIndex());
498 comboBox.setPopupVisible(false);
502 comboBox.setPopupVisible(true);
519 final boolean editable = comboBox.isEditable();
525 // Insets insets = comboBox.getInsets();
526 final Insets insets = new Insets(0, 5, 0, 25);//comboBox.getInsets();
565 if (target.comboBox != null) target.comboBox.hidePopup();
572 if (target.comboBox == null) return;
573 target.comboBox.repaint();