Tabnine Logo
Listbox.setModel
Code IndexAdd Tabnine to your IDE (free)

How to use
setModel
method
in
org.fujion.component.Listbox

Best Java code snippets using org.fujion.component.Listbox.setModel (Showing top 3 results out of 315)

origin: org.carewebframework/org.carewebframework.plugin.chat

/**
 * Refresh the participant list.
 */
@Override
public void refresh() {
  lstSessions.setModel(null);
  model.clear();
  model.addAll(chatService.getChatCandidates());
  renderer.setHideExclusions(chkHideActive.isChecked());
  model.sort(sessionComparator);
  lstSessions.setModel(model);
  updateControls();
}

origin: org.carewebframework/org.carewebframework.plugin.messagetesting

@Override
public void onLoad(ElementPlugin plugin) {
  super.onLoad(plugin);
  ListModel<IMessageProducer> providers = new ListModel<>(getProviders());
  //providers.setMultiple(true);
  lboxProviders.setModel(providers);
  lboxProviders.setRenderer(new MessageProviderRenderer());
  gridReceived.getRows().setModel(received);
  gridReceived.getRows().setRenderer(new ReceivedMessageRenderer(gridReceived));
  //channels.setMultiple(true);
  lboxSubscriptions.setModel(channels);
  lboxSubscriptions.setRenderer(new SubscriptionRenderer());
  cboxChannels.setModel(channels2);
}

origin: org.carewebframework/org.carewebframework.plugin.chat

/**
 * Initialize the dialog.
 */
@Override
public void afterInitialized(BaseComponent comp) {
  super.afterInitialized(comp);
  window = (Window) comp;
  sessionId = (String) comp.getAttribute("id");
  lstParticipants.setRenderer(new ParticipantRenderer(chatService.getSelf(), null));
  model.add(chatService.getSelf());
  lstParticipants.setModel(model);
  clearMessage();
  
  if (comp.getAttribute("originator") != null) {
    invite((result) -> {
      if (!result) {
        close();
      } else {
        initSession();
      }
    });
  } else {
    initSession();
  }
}

org.fujion.componentListboxsetModel

Popular methods of Listbox

  • getSelectedItem
    Returns the selected list item, if any. If there are multiple selections, only the first will be ret
  • setSelectedItem
    Sets the selected list item. Any existing selections are cleared.
  • addChild
  • getChildren
  • getChildAt
  • getModelAndView
  • getSelected
    Returns the set of selected list items.
  • getSelectedCount
    Returns the number of selected list items.
  • setRenderer
  • _updateSelected
    Updates the selection status of a list item.
  • clearSelected
    Clears any existing selection.
  • destroyChildren
  • clearSelected,
  • destroyChildren,
  • findChildByLabel,
  • getChild,
  • getSelectedIndex,
  • propertyChange,
  • removeChild,
  • setFocus,
  • setVisible

Popular in Java

  • Start an intent from android
  • setScale (BigDecimal)
  • setRequestProperty (URLConnection)
  • putExtra (Intent)
  • Color (java.awt)
    The Color class is used to encapsulate colors in the default sRGB color space or colors in arbitrary
  • Date (java.sql)
    A class which can consume and produce dates in SQL Date format. Dates are represented in SQL as yyyy
  • NumberFormat (java.text)
    The abstract base class for all number formats. This class provides the interface for formatting and
  • Hashtable (java.util)
    A plug-in replacement for JDK1.5 java.util.Hashtable. This version is based on org.cliffc.high_scale
  • PriorityQueue (java.util)
    A PriorityQueue holds elements on a priority heap, which orders the elements according to their natu
  • ConcurrentHashMap (java.util.concurrent)
    A plug-in replacement for JDK1.5 java.util.concurrent.ConcurrentHashMap. This version is based on or
  • Top PhpStorm plugins
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