| java.lang.Object org.jfree.ui.BevelArrowIcon
BevelArrowIcon | public class BevelArrowIcon implements Icon(Code) | | An arrow icon that can point up or down (usually used to indicate the sort direction in a table).
This class (and also SortButtonRenderer) is based on original code by Nobuo Tamemasa (version
1.0, 26-Feb-1999) posted on www.codeguru.com.
author: Nobuo Tamemasa |
Field Summary | |
final public static int | DOWN Constant indicating that the arrow is pointing down. | final public static int | UP Constant indicating that the arrow is pointing up. |
Constructor Summary | |
public | BevelArrowIcon(int direction, boolean isRaisedView, boolean isPressedView) Standard constructor - builds an icon with the specified attributes. | public | BevelArrowIcon(Color edge1, Color edge2, Color fill, int size, int direction) Standard constructor - builds an icon with the specified attributes. |
DOWN | final public static int DOWN(Code) | | Constant indicating that the arrow is pointing down.
|
UP | final public static int UP(Code) | | Constant indicating that the arrow is pointing up.
|
BevelArrowIcon | public BevelArrowIcon(int direction, boolean isRaisedView, boolean isPressedView)(Code) | | Standard constructor - builds an icon with the specified attributes.
Parameters: direction - . Parameters: isRaisedView - . Parameters: isPressedView - . |
BevelArrowIcon | public BevelArrowIcon(Color edge1, Color edge2, Color fill, int size, int direction)(Code) | | Standard constructor - builds an icon with the specified attributes.
Parameters: edge1 - the color of edge1. Parameters: edge2 - the color of edge2. Parameters: fill - the fill color. Parameters: size - the size of the arrow icon. Parameters: direction - the direction that the arrow points. |
getIconHeight | public int getIconHeight()(Code) | | Returns the height of the icon. Supports the Icon interface.
the icon height. |
getIconWidth | public int getIconWidth()(Code) | | Returns the width of the icon. Supports the Icon interface.
the icon width. |
paintIcon | public void paintIcon(Component c, Graphics g, int x, int y)(Code) | | Paints the icon at the specified position. Supports the Icon interface.
Parameters: c - . Parameters: g - . Parameters: x - . Parameters: y - . |
|
|