org.jfree.ui
Class Spinner
- MouseListener
extends JPanel
implements MouseListener
A very basic spinner component, used for demo purposes only.
Spinner(int value) - Creates a new spinner.
|
int | getValue() - Returns the current value.
|
void | mouseClicked(MouseEvent e) - Receives notification of mouse clicks.
|
void | mouseEntered(MouseEvent e) - Receives notification of mouse events.
|
void | mouseExited(MouseEvent e) - Receives notification of mouse events.
|
void | mousePressed(MouseEvent e) - Receives notification of mouse events.
|
void | mouseReleased(MouseEvent e) - Receives notification of mouse events.
|
Spinner
public Spinner(int value)
Creates a new spinner.
value
- the initial value.
getValue
public int getValue()
Returns the current value.
mouseClicked
public void mouseClicked(MouseEvent e)
Receives notification of mouse clicks.
mouseEntered
public void mouseEntered(MouseEvent e)
Receives notification of mouse events.
mouseExited
public void mouseExited(MouseEvent e)
Receives notification of mouse events.
mousePressed
public void mousePressed(MouseEvent e)
Receives notification of mouse events.
mouseReleased
public void mouseReleased(MouseEvent e)
Receives notification of mouse events.