|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--edu.wpi.cs.dsrg.xmldb.xat.component.gui.utils.CAPEUtils
Utility functions for the GUI.
Constructor Summary | |
CAPEUtils()
|
Method Summary | |
static java.awt.Color |
determineColor(int index)
Determines the text color based on the selected index of 'Node Text Color' combo box in the customize panel. |
static java.awt.Shape |
determineNodeSize(int index)
Determines the node size based on the selected index of the 'Node Size' combo box in the customize panel. |
static int |
determineTextSize(int index)
Determines the text size based on the selected index of the 'Node Text Size' combo boxe in the customize panel. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CAPEUtils()
Method Detail |
public static java.awt.Color determineColor(int index)
index
- the selected index of the 'Node Text Color' combo box
public static java.awt.Shape determineNodeSize(int index)
index
- the selected index of the 'Node Size' combo box
public static int determineTextSize(int index)
index
- the selected index of the 'Node Text Size' combo box
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |