Package jadex.commons.gui.jtable
Class SortArrowIcon
- java.lang.Object
-
- jadex.commons.gui.jtable.SortArrowIcon
-
- All Implemented Interfaces:
javax.swing.Icon
public class SortArrowIcon extends java.lang.Object implements javax.swing.Icon
-
-
Constructor Summary
Constructors Constructor Description SortArrowIcon(int direction)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getIconHeight()
int
getIconWidth()
void
paintIcon(java.awt.Component c, java.awt.Graphics g, int x, int y)
-
-
-
Field Detail
-
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
-
-
Method Detail
-
getIconWidth
public int getIconWidth()
- Specified by:
getIconWidth
in interfacejavax.swing.Icon
-
getIconHeight
public int getIconHeight()
- Specified by:
getIconHeight
in interfacejavax.swing.Icon
-
paintIcon
public void paintIcon(java.awt.Component c, java.awt.Graphics g, int x, int y)
- Specified by:
paintIcon
in interfacejavax.swing.Icon
-
-