Tabnine Logo
MetalComboBoxUI
Code IndexAdd Tabnine to your IDE (free)

How to use
MetalComboBoxUI
in
javax.swing.plaf.metal

Best Java code snippets using javax.swing.plaf.metal.MetalComboBoxUI (Showing top 16 results out of 315)

origin: com.jidesoft/jide-oss

@Override
protected void uninstallListeners() {
  super.uninstallListeners();
  comboBox.removeMouseListener(_rolloverListener);
  _rolloverListener = null;
}
origin: net.sf.nimrod/nimrod-laf

public Dimension getMinimumSize( JComponent c) {
 Dimension dim = super.getMinimumSize( c);
 
 if ( comboBox.isEditable() ) {
  dim.height = editor.getPreferredSize().height - 2;
 }
 
 dim.width += 20;
 
 return dim;
}
 
origin: com.jidesoft/jide-oss

@Override
protected void uninstallDefaults() {
  super.uninstallDefaults();
  LookAndFeel.uninstallBorder(comboBox);
}
origin: com.jidesoft/jide-oss

@Override
protected void installListeners() {
  super.installListeners();
  if (_rolloverListener == null) {
    _rolloverListener = createRolloverListener();
  }
  comboBox.addMouseListener(_rolloverListener);
}
origin: com.jidesoft/jide-oss

@Override
protected void installDefaults() {
  super.installDefaults();
  JideSwingUtilities.installBorder(comboBox, createComboBoxBorder());
}
origin: org.tentackle/tentackle-swing

@Override
protected JButton createArrowButton() {
 JButton button = super.createArrowButton();
 if (isArrowButtonShownAsMandatory()) {
  button.setBackground(getMandatoryColor());
 }
 return button;
}
origin: org.tentackle/tentackle-swing

@Override
public void configureArrowButton() {
 super.configureArrowButton();
 if (isArrowButtonShownAsMandatory()) {
  arrowButton.setBackground(getMandatoryColor());
 }
}
origin: org.tentackle/tentackle-swing

@Override
protected void installListeners() {
 super.installListeners();
 if (((TentackleLookAndFeel)UIManager.getLookAndFeel()).isFocusAnimated()) {
  comboBox.addFocusListener(new KComboBoxFlasherListener());
 }
}
origin: net.sf.nimrod/nimrod-laf

protected void installDefaults() {
 super.installDefaults();
  oldOpaque = comboBox.isOpaque();
 comboBox.setOpaque( false);
}
origin: org.tentackle/tentackle-swing

@Override
protected void uninstallListeners() {
 super.uninstallListeners();
 TFlasherListener.removeFlasherListener(comboBox);
}
origin: net.sf.nimrod/nimrod-laf

protected  void installListeners() {
 super.installListeners();
 miML = new MiML();
 comboBox.addMouseListener( miML);
 comboBox.addFocusListener( miML);
}
 
origin: net.sf.nimrod/nimrod-laf

protected void uninstallDefaults() {
 super.uninstallDefaults();
 
 comboBox.setOpaque( oldOpaque);
}
origin: com.github.arnabk/pgslookandfeel

    arrowButton != null &&
    editor != null) {
  size = super.getMinimumSize(c);
  Insets margin = arrowButton.getMargin();
  size.height += margin.top + margin.bottom - 2;
  size.width += margin.left + margin.right;
} else {
  size = super.getMinimumSize(c);
origin: net.sf.nimrod/nimrod-laf

protected  void uninstallListeners() {
 super.uninstallListeners();
 comboBox.removeMouseListener( miML);
 comboBox.removeFocusListener( miML);
}
 
origin: com.github.arnabk/pgslookandfeel

protected void installListeners() {
  super.installListeners();
  if (popup instanceof BasicComboPopup) {
    popupHandler = new PopupHandler();
    ((BasicComboPopup) popup).addPopupMenuListener(popupHandler);
    comboBox.addFocusListener(focusHandler = new FocusHandler());
  }
}
origin: com.github.arnabk/pgslookandfeel

protected void uninstallListeners() {
  super.uninstallListeners();
  if (popup instanceof BasicComboPopup) {
    ((BasicComboPopup) popup).removePopupMenuListener(popupHandler);
    comboBox.removeFocusListener(focusHandler);
  }
}
javax.swing.plaf.metalMetalComboBoxUI

Most used methods

  • installListeners
  • uninstallListeners
  • getMinimumSize
  • installDefaults
  • uninstallDefaults
  • configureArrowButton
  • createArrowButton
  • installUI
  • unconfigureArrowButton
  • unconfigureEditor

Popular in Java

  • Finding current android device location
  • setContentView (Activity)
  • getResourceAsStream (ClassLoader)
  • scheduleAtFixedRate (Timer)
  • SocketTimeoutException (java.net)
    This exception is thrown when a timeout expired on a socket read or accept operation.
  • JarFile (java.util.jar)
    JarFile is used to read jar entries and their associated data from jar files.
  • ZipFile (java.util.zip)
    This class provides random read access to a zip file. You pay more to read the zip file's central di
  • JFileChooser (javax.swing)
  • JLabel (javax.swing)
  • JTable (javax.swing)
  • Github Copilot alternatives
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now