congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
NSComboBox
Code IndexAdd Tabnine to your IDE (free)

How to use
NSComboBox
in
ch.cyberduck.binding.application

Best Java code snippets using ch.cyberduck.binding.application.NSComboBox (Showing top 5 results out of 315)

origin: iterate-ch/cyberduck

public static NSComboBox textfieldWithFrame(NSRect frameRect) {
  return CLASS.alloc().initWithFrame(frameRect);
}
origin: iterate-ch/cyberduck

@Override
protected void focus(final NSAlert alert) {
  super.focus(alert);
  folderCombobox.selectText(null);
}
origin: iterate-ch/cyberduck

public GotoController(final BrowserController parent, final Cache<Path> cache) {
  this.parent = parent;
  this.cache = cache;
  folderCombobox = NSComboBox.textfieldWithFrame(new NSRect(0, 26));
  folderCombobox.setCompletes(true);
  folderCombobox.setUsesDataSource(true);
  folderComboboxModel = new FolderComboboxModel(parent.workdir());
  folderCombobox.setDataSource(folderComboboxModel.id());
  folderCombobox.setStringValue(parent.workdir().getAbsolute());
}
origin: iterate-ch/cyberduck

@Override
public void invalidate() {
  folderCombobox.setDelegate(null);
  folderCombobox.setDataSource(null);
  super.invalidate();
}
origin: iterate-ch/cyberduck

item.setPaletteLabel(quickconnect.label());
item.setToolTip(quickconnect.tooltip());
final NSComboBox button = NSComboBox.textfieldWithFrame(new NSRect(170, 26));
button.setTarget(controller.id());
button.setAction(quickconnect.action());
button.setCompletes(true);
button.cell().setSendsActionOnEndEditing(false);
button.setUsesDataSource(true);
button.setDataSource(quickConnectPopupModel.id());
button.setFocusRingType(NSView.NSFocusRingType.NSFocusRingTypeNone.ordinal());
button.setNumberOfVisibleItems(bookmarks.size() > 10 ? new NSInteger(10) : new NSInteger(bookmarks.size()));
item.setView(button);
item.setMaxSize(new NSSize(button.frame().size.width.doubleValue(), button.frame().size.height.doubleValue()));
return item;
ch.cyberduck.binding.applicationNSComboBox

Most used methods

  • cell
  • frame
  • initWithFrame
  • selectText
  • setAction
  • setCompletes
    Original signature : void setCompletes(BOOL) native declaration : :50
  • setDataSource
    Original signature : void setDataSource(id) native declaration : :54
  • setDelegate
  • setFocusRingType
  • setNumberOfVisibleItems
    Original signature : void setNumberOfVisibleItems(NSInteger) native declaration : :28
  • setStringValue
  • setTarget
  • setStringValue,
  • setTarget,
  • setUsesDataSource,
  • stringValue,
  • textfieldWithFrame

Popular in Java

  • Finding current android device location
  • compareTo (BigDecimal)
  • startActivity (Activity)
  • getContentResolver (Context)
  • GridBagLayout (java.awt)
    The GridBagLayout class is a flexible layout manager that aligns components vertically and horizonta
  • KeyStore (java.security)
    KeyStore is responsible for maintaining cryptographic keys and their owners. The type of the syste
  • Collections (java.util)
    This class consists exclusively of static methods that operate on or return collections. It contains
  • Date (java.util)
    A specific moment in time, with millisecond precision. Values typically come from System#currentTime
  • Response (javax.ws.rs.core)
    Defines the contract between a returned instance and the runtime when an application needs to provid
  • BasicDataSource (org.apache.commons.dbcp)
    Basic implementation of javax.sql.DataSource that is configured via JavaBeans properties. This is no
  • Top Vim 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