Codota Logo
CombinedRangeXYPlot.fireChangeEvent
Code IndexAdd Codota to your IDE (free)

How to use
fireChangeEvent
method
in
org.jfree.chart.plot.CombinedRangeXYPlot

Best Java code snippets using org.jfree.chart.plot.CombinedRangeXYPlot.fireChangeEvent (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

/**
 * Removes a subplot from the combined chart.
 *
 * @param subplot  the subplot (<code>null</code> not permitted).
 */
public void remove(XYPlot subplot) {
  if (subplot == null) {
    throw new IllegalArgumentException(" Null 'subplot' argument.");
  }
  int position = -1;
  int size = this.subplots.size();
  int i = 0;
  while (position == -1 && i < size) {
    if (this.subplots.get(i) == subplot) {
      position = i;
    }
    i++;
  }
  if (position != -1) {
    this.subplots.remove(position);
    subplot.setParent(null);
    subplot.removeChangeListener(this);
    configureRangeAxes();
    fireChangeEvent();
  }
}
origin: jfree/jfreechart

/**
 * Removes a subplot from the combined chart.
 *
 * @param subplot  the subplot ({@code null} not permitted).
 */
public void remove(XYPlot subplot) {
  Args.nullNotPermitted(subplot, "subplot");
  int position = -1;
  int size = this.subplots.size();
  int i = 0;
  while (position == -1 && i < size) {
    if (this.subplots.get(i) == subplot) {
      position = i;
    }
    i++;
  }
  if (position != -1) {
    this.subplots.remove(position);
    subplot.setParent(null);
    subplot.removeChangeListener(this);
    configureRangeAxes();
    fireChangeEvent();
  }
}
origin: org.codehaus.jtstand/jtstand-chart

/**
 * Adds a subplot with a particular weight (greater than or equal to one).
 * The weight determines how much space is allocated to the subplot
 * relative to all the other subplots.
 * <br><br>
 * You must ensure that the subplot has a non-null domain axis.  The range
 * axis for the subplot will be set to <code>null</code>.
 *
 * @param subplot  the subplot.
 * @param weight  the weight (must be 1 or greater).
 */
public void add(XYPlot subplot, int weight) {
  // verify valid weight
  if (weight <= 0) {
    String msg = "The 'weight' must be positive.";
    throw new IllegalArgumentException(msg);
  }
  // store the plot and its weight
  subplot.setParent(this);
  subplot.setWeight(weight);
  subplot.setInsets(new RectangleInsets(0.0, 0.0, 0.0, 0.0));
  subplot.setRangeAxis(null);
  subplot.addChangeListener(this);
  this.subplots.add(subplot);
  configureRangeAxes();
  fireChangeEvent();
}
origin: jfree/jfreechart

/**
 * Adds a subplot with a particular weight (greater than or equal to one).
 * The weight determines how much space is allocated to the subplot
 * relative to all the other subplots.
 * <br><br>
 * You must ensure that the subplot has a non-null domain axis.  The range
 * axis for the subplot will be set to {@code null}.
 *
 * @param subplot  the subplot ({@code null} not permitted).
 * @param weight  the weight (must be 1 or greater).
 */
public void add(XYPlot subplot, int weight) {
  Args.nullNotPermitted(subplot, "subplot");
  if (weight <= 0) {
    String msg = "The 'weight' must be positive.";
    throw new IllegalArgumentException(msg);
  }
  // store the plot and its weight
  subplot.setParent(this);
  subplot.setWeight(weight);
  subplot.setInsets(new RectangleInsets(0.0, 0.0, 0.0, 0.0));
  subplot.setRangeAxis(null);
  subplot.addChangeListener(this);
  this.subplots.add(subplot);
  configureRangeAxes();
  fireChangeEvent();
}
org.jfree.chart.plotCombinedRangeXYPlotfireChangeEvent

Popular methods of CombinedRangeXYPlot

  • add
    Adds a subplot with a particular weight (greater than or equal to one). The weight determines how mu
  • calculateAxisSpace
    Calculates the space required for the axes.
  • configureRangeAxes
  • findSubplot
    Returns the subplot (if any) that contains the (x, y) point (specified in Java2D space).
  • getFixedLegendItems
  • getFixedRangeAxisSpace
  • getInsets
  • getOrientation
  • getRangeAxis
  • getRangeAxisEdge
  • getRangeAxisLocation
  • getSubplots
    Returns the list of subplots. The returned list may be empty, but is never null.
  • getRangeAxisLocation,
  • getSubplots,
  • notifyListeners,
  • setFixedDomainAxisSpaceForSubplots,
  • zoomDomainAxes,
  • <init>,
  • setNotify,
  • setOrientation

Popular in Java

  • Updating database using SQL prepared statement
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • runOnUiThread (Activity)
  • getApplicationContext (Context)
  • FileReader (java.io)
    A specialized Reader that reads from a file in the file system. All read requests made by calling me
  • InputStream (java.io)
    A readable source of bytes.Most clients will use input streams that read data from the file system (
  • Collections (java.util)
    This class consists exclusively of static methods that operate on or return collections. It contains
  • Date (java.util)
    A specific moment in time, with millisecond precision. Values typically come from System#currentTime
  • ResourceBundle (java.util)
    Resource bundles contain locale-specific objects. When your program needs a locale-specific resource
  • LoggerFactory (org.slf4j)
    The LoggerFactory is a utility class producing Loggers for various logging APIs, most notably for lo
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