Tabnine Logo
PlotOrientation.equals
Code IndexAdd Tabnine to your IDE (free)

How to use
equals
method
in
org.jfree.chart.plot.PlotOrientation

Best Java code snippets using org.jfree.chart.plot.PlotOrientation.equals (Showing top 10 results out of 315)

origin: jfree/jfreechart

/**
 * Returns {@code true} if this orientation is {@code HORIZONTAL},
 * and {@code false} otherwise.  
 * 
 * @return A boolean.
 * 
 * @since 1.0.18
 */
public boolean isHorizontal() {
  return this.equals(PlotOrientation.HORIZONTAL);
}
 
origin: jfree/jfreechart

/**
 * Returns {@code true} if this orientation is {@code VERTICAL},
 * and {@code false} otherwise.
 * 
 * @return A boolean.
 * 
 * @since 1.0.18
 */
public boolean isVertical() {
  return this.equals(PlotOrientation.VERTICAL);
}
origin: org.codehaus.jtstand/jtstand-chart

/**
 * Ensures that serialization returns the unique instances.
 *
 * @return The object.
 *
 * @throws ObjectStreamException if there is a problem.
 */
private Object readResolve() throws ObjectStreamException {
  Object result = null;
  if (this.equals(PlotOrientation.HORIZONTAL)) {
    result = PlotOrientation.HORIZONTAL;
  }
  else if (this.equals(PlotOrientation.VERTICAL)) {
    result = PlotOrientation.VERTICAL;
  }
  return result;
}
origin: jfree/jfreechart

boolean isVertical = this.plotOrientation.equals(
    PlotOrientation.VERTICAL);
int index = isVertical ? ORIENTATION_VERTICAL
origin: org.codehaus.jtstand/jtstand-chart

boolean isVertical = this.plotOrientation.equals(
    PlotOrientation.VERTICAL);
int index = isVertical ? ORIENTATION_VERTICAL
origin: org.codehaus.jtstand/jtstand-chart

Rectangle2D block;
PlotOrientation orientation = plot.getOrientation();
if (orientation.equals(PlotOrientation.HORIZONTAL)) {
  block = new Rectangle2D.Double(Math.min(yy0, yy1),
      Math.min(xx0, xx1), Math.abs(yy1 - yy0),
origin: jfree/jfreechart

Line2D line;
PlotOrientation orientation = plot.getOrientation();
if (orientation.equals(PlotOrientation.HORIZONTAL)) {
  line = new Line2D.Double(yy0, xx0, yy1, xx1);
origin: org.codehaus.jtstand/jtstand-chart

Line2D line;
PlotOrientation orientation = plot.getOrientation();
if (orientation.equals(PlotOrientation.HORIZONTAL)) {
  line = new Line2D.Double(yy0, xx0, yy1, xx1);
origin: jfree/jfreechart

Rectangle2D block;
PlotOrientation orientation = plot.getOrientation();
if (orientation.equals(PlotOrientation.HORIZONTAL)) {
  block = new Rectangle2D.Double(Math.min(yy0, yy1),
      Math.min(xx0, xx1), Math.abs(yy1 - yy0),
origin: jfree/eastwood

GCategoryPlot plot = new GCategoryPlot();
plot.setOrientation(orientation);
if (orientation.equals(PlotOrientation.HORIZONTAL)) {
  plot.setColumnRenderingOrder(SortOrder.DESCENDING);
org.jfree.chart.plotPlotOrientationequals

Javadoc

Returns true if this object is equal to the specified object, and false otherwise.

Popular methods of PlotOrientation

  • isHorizontal
    Returns true if this orientation is HORIZONTAL, and false otherwise.
  • isVertical
    Returns true if this orientation is VERTICAL, and false otherwise.
  • toString
    Returns a string representing the object.

Popular in Java

  • Creating JSON documents from java classes using gson
  • scheduleAtFixedRate (Timer)
  • onCreateOptionsMenu (Activity)
  • getSystemService (Context)
  • FlowLayout (java.awt)
    A flow layout arranges components in a left-to-right flow, much like lines of text in a paragraph. F
  • GridBagLayout (java.awt)
    The GridBagLayout class is a flexible layout manager that aligns components vertically and horizonta
  • BufferedInputStream (java.io)
    A BufferedInputStream adds functionality to another input stream-namely, the ability to buffer the i
  • ThreadPoolExecutor (java.util.concurrent)
    An ExecutorService that executes each submitted task using one of possibly several pooled threads, n
  • JarFile (java.util.jar)
    JarFile is used to read jar entries and their associated data from jar files.
  • Reflections (org.reflections)
    Reflections one-stop-shop objectReflections scans your classpath, indexes the metadata, allows you t
  • Best IntelliJ 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