Codota Logo
ArrowPanel.getArrow
Code IndexAdd Codota to your IDE (free)

How to use
getArrow
method
in
org.jfree.ui.ArrowPanel

Best Java code snippets using org.jfree.ui.ArrowPanel.getArrow (Showing top 3 results out of 315)

  • Common ways to obtain ArrowPanel
private void myMethod () {
ArrowPanel a =
  • Codota Iconnew ArrowPanel(type)
  • Smart code suggestions by Codota
}
origin: jfree/jcommon

/**
 * Paints the arrow panel.
 *
 * @param g  the graphics device for drawing on.
 */
public void paintComponent(final Graphics g) {
  super.paintComponent(g);
  final Graphics2D g2 = (Graphics2D) g;
  // first determine the size of the drawing area...
  final Dimension size = getSize();
  final Insets insets = getInsets();
  this.available.setRect(insets.left, insets.top,
              size.getWidth() - insets.left - insets.right,
              size.getHeight() - insets.top - insets.bottom);
  g2.translate(insets.left, insets.top);
  g2.fill(getArrow(this.type));
}
origin: org.jfree/jcommon

/**
 * Paints the arrow panel.
 *
 * @param g  the graphics device for drawing on.
 */
public void paintComponent(final Graphics g) {
  super.paintComponent(g);
  final Graphics2D g2 = (Graphics2D) g;
  // first determine the size of the drawing area...
  final Dimension size = getSize();
  final Insets insets = getInsets();
  this.available.setRect(insets.left, insets.top,
              size.getWidth() - insets.left - insets.right,
              size.getHeight() - insets.top - insets.bottom);
  g2.translate(insets.left, insets.top);
  g2.fill(getArrow(this.type));
}
origin: org.jfree/com.springsource.org.jfree

/**
 * Paints the arrow panel.
 *
 * @param g  the graphics device for drawing on.
 */
public void paintComponent(final Graphics g) {
  super.paintComponent(g);
  final Graphics2D g2 = (Graphics2D) g;
  // first determine the size of the drawing area...
  final Dimension size = getSize();
  final Insets insets = getInsets();
  this.available.setRect(insets.left, insets.top,
              size.getWidth() - insets.left - insets.right,
              size.getHeight() - insets.top - insets.bottom);
  g2.translate(insets.left, insets.top);
  g2.fill(getArrow(this.type));
}
org.jfree.uiArrowPanelgetArrow

Javadoc

Returns a shape for the arrow.

Popular methods of ArrowPanel

  • <init>
    Creates a new arrow panel.
  • addMouseListener
  • getDownArrow
    Returns a down arrow.
  • getInsets
  • getSize
  • getUpArrow
    Returns an up arrow.
  • setPreferredSize

Popular in Java

  • Reading from database using SQL prepared statement
  • findViewById (Activity)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • getExternalFilesDir (Context)
  • ObjectMapper (com.fasterxml.jackson.databind)
    This mapper (or, data binder, or codec) provides functionality for converting between Java objects (
  • PrintWriter (java.io)
    Prints formatted representations of objects to a text-output stream. This class implements all of th
  • BigInteger (java.math)
    Immutable arbitrary-precision integers. All operations behave as if BigIntegers were represented in
  • GregorianCalendar (java.util)
    GregorianCalendar is a concrete subclass of Calendarand provides the standard calendar used by most
  • JOptionPane (javax.swing)
  • Location (org.springframework.beans.factory.parsing)
    Class that models an arbitrary location in a Resource.Typically used to track the location of proble
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