congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
ArrowPanel.addMouseListener
Code IndexAdd Tabnine to your IDE (free)

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

Best Java code snippets using org.jfree.ui.ArrowPanel.addMouseListener (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.uiArrowPaneladdMouseListener

Popular methods of ArrowPanel

  • <init>
    Creates a new arrow panel.
  • getArrow
    Returns a shape for the arrow.
  • getDownArrow
    Returns a down arrow.
  • getInsets
  • getSize
  • getUpArrow
    Returns an up arrow.
  • setPreferredSize

Popular in Java

  • Running tasks concurrently on multiple threads
  • scheduleAtFixedRate (ScheduledExecutorService)
  • setScale (BigDecimal)
  • setRequestProperty (URLConnection)
  • InputStreamReader (java.io)
    A class for turning a byte stream into a character stream. Data read from the source input stream is
  • System (java.lang)
    Provides access to system-related information and resources including standard input and output. Ena
  • Comparator (java.util)
    A Comparator is used to compare two objects to determine their ordering with respect to each other.
  • GregorianCalendar (java.util)
    GregorianCalendar is a concrete subclass of Calendarand provides the standard calendar used by most
  • ResourceBundle (java.util)
    ResourceBundle is an abstract class which is the superclass of classes which provide Locale-specifi
  • JFileChooser (javax.swing)
  • Top plugins for Android Studio
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