Tabnine Logo
FloatDimension.setHeight
Code IndexAdd Tabnine to your IDE (free)

How to use
setHeight
method
in
org.jfree.ui.FloatDimension

Best Java code snippets using org.jfree.ui.FloatDimension.setHeight (Showing top 3 results out of 315)

origin: jfree/jcommon

/**
 * Sets the size of this <code>Dimension</code> object to the specified 
 * width and height.  This method is included for completeness, to parallel
 * the {@link java.awt.Component#getSize() getSize} method of
 * {@link java.awt.Component}.
 * 
 * @param width  the new width for the <code>Dimension</code> object
 * @param height  the new height for the <code>Dimension</code> object
 */
public void setSize(final double width, final double height) {
  setHeight((float) height);
  setWidth((float) width);
}
origin: org.jfree/jcommon

/**
 * Sets the size of this <code>Dimension</code> object to the specified 
 * width and height.  This method is included for completeness, to parallel
 * the {@link java.awt.Component#getSize() getSize} method of
 * {@link java.awt.Component}.
 * 
 * @param width  the new width for the <code>Dimension</code> object
 * @param height  the new height for the <code>Dimension</code> object
 */
public void setSize(final double width, final double height) {
  setHeight((float) height);
  setWidth((float) width);
}
origin: org.jfree/com.springsource.org.jfree

/**
 * Sets the size of this <code>Dimension</code> object to the specified 
 * width and height.  This method is included for completeness, to parallel
 * the {@link java.awt.Component#getSize() getSize} method of
 * {@link java.awt.Component}.
 * 
 * @param width  the new width for the <code>Dimension</code> object
 * @param height  the new height for the <code>Dimension</code> object
 */
public void setSize(final double width, final double height) {
  setHeight((float) height);
  setWidth((float) width);
}
org.jfree.uiFloatDimensionsetHeight

Javadoc

Sets the height.

Popular methods of FloatDimension

  • getHeight
    Returns the height.
  • getWidth
    Returns the width.
  • setWidth
    Sets the width.
  • <init>
    Creates a new dimension that is a copy of another dimension.

Popular in Java

  • Creating JSON documents from java classes using gson
  • findViewById (Activity)
  • notifyDataSetChanged (ArrayAdapter)
  • onCreateOptionsMenu (Activity)
  • Pointer (com.sun.jna)
    An abstraction for a native pointer data type. A Pointer instance represents, on the Java side, a na
  • Properties (java.util)
    A Properties object is a Hashtable where the keys and values must be Strings. Each property can have
  • SortedMap (java.util)
    A map that has its keys ordered. The sorting is according to either the natural ordering of its keys
  • ExecutorService (java.util.concurrent)
    An Executor that provides methods to manage termination and methods that can produce a Future for tr
  • Reference (javax.naming)
  • JFileChooser (javax.swing)
  • Top 25 Plugins for Webstorm
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now