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

How to use
FontDisplayField
in
org.jfree.ui

Best Java code snippets using org.jfree.ui.FontDisplayField (Showing top 8 results out of 315)

origin: jfree/jcommon

/**
 * Sets the font.
 *
 * @param font  the font.
 */
public void setDisplayFont(final Font font) {
  this.displayFont = font;
  setText(fontToString(this.displayFont));
}
origin: jfree/jcommon

/**
 * Standard constructor - builds a FontDescriptionField initialised with
 * the specified font.
 *
 * @param font  the font.
 */
public FontDisplayField(final Font font) {
  super("");
  setDisplayFont(font);
  setEnabled(false);
}
origin: org.codehaus.jtstand/jtstand-chart

this.fontfield = new FontDisplayField(this.titleFont);
this.selectFontButton = new JButton(
  localizationResources.getString("Select...")
origin: org.codehaus.jtstand/jtstand-chart

this.labelFontField = new FontDisplayField(this.labelFont);
interior.add(this.labelFontField);
JButton b = new JButton(localizationResources.getString("Select..."));
  new JLabel(localizationResources.getString("Tick_label_font"))
);
this.tickLabelFontField = new FontDisplayField(this.tickLabelFont);
ticks.add(this.tickLabelFontField);
b = new JButton(localizationResources.getString("Select..."));
origin: org.jfree/jcommon

/**
 * Standard constructor - builds a FontDescriptionField initialised with
 * the specified font.
 *
 * @param font  the font.
 */
public FontDisplayField(final Font font) {
  super("");
  setDisplayFont(font);
  setEnabled(false);
}
origin: org.jfree/jcommon

/**
 * Sets the font.
 *
 * @param font  the font.
 */
public void setDisplayFont(final Font font) {
  this.displayFont = font;
  setText(fontToString(this.displayFont));
}
origin: org.jfree/com.springsource.org.jfree

/**
 * Standard constructor - builds a FontDescriptionField initialised with the specified font.
 *
 * @param font  the font.
 */
public FontDisplayField(final Font font) {
  super("");
  setDisplayFont(font);
  setEnabled(false);
}
origin: org.jfree/com.springsource.org.jfree

/**
 * Sets the font.
 *
 * @param font  the font.
 */
public void setDisplayFont(final Font font) {
  this.displayFont = font;
  setText(fontToString(this.displayFont));
}
org.jfree.uiFontDisplayField

Javadoc

A field for displaying a font selection. The display field itself is read-only, to the developer must provide another mechanism to allow the user to change the font.

Most used methods

  • fontToString
    Returns a string representation of the specified font.
  • setDisplayFont
    Sets the font.
  • setEnabled
  • setText
  • <init>
    Standard constructor - builds a FontDescriptionField initialised with the specified font.

Popular in Java

  • Running tasks concurrently on multiple threads
  • addToBackStack (FragmentTransaction)
  • setContentView (Activity)
  • getSystemService (Context)
  • ResultSet (java.sql)
    An interface for an object which represents a database table entry, returned as the result of the qu
  • DateFormat (java.text)
    Formats or parses dates and times.This class provides factories for obtaining instances configured f
  • Date (java.util)
    A specific moment in time, with millisecond precision. Values typically come from System#currentTime
  • Scanner (java.util)
    A parser that parses a text string of primitive types and strings with the help of regular expressio
  • TimeZone (java.util)
    TimeZone represents a time zone offset, and also figures out daylight savings. Typically, you get a
  • UUID (java.util)
    UUID is an immutable representation of a 128-bit universally unique identifier (UUID). There are mul
  • CodeWhisperer alternatives
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