org.jfree.ui

Class ArrowPanel

public class ArrowPanel extends JPanel

A basic panel that displays a small up or down arrow.

Author: David Gilbert

Field Summary
static intDOWN
A constant for the down arrow.
static intUP
A constant for the up arrow.
Constructor Summary
ArrowPanel(int type)
Creates a new arrow panel.
Method Summary
voidpaintComponent(Graphics g)
Paints the arrow panel.

Field Detail

DOWN

public static final int DOWN
A constant for the down arrow.

UP

public static final int UP
A constant for the up arrow.

Constructor Detail

ArrowPanel

public ArrowPanel(int type)
Creates a new arrow panel.

Parameters: type the arrow type.

Method Detail

paintComponent

public void paintComponent(Graphics g)
Paints the arrow panel.

Parameters: g the graphics device for drawing on.