|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jvnet.substance.utils.menu.MenuUtilities.MenuLayoutMetrics
public static class MenuUtilities.MenuLayoutMetrics
Layout metrics for a single popup menu. All menu items in a popup menu share the same metrics so that different parts (icons, check icons, texts, accelerator texts and arrow icons) are vertically aligned.
Field Summary | |
---|---|
int |
maxAcceleratorWidth
Maximum width of accelerator texts of the menu items of this popup menu. |
int |
maxArrowIconWidth
Maximum width of arrow icons of the menu items of this popup menu. |
int |
maxCheckIconWidth
Maximum width of check icons of the menu items of this popup menu. |
int |
maxIconTextGap
Maximum gap between icon and text of the menu items of this popup menu. |
int |
maxIconWidth
Maximum width of icons of the menu items of this popup menu. |
int |
maxTextWidth
Maximum width of texts of the menu items of this popup menu. |
Constructor Summary | |
---|---|
MenuUtilities.MenuLayoutMetrics()
|
Method Summary |
---|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public int maxIconWidth
public int maxCheckIconWidth
public int maxTextWidth
public int maxAcceleratorWidth
public int maxArrowIconWidth
public int maxIconTextGap
Constructor Detail |
---|
public MenuUtilities.MenuLayoutMetrics()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |