Tabnine Logo
NSFont.smallSystemFontSize
Code IndexAdd Tabnine to your IDE (free)

How to use
smallSystemFontSize
method
in
ch.cyberduck.binding.application.NSFont

Best Java code snippets using ch.cyberduck.binding.application.NSFont.smallSystemFontSize (Showing top 4 results out of 315)

origin: iterate-ch/cyberduck

@Action
public void setStatusLabel(NSTextField statusLabel) {
  this.statusLabel = statusLabel;
  this.statusLabel.setFont(NSFont.monospacedDigitSystemFontOfSize(NSFont.smallSystemFontSize()));
}
origin: iterate-ch/cyberduck

public void setProgressField(final NSTextField f) {
  this.progressField = f;
  this.progressField.setEditable(false);
  this.progressField.setSelectable(false);
  this.progressField.setTextColor(NSColor.controlTextColor());
  this.progressField.setFont(NSFont.monospacedDigitSystemFontOfSize(NSFont.smallSystemFontSize()));
}
origin: iterate-ch/cyberduck

  /**
   * @param value     Existing attributes
   * @param hyperlink URL
   * @return Clickable and underlined string to put into text field.
   */
  private static NSAttributedString create(final NSMutableAttributedString value, final String hyperlink) {
    final NSRange range = NSRange.NSMakeRange(new NSUInteger(0), value.length());
    value.beginEditing();
    value.addAttributeInRange(NSMutableAttributedString.LinkAttributeName,
        hyperlink, range);
    // make the text appear in blue
    value.addAttributeInRange(NSMutableAttributedString.ForegroundColorAttributeName,
        NSColor.blueColor(), range);
    // system font
    value.addAttributeInRange(NSMutableAttributedString.FontAttributeName,
        NSFont.systemFontOfSize(NSFont.smallSystemFontSize()), range);
    // next make the text appear with an underline
    value.addAttributeInRange(NSMutableAttributedString.UnderlineStyleAttributeName,
        NSNumber.numberWithInt(NSMutableAttributedString.SingleUnderlineStyle), range);
    value.endEditing();
    return value;
  }
}
origin: iterate-ch/cyberduck

public void setAclTable(final NSTableView t) {
  this.aclTable = t;
  this.aclTable.setAllowsMultipleSelection(true);
  this.aclPermissionCellPrototype.setFont(NSFont.systemFontOfSize(NSFont.smallSystemFontSize()));
  this.aclPermissionCellPrototype.setControlSize(NSCell.NSSmallControlSize);
  this.aclPermissionCellPrototype.setCompletes(false);
ch.cyberduck.binding.applicationNSFontsmallSystemFontSize

Popular methods of NSFont

  • systemFontOfSize
    UI font settings Original signature : NSFont* systemFontOfSize(CGFloat) Aqua System font native decl
  • monospacedDigitSystemFontOfSize
  • userFixedPitchFontOfSize
    Original signature : NSFont* userFixedPitchFontOfSize(CGFloat) Aqua fixed-pitch font native declarat

Popular in Java

  • Start an intent from android
  • findViewById (Activity)
  • setScale (BigDecimal)
  • onRequestPermissionsResult (Fragment)
  • URLEncoder (java.net)
    This class is used to encode a string using the format required by application/x-www-form-urlencoded
  • NumberFormat (java.text)
    The abstract base class for all number formats. This class provides the interface for formatting and
  • StringTokenizer (java.util)
    Breaks a string into tokens; new code should probably use String#split.> // Legacy code: StringTo
  • ReentrantLock (java.util.concurrent.locks)
    A reentrant mutual exclusion Lock with the same basic behavior and semantics as the implicit monitor
  • ZipFile (java.util.zip)
    This class provides random read access to a zip file. You pay more to read the zip file's central di
  • LoggerFactory (org.slf4j)
    The LoggerFactory is a utility class producing Loggers for various logging APIs, most notably for lo
  • 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