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

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

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

origin: org.carewebframework/org.carewebframework.help.core

@Override
public void afterInitialized(BaseComponent comp) {
  super.afterInitialized(comp);
  modelAndView = lstTopics.getModelAndView(HelpTopic.class);
  modelAndView.setRenderer(new HelpTopicRenderer());
}

origin: org.carewebframework/org.carewebframework.help.core

@Override
public void afterInitialized(BaseComponent comp) {
  super.afterInitialized(comp);
  IModelAndView<Listitem, HelpTopic> mv = lstHistory.getModelAndView(HelpTopic.class);
  IListModel<HelpTopic> model = new ListModel<>();
  history = new HelpHistory(model);
  mv.setModel(model);
  mv.setRenderer(new HelpTopicRenderer());
  getViewer().setHelpHistory(history);
}

origin: org.carewebframework/org.carewebframework.shell

@Override
public void afterInitialized(BaseComponent root) {
  window = (Window) root;
  shared = defaultIsShared();
  boolean manage = root.getAttribute("manage", false);
  window.setTitle(StrUtil.formatMessage(manage ? CAP_LAYOUT_MANAGE : CAP_LAYOUT_LOAD));
  lblPrompt.setLabel(StrUtil.formatMessage(manage ? MSG_LAYOUT_MANAGE : MSG_LAYOUT_LOAD));
  modelAndView = lstLayouts.getModelAndView(String.class);
  modelAndView.setRenderer(renderer);
  pnlSelect.setVisible(!manage);
  tbManage.setVisible(manage);
  ((Radiobutton) radioGroup.getChildAt(shared ? 0 : 1)).setChecked(true);
  pnlScope.addClass(manage ? "pull-right" : "pull-left");
  upload.bind(btnImport);
  refresh(root.getAttribute("dflt", ""));
}

org.fujion.componentListboxgetModelAndView

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
  • getSelected
    Returns the set of selected list items.
  • getSelectedCount
    Returns the number of selected list items.
  • setModel
  • 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

  • Creating JSON documents from java classes using gson
  • getResourceAsStream (ClassLoader)
  • addToBackStack (FragmentTransaction)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • OutputStream (java.io)
    A writable sink for bytes.Most clients will use output streams that write data to the file system (
  • ServerSocket (java.net)
    This class represents a server-side socket that waits for incoming client connections. A ServerSocke
  • Charset (java.nio.charset)
    A charset is a named mapping between Unicode characters and byte sequences. Every Charset can decode
  • DecimalFormat (java.text)
    A concrete subclass of NumberFormat that formats decimal numbers. It has a variety of features desig
  • Timer (java.util)
    Timers schedule one-shot or recurring TimerTask for execution. Prefer java.util.concurrent.Scheduled
  • Logger (org.slf4j)
    The org.slf4j.Logger interface is the main user entry point of SLF4J API. It is expected that loggin
  • Best plugins for Eclipse
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