|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgr.zeus.ui.table.sort.BevelArrowIcon
public final class BevelArrowIcon
Bevel Arrow Icon for table header for TableSorter
.
Original code from:
http://www.senun.com/Left/Programming/Java_old/Examples_swing/SwingExamples.html
Constructor Summary | |
---|---|
BevelArrowIcon(java.awt.Color edge1,
java.awt.Color edge2,
java.awt.Color fill,
int size,
int direction)
Constructor. |
|
BevelArrowIcon(int direction,
boolean isRaisedView,
boolean isPressedView)
Constructor. |
Method Summary | |
---|---|
int |
getIconHeight()
Gets the icon's height. |
int |
getIconWidth()
Gets the icon's width. |
void |
paintIcon(java.awt.Component c,
java.awt.Graphics g,
int x,
int y)
Paints the arrow icon. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BevelArrowIcon(int direction, boolean isRaisedView, boolean isPressedView)
direction
- The arrow direction.isRaisedView
- true
if raised.isPressedView
- true
if pressed.public BevelArrowIcon(java.awt.Color edge1, java.awt.Color edge2, java.awt.Color fill, int size, int direction)
edge1
- The edge1 Color
.edge2
- The edge2 Color
.fill
- The fill Color
.size
- The size.direction
- The arrow direction.Method Detail |
---|
public void paintIcon(java.awt.Component c, java.awt.Graphics g, int x, int y)
paintIcon
in interface javax.swing.Icon
c
- The Component
.g
- The Graphics
used.x
- The x location.y
- The y location.public int getIconWidth()
getIconWidth
in interface javax.swing.Icon
public int getIconHeight()
getIconHeight
in interface javax.swing.Icon
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |