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

  • Start an intent from android
  • getApplicationContext (Context)
  • onCreateOptionsMenu (Activity)
  • compareTo (BigDecimal)
  • RandomAccessFile (java.io)
    Allows reading from and writing to a file in a random-access manner. This is different from the uni-
  • ConnectException (java.net)
    A ConnectException is thrown if a connection cannot be established to a remote host on a specific po
  • Permission (java.security)
    Legacy security code; do not use.
  • NumberFormat (java.text)
    The abstract base class for all number formats. This class provides the interface for formatting and
  • BlockingQueue (java.util.concurrent)
    A java.util.Queue that additionally supports operations that wait for the queue to become non-empty
  • Collectors (java.util.stream)
  • Top 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