|
Groovy Documentation | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||
java.lang.Objectcom.wordpress.tipsforjava.swing.MenuScroller.MenuIcon
private static enum MenuScroller.MenuIcon
| Enum Constant Summary | |
|---|---|
DOWN
|
|
UP
|
|
| Field Summary | |
|---|---|
int[] |
xPoints
A class that provides scrolling capabilities to a long menu dropdown or popup menu. |
int[] |
yPoints
|
| Method Summary | |
|---|---|
def
|
MenuIcon(int... yPoints)
|
int
|
getIconHeight()
|
int
|
getIconWidth()
|
void
|
paintIcon(Component c, Graphics g, int x, int y)
|
| Methods inherited from class Object | |
|---|---|
| wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
| Enum Constant Detail |
|---|
MenuScroller.MenuIcon DOWN
MenuScroller.MenuIcon UP
| Field Detail |
|---|
final int[] xPoints
Implementation note: The default number of items to display at a time is 15, and the default scrolling interval is 125 milliseconds.
final int[] yPoints
| Method Detail |
|---|
def MenuIcon(int... yPoints)
public int getIconHeight()
public int getIconWidth()
public void paintIcon(Component c, Graphics g, int x, int y)
Groovy Documentation