com.pallas.swing.spinner
Class ButtonArrowIcon
java.lang.Object
|
+--com.pallas.swing.spinner.ButtonArrowIcon
- All Implemented Interfaces:
- javax.swing.Icon
- public class ButtonArrowIcon
- extends java.lang.Object
- implements javax.swing.Icon
Title: $FileName: ButtonArrowIcon.java$
- Version:
- $VerNum: 2$
- Author:
- $AuthorName: Rob MacGrogan$
$Description: Left/Right arrow icon.$
$KeyWordsOff: $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LEFT
public static final int LEFT
- See Also:
- Constant Field Values
RIGHT
public static final int RIGHT
- See Also:
- Constant Field Values
direction
protected int direction
width
protected int width
height
protected int height
ButtonArrowIcon
public ButtonArrowIcon(int direction)
getIconWidth
public int getIconWidth()
- Specified by:
getIconWidth
in interface javax.swing.Icon
getIconHeight
public int getIconHeight()
- Specified by:
getIconHeight
in interface javax.swing.Icon
paintIcon
public void paintIcon(java.awt.Component c,
java.awt.Graphics g,
int x,
int y)
- Specified by:
paintIcon
in interface javax.swing.Icon
main
public static void main(java.lang.String[] args)
Copyright © 2003 Pallas Technology.