Tabnine Logo
ArrowPanel.<init>
Code IndexAdd Tabnine to your IDE (free)

How to use
org.jfree.ui.ArrowPanel
constructor

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

origin: jfree/jcommon

/**
 * Creates a new spinner.
 *
 * @param value  the initial value.
 */
public Spinner(final int value) {
  super(new BorderLayout());
  this.value = value;
  this.textField = new JTextField(Integer.toString(this.value));
  this.textField.setHorizontalAlignment(SwingConstants.RIGHT);
  add(this.textField);
  this.buttonPanel = new JPanel(new GridLayout(2, 1, 0, 1));
  this.upButton = new ArrowPanel(ArrowPanel.UP);
  this.upButton.addMouseListener(this);
  this.downButton = new ArrowPanel(ArrowPanel.DOWN);
  this.downButton.addMouseListener(this);
  this.buttonPanel.add(this.upButton);
  this.buttonPanel.add(this.downButton);
  add(this.buttonPanel, BorderLayout.EAST);
}
origin: org.jfree/com.springsource.org.jfree

/**
 * Creates a new spinner.
 *
 * @param value  the initial value.
 */
public Spinner(final int value) {
  super(new BorderLayout());
  this.value = value;
  this.textField = new JTextField(Integer.toString(this.value));
  this.textField.setHorizontalAlignment(SwingConstants.RIGHT);
  add(this.textField);
  this.buttonPanel = new JPanel(new GridLayout(2, 1, 0, 1));
  this.upButton = new ArrowPanel(ArrowPanel.UP);
  this.upButton.addMouseListener(this);
  this.downButton = new ArrowPanel(ArrowPanel.DOWN);
  this.downButton.addMouseListener(this);
  this.buttonPanel.add(this.upButton);
  this.buttonPanel.add(this.downButton);
  add(this.buttonPanel, BorderLayout.EAST);
}
origin: org.jfree/jcommon

/**
 * Creates a new spinner.
 *
 * @param value  the initial value.
 */
public Spinner(final int value) {
  super(new BorderLayout());
  this.value = value;
  this.textField = new JTextField(Integer.toString(this.value));
  this.textField.setHorizontalAlignment(SwingConstants.RIGHT);
  add(this.textField);
  this.buttonPanel = new JPanel(new GridLayout(2, 1, 0, 1));
  this.upButton = new ArrowPanel(ArrowPanel.UP);
  this.upButton.addMouseListener(this);
  this.downButton = new ArrowPanel(ArrowPanel.DOWN);
  this.downButton.addMouseListener(this);
  this.buttonPanel.add(this.upButton);
  this.buttonPanel.add(this.downButton);
  add(this.buttonPanel, BorderLayout.EAST);
}
org.jfree.uiArrowPanel<init>

Javadoc

Creates a new arrow panel.

Popular methods of ArrowPanel

  • addMouseListener
  • getArrow
    Returns a shape for the arrow.
  • getDownArrow
    Returns a down arrow.
  • getInsets
  • getSize
  • getUpArrow
    Returns an up arrow.
  • setPreferredSize

Popular in Java

  • Reactive rest calls using spring rest template
  • compareTo (BigDecimal)
  • getSharedPreferences (Context)
  • getSystemService (Context)
  • MalformedURLException (java.net)
    This exception is thrown when a program attempts to create an URL from an incorrect specification.
  • ByteBuffer (java.nio)
    A buffer for bytes. A byte buffer can be created in either one of the following ways: * #allocate
  • Comparator (java.util)
    A Comparator is used to compare two objects to determine their ordering with respect to each other.
  • LinkedHashMap (java.util)
    LinkedHashMap is an implementation of Map that guarantees iteration order. All optional operations a
  • IOUtils (org.apache.commons.io)
    General IO stream manipulation utilities. This class provides static utility methods for input/outpu
  • Table (org.hibernate.mapping)
    A relational table
  • Top 15 Vim Plugins
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