oracle.forms.fd
Class BevelArrowIcon
java.lang.Object
oracle.forms.fd.BevelArrowIcon
- All Implemented Interfaces:
- javax.swing.Icon
public class BevelArrowIcon
- extends java.lang.Object
- implements javax.swing.Icon
Constructor Summary |
BevelArrowIcon(java.awt.Color edge1,
java.awt.Color edge2,
java.awt.Color fill,
int size,
int direction)
|
BevelArrowIcon(int direction,
boolean isRaisedView,
boolean isPressedView)
|
Method Summary |
private void |
drawDownArrow(java.awt.Graphics g,
int xo,
int yo)
|
private void |
drawUpArrow(java.awt.Graphics g,
int xo,
int yo)
|
int |
getIconHeight()
|
int |
getIconWidth()
|
private void |
init(java.awt.Color edge1,
java.awt.Color edge2,
java.awt.Color fill,
int size,
int direction)
|
void |
paintIcon(java.awt.Component c,
java.awt.Graphics g,
int x,
int y)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UP
public static final int UP
- See Also:
- Constant Field Values
DOWN
public static final int DOWN
- See Also:
- Constant Field Values
DEFAULT_SIZE
private static final int DEFAULT_SIZE
- See Also:
- Constant Field Values
edge1
private java.awt.Color edge1
edge2
private java.awt.Color edge2
fill
private java.awt.Color fill
size
private int size
direction
private int direction
BevelArrowIcon
public BevelArrowIcon(int direction,
boolean isRaisedView,
boolean isPressedView)
BevelArrowIcon
public BevelArrowIcon(java.awt.Color edge1,
java.awt.Color edge2,
java.awt.Color fill,
int size,
int direction)
paintIcon
public void paintIcon(java.awt.Component c,
java.awt.Graphics g,
int x,
int y)
- Specified by:
paintIcon
in interface javax.swing.Icon
getIconWidth
public int getIconWidth()
- Specified by:
getIconWidth
in interface javax.swing.Icon
getIconHeight
public int getIconHeight()
- Specified by:
getIconHeight
in interface javax.swing.Icon
init
private void init(java.awt.Color edge1,
java.awt.Color edge2,
java.awt.Color fill,
int size,
int direction)
drawDownArrow
private void drawDownArrow(java.awt.Graphics g,
int xo,
int yo)
drawUpArrow
private void drawUpArrow(java.awt.Graphics g,
int xo,
int yo)