org.fcrepo.swing.jtable
Class SortArrowIcon
java.lang.Object
org.fcrepo.swing.jtable.SortArrowIcon
- All Implemented Interfaces:
- Icon
public class SortArrowIcon
- extends Object
- implements Icon
SortArrowIcon.
NOTICE: Portions created by Claude Duguay are Copyright ©
Claude Duguay, originally made available at
http://www.fawcette.com/javapro/2002_08/magazine/columns/visualcomponents/
- Author:
- Claude Duguay, Chris Wilper
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NONE
public static final int NONE
- See Also:
- Constant Field Values
DECENDING
public static final int DECENDING
- See Also:
- Constant Field Values
ASCENDING
public static final int ASCENDING
- See Also:
- Constant Field Values
direction
protected int direction
width
protected int width
height
protected int height
SortArrowIcon
public SortArrowIcon(int direction)
getIconWidth
public int getIconWidth()
- Specified by:
getIconWidth in interface Icon
getIconHeight
public int getIconHeight()
- Specified by:
getIconHeight in interface Icon
paintIcon
public void paintIcon(Component c,
Graphics g,
int x,
int y)
- Specified by:
paintIcon in interface Icon
Copyright © 2012 DuraSpace. All Rights Reserved.