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

  • Start an intent from android
  • putExtra (Intent)
  • getResourceAsStream (ClassLoader)
  • findViewById (Activity)
  • Component (java.awt)
    A component is an object having a graphical representation that can be displayed on the screen and t
  • Date (java.sql)
    A class which can consume and produce dates in SQL Date format. Dates are represented in SQL as yyyy
  • ArrayList (java.util)
    ArrayList is an implementation of List, backed by an array. All optional operations including adding
  • Comparator (java.util)
    A Comparator is used to compare two objects to determine their ordering with respect to each other.
  • Stack (java.util)
    Stack is a Last-In/First-Out(LIFO) data structure which represents a stack of objects. It enables u
  • BasicDataSource (org.apache.commons.dbcp)
    Basic implementation of javax.sql.DataSource that is configured via JavaBeans properties. This is no
  • Top Sublime Text 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