congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
RectangleInsets.<init>
Code IndexAdd Tabnine to your IDE (free)

How to use
org.jfree.ui.RectangleInsets
constructor

Best Java code snippets using org.jfree.ui.RectangleInsets.<init> (Showing top 20 results out of 495)

origin: jenkinsci/jenkins

protected void crop(CategoryPlot plot) {
  // crop extra space around the graph
  plot.setInsets(new RectangleInsets(0, 0, 0, 5.0));
}
origin: jenkinsci/jenkins

plot.setInsets(new RectangleInsets(0, 0, 0, 5.0));
origin: jenkinsci/jenkins

plot.setInsets(new RectangleInsets(0, 0, 0, 5.0));
origin: org.codehaus.jtstand/jtstand-chart

/**
 * Creates a new border with the specified line widths (in black).
 *
 * @param top  the width of the top border.
 * @param left  the width of the left border.
 * @param bottom  the width of the bottom border.
 * @param right  the width of the right border.
 */
public BlockBorder(double top, double left, double bottom, double right) {
  this(new RectangleInsets(top, left, bottom, right), Color.black);
}
origin: org.codehaus.jtstand/jtstand-chart

/**
 * Returns the current plot insets.
 *
 * @return The current plot insets.
 */
public RectangleInsets getPlotInsets() {
  if (this.plotInsets == null) {
    this.plotInsets = new RectangleInsets(0.0, 0.0, 0.0, 0.0);
  }
  return this.plotInsets;
}
origin: org.codehaus.jtstand/jtstand-chart

/**
 * Returns the current tick label insets value
 *
 * @return The current tick label insets value.
 */
public RectangleInsets getTickLabelInsets() {
  return (this.tickLabelInsets == null)
    ? new RectangleInsets(0, 0, 0, 0)
    : this.tickLabelInsets;
}
origin: org.codehaus.jtstand/jtstand-chart

/**
 * Creates a new border with the specified color.
 *
 * @param paint  the color (<code>null</code> not permitted).
 */
public BlockBorder(Paint paint) {
  this(new RectangleInsets(1, 1, 1, 1), paint);
}
origin: org.codehaus.jtstand/jtstand-chart

/**
 * Returns the current label insets value
 *
 * @return The current label insets value.
 */
public RectangleInsets getLabelInsets() {
  return (this.labelInsets == null)
    ? new RectangleInsets(0, 0, 0, 0) : this.labelInsets;
}
origin: org.codehaus.jtstand/jtstand-chart

/**
 * Creates a new border with the specified line widths (in black).
 *
 * @param top  the width of the top border.
 * @param left  the width of the left border.
 * @param bottom  the width of the bottom border.
 * @param right  the width of the right border.
 * @param paint  the border paint (<code>null</code> not permitted).
 */
public BlockBorder(double top, double left, double bottom, double right,
          Paint paint) {
  this(new RectangleInsets(top, left, bottom, right), paint);
}
origin: psi-probe/psi-probe

chart.getXYPlot().setDomainAxis(0, new DateAxis());
chart.getXYPlot().setDomainAxis(1, new DateAxis());
chart.getXYPlot().setInsets(new RectangleInsets(-15, 0, 0, 10));
origin: org.codehaus.jtstand/jtstand-chart

/**
 * Creates a default border.
 */
public LineBorder() {
  this(Color.black, new BasicStroke(1.0f), new RectangleInsets(1.0, 1.0,
      1.0, 1.0));
}
origin: org.codehaus.jtstand/jtstand-chart

/**
 * Sets the padding.
 *
 * @param top  the top padding.
 * @param left  the left padding.
 * @param bottom  the bottom padding.
 * @param right  the right padding.
 */
public void setPadding(double top, double left, double bottom,
            double right) {
  setPadding(new RectangleInsets(top, left, bottom, right));
}
origin: org.jenkins-ci.main/jenkins-core

protected void crop(CategoryPlot plot) {
  // crop extra space around the graph
  plot.setInsets(new RectangleInsets(0, 0, 0, 5.0));
}
origin: org.codehaus.jtstand/jtstand-chart

/**
 * Sets the margin.
 *
 * @param top  the top margin.
 * @param left  the left margin.
 * @param bottom  the bottom margin.
 * @param right  the right margin.
 *
 * @see #getMargin()
 */
