Tabnine Logo
KeyedComboBoxModel$ComboBoxItemPair.<init>
Code IndexAdd Tabnine to your IDE (free)

How to use
org.jfree.ui.KeyedComboBoxModel$ComboBoxItemPair
constructor

Best Java code snippets using org.jfree.ui.KeyedComboBoxModel$ComboBoxItemPair.<init> (Showing top 3 results out of 315)

origin: jfree/jcommon

/**
 * Adds a new entry to the model.
 *
 * @param key    the key
 * @param cbitem the display value.
 */
public void add(final Object key, final Object cbitem)
{
 final ComboBoxItemPair con = new ComboBoxItemPair(key, cbitem);
 this.data.add(con);
 final ListDataEvent evt = new ListDataEvent
   (this, ListDataEvent.INTERVAL_ADDED, this.data.size() - 2, this.data.size() - 2);
 fireListDataEvent(evt);
}
origin: org.jfree/jcommon

/**
 * Adds a new entry to the model.
 *
 * @param key    the key
 * @param cbitem the display value.
 */
public void add(final Object key, final Object cbitem)
{
 final ComboBoxItemPair con = new ComboBoxItemPair(key, cbitem);
 this.data.add(con);
 final ListDataEvent evt = new ListDataEvent
   (this, ListDataEvent.INTERVAL_ADDED, this.data.size() - 2, this.data.size() - 2);
 fireListDataEvent(evt);
}
origin: org.jfree/com.springsource.org.jfree

/**
 * Adds a new entry to the model.
 *
 * @param key    the key
 * @param cbitem the display value.
 */
public void add(final Object key, final Object cbitem)
{
 final ComboBoxItemPair con = new ComboBoxItemPair(key, cbitem);
 data.add(con);
 final ListDataEvent evt = new ListDataEvent
   (this, ListDataEvent.INTERVAL_ADDED, data.size() - 2, data.size() - 2);
 fireListDataEvent(evt);
}
org.jfree.uiKeyedComboBoxModel$ComboBoxItemPair<init>

Javadoc

Creates a new item pair for the given key and value. The value can be changed later, if needed.

Popular methods of KeyedComboBoxModel$ComboBoxItemPair

  • getKey
    Returns the key.
  • getValue
    Returns the value.

Popular in Java

  • Start an intent from android
  • onRequestPermissionsResult (Fragment)
  • compareTo (BigDecimal)
  • setContentView (Activity)
  • Color (java.awt)
    The Color class is used to encapsulate colors in the default sRGB color space or colors in arbitrary
  • GridBagLayout (java.awt)
    The GridBagLayout class is a flexible layout manager that aligns components vertically and horizonta
  • Connection (java.sql)
    A connection represents a link from a Java application to a database. All SQL statements and results
  • Stack (java.util)
    Stack is a Last-In/First-Out(LIFO) data structure which represents a stack of objects. It enables u
  • Filter (javax.servlet)
    A filter is an object that performs filtering tasks on either the request to a resource (a servlet o
  • IsNull (org.hamcrest.core)
    Is the value null?
  • Top plugins for Android Studio
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