Codota Logo
ShortTextTitle.arrangeFN
Code IndexAdd Codota to your IDE (free)

How to use
arrangeFN
method
in
org.jfree.chart.title.ShortTextTitle

Best Java code snippets using org.jfree.chart.title.ShortTextTitle.arrangeFN (Showing top 4 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
StringBuilder s =
  • Codota Iconnew StringBuilder()
  • Codota Iconnew StringBuilder(32)
  • Codota IconString str;new StringBuilder(str)
  • Smart code suggestions by Codota
}
origin: org.codehaus.jtstand/jtstand-chart

/**
 * Arranges the content for this title assuming a range constraint for the
 * width and no bounds on the height, and returns the required size.
 *
 * @param g2  the graphics target.
 * @param widthRange  the range for the width.
 *
 * @return The content size.
 */
protected Size2D arrangeRN(Graphics2D g2, Range widthRange) {
  Size2D s = arrangeNN(g2);
  if (widthRange.contains(s.getWidth())) {
    return s;
  }
  double ww = widthRange.constrain(s.getWidth());
  return arrangeFN(g2, ww);
}
origin: jfree/jfreechart

/**
 * Arranges the content for this title assuming a range constraint for the
 * width and no bounds on the height, and returns the required size.
 *
 * @param g2  the graphics target.
 * @param widthRange  the range for the width.
 *
 * @return The content size.
 */
@Override
protected Size2D arrangeRN(Graphics2D g2, Range widthRange) {
  Size2D s = arrangeNN(g2);
  if (widthRange.contains(s.getWidth())) {
    return s;
  }
  double ww = widthRange.constrain(s.getWidth());
  return arrangeFN(g2, ww);
}
origin: jfree/jfreechart

contentSize = arrangeFN(g2, cc.getWidth());
origin: org.codehaus.jtstand/jtstand-chart

contentSize = arrangeFN(g2, cc.getWidth());
org.jfree.chart.titleShortTextTitlearrangeFN

Javadoc

Arranges the content for this title assuming a fixed width and no bounds on the height, and returns the required size. This will reflect the fact that a text title positioned on the left or right of a chart will be rotated by 90 degrees.

Popular methods of ShortTextTitle

  • arrangeNN
    Arranges the content for this title assuming no bounds on the width or the height, and returns the r
  • arrangeRN
    Arranges the content for this title assuming a range constraint for the width and no bounds on the h
  • arrangeRR
    Returns the content size for the title.
  • calculateTotalHeight
  • calculateTotalWidth
  • drawBorder
  • getFont
  • getPaint
  • getText
  • setText
  • toContentConstraint
  • trimBorder
  • toContentConstraint,
  • trimBorder,
  • trimMargin,
  • trimPadding,
  • <init>

Popular in Java

  • Finding current android device location
  • onCreateOptionsMenu (Activity)
  • getSystemService (Context)
  • findViewById (Activity)
  • Window (java.awt)
    A Window object is a top-level window with no borders and no menubar. The default layout for a windo
  • DecimalFormat (java.text)
    DecimalFormat is a concrete subclass ofNumberFormat that formats decimal numbers. It has a variety o
  • ArrayList (java.util)
    Resizable-array implementation of the List interface. Implements all optional list operations, and p
  • Response (javax.ws.rs.core)
    Defines the contract between a returned instance and the runtime when an application needs to provid
  • Base64 (org.apache.commons.codec.binary)
    Provides Base64 encoding and decoding as defined by RFC 2045.This class implements section 6.8. Base
  • Logger (org.apache.log4j)
    This is the central class in the log4j package. Most logging operations, except configuration, are d
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now