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

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

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

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.
 */
@SuppressWarnings("unchecked")
@Override
public void afterInitialized(BaseComponent comp) {
  super.afterInitialized(comp);
  sessionId = (String) comp.findAttribute("sessionId");
  Collection<IPublisherInfo> exclusions = (Collection<IPublisherInfo>) comp.findAttribute("exclusions");
  renderer = new ParticipantRenderer(chatService.getSelf(), exclusions);
  lstSessions.setRenderer(renderer);
  chkHideActive.setChecked(getAppFramework().getAttribute(ATTR_HIDE) != null);
  refresh();
}

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.componentListboxsetRenderer

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.
  • setModel
  • _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

  • Parsing JSON documents to java classes using gson
  • findViewById (Activity)
  • putExtra (Intent)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • ConnectException (java.net)
    A ConnectException is thrown if a connection cannot be established to a remote host on a specific po
  • ResourceBundle (java.util)
    ResourceBundle is an abstract class which is the superclass of classes which provide Locale-specifi
  • Semaphore (java.util.concurrent)
    A counting semaphore. Conceptually, a semaphore maintains a set of permits. Each #acquire blocks if
  • Modifier (javassist)
    The Modifier class provides static methods and constants to decode class and member access modifiers
  • Annotation (javassist.bytecode.annotation)
    The annotation structure.An instance of this class is returned bygetAnnotations() in AnnotationsAttr
  • DateTimeFormat (org.joda.time.format)
    Factory that creates instances of DateTimeFormatter from patterns and styles. Datetime formatting i
  • From CI to AI: The AI layer in your organization
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