com.sshtools.ui.swing
Class ArrowIcon
java.lang.Object
com.sshtools.ui.swing.ArrowIcon
- All Implemented Interfaces:
- javax.swing.Icon, javax.swing.SwingConstants
public class ArrowIcon
- extends java.lang.Object
- implements javax.swing.Icon, javax.swing.SwingConstants
| Fields inherited from interface javax.swing.SwingConstants |
BOTTOM, CENTER, EAST, HORIZONTAL, LEADING, LEFT, NEXT, NORTH, NORTH_EAST, NORTH_WEST, PREVIOUS, RIGHT, SOUTH, SOUTH_EAST, SOUTH_WEST, TOP, TRAILING, VERTICAL, WEST |
|
Constructor Summary |
ArrowIcon(int direction)
|
ArrowIcon(int direction,
java.awt.Color shadow,
java.awt.Color darkShadow,
java.awt.Color highlight)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ArrowIcon
public ArrowIcon(int direction,
java.awt.Color shadow,
java.awt.Color darkShadow,
java.awt.Color highlight)
ArrowIcon
public ArrowIcon(int direction)
getIconHeight
public int getIconHeight()
- Specified by:
getIconHeight in interface javax.swing.Icon
getIconWidth
public int getIconWidth()
- Specified by:
getIconWidth in interface javax.swing.Icon
getDirection
public int getDirection()
setDirection
public void setDirection(int dir)
paintIcon
public void paintIcon(java.awt.Component c,
java.awt.Graphics g,
int x,
int y)
- Specified by:
paintIcon in interface javax.swing.Icon
paintTriangle
public void paintTriangle(java.awt.Graphics g,
int x,
int y,
int size,
int direction,
boolean isEnabled)
Copyright © 2003-2009 SSHTOOLS LTD. All Rights Reserved.