public void setMargin(double top, double left, double bottom,
           double right) {
  setMargin(new RectangleInsets(top, left, bottom, right));
}
origin: stackoverflow.com

 private void createChartPanel() {
  …
  JFreeChart chart = new JFreeChart("BoxAndWhiskerDemo", plot);
  LegendTitle legend = chart.getLegend();
  legend.setFrame(new LineBorder(Color.white, new BasicStroke(1.0f),
    new RectangleInsets(1.0, 1.0, 1.0, 1.0)));
  legend.setItemFont(legend.getItemFont().deriveFont(16f));
  chartPanel = new ChartPanel(chart);
}
origin: afranken/jmeter-analysis-maven-plugin

private static <T extends XYPlot> T defaultPlot(T plot) {
  plot.setOutlineVisible(false);
  plot.setInsets(new RectangleInsets(5, 5, 5, 30));
  plot.setBackgroundAlpha(0.0f);
  return plot;
}
origin: senbox-org/snap-desktop

private void setLegend(JFreeChart chart) {
  chart.removeLegend();
  final LegendTitle legend = new LegendTitle(new SpectrumLegendItemSource());
  legend.setPosition(RectangleEdge.BOTTOM);
  LineBorder border = new LineBorder(Color.BLACK, new BasicStroke(), new RectangleInsets(2, 2, 2, 2));
  legend.setFrame(border);
  chart.addLegend(legend);
}
origin: bcdev/beam

private void setLegend(JFreeChart chart) {
  chart.removeLegend();
  final LegendTitle legend = new LegendTitle(new SpectrumLegendItemSource());
  legend.setPosition(RectangleEdge.BOTTOM);
  LineBorder border = new LineBorder(Color.BLACK, new BasicStroke(), new RectangleInsets(2, 2, 2, 2));
  legend.setFrame(border);
  chart.addLegend(legend);
}
origin: dhis2/dhis2-core

/**
 * Returns a horizontal line marker for the given x value and label.
 */
private Marker getMarker( Double value, String label )
{
  Marker marker = new ValueMarker( value );
  marker.setPaint( Color.BLACK );
  marker.setStroke( new BasicStroke( 1.1f ) );
  marker.setLabel( label );
  marker.setLabelOffset( new RectangleInsets( -10, 50, 0, 0 ) );
  marker.setLabelFont( SUB_TITLE_FONT );
  return marker;
}
origin: com.xpn.xwiki.platform/xwiki-core

  @Override
  public Object convert(String value) throws ParamException
  {
    Map map = parseMap(value, 4);
    return new RectangleInsets(getDoubleArg(map, "top"), getDoubleArg(map, "left"), getDoubleArg(map, "bottom"),
      getDoubleArg(map, "right"));
  }
}
org.jfree.uiRectangleInsets<init>

Javadoc

Creates a new instance with all insets initialised to 1.0.

Popular methods of RectangleInsets

  • calculateBottomInset
    Returns the bottom margin.
  • calculateBottomOutset
    Returns the bottom margin.
  • calculateLeftInset
    Returns the left margin.
  • calculateLeftOutset
    Returns the left margin.
  • calculateRightInset
    Returns the right margin.
  • calculateRightOutset
    Returns the right margin.
  • calculateTopInset
    Returns the top margin.
  • calculateTopOutset
    Returns the top margin.
  • createInsetRectangle
    Creates an 'inset' rectangle.
  • createOutsetRectangle
    Creates an outset rectangle.
  • extendHeight
    Extends the given height to allow for the insets.
  • extendWidth
    Extends the given width to allow for the insets.
  • extendHeight,
  • extendWidth,
  • hashCode,
  • getBottom,
  • getTop,
  • trim,
  • createAdjustedRectangle,
  • equals,
  • getLeft

Popular in Java

  • Parsing JSON documents to java classes using gson
  • setRequestProperty (URLConnection)
  • compareTo (BigDecimal)
  • addToBackStack (FragmentTransaction)
  • ObjectMapper (com.fasterxml.jackson.databind)
    ObjectMapper provides functionality for reading and writing JSON, either to and from basic POJOs (Pl
  • Proxy (java.net)
    This class represents proxy server settings. A created instance of Proxy stores a type and an addres
  • URI (java.net)
    A Uniform Resource Identifier that identifies an abstract or physical resource, as specified by RFC
  • Time (java.sql)
    Java representation of an SQL TIME value. Provides utilities to format and parse the time's represen
  • Scanner (java.util)
    A parser that parses a text string of primitive types and strings with the help of regular expressio
  • ReentrantLock (java.util.concurrent.locks)
    A reentrant mutual exclusion Lock with the same basic behavior and semantics as the implicit monitor
  • Top PhpStorm 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