|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgr.zeus.ui.table.sort.BlankIcon
public final class BlankIcon
Empty icon for table header for TableSorter
. Original code from:
http://www.senun.com/Left/Programming/Java_old/Examples_swing/SwingExamples.html
Constructor Summary | |
---|---|
BlankIcon()
Constructor. |
|
BlankIcon(java.awt.Color color,
int size)
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 icon. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BlankIcon()
public BlankIcon(java.awt.Color color, int size)
color
- The fill Color
.size
- The size.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
to use.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 |