public class XAxisCassisUtil
extends java.lang.Object
| Constructor and Description |
|---|
XAxisCassisUtil() |
| Modifier and Type | Method and Description |
|---|---|
static void |
changeType(javax.swing.JComboBox<XAxisCassis> box,
javax.swing.JComboBox<java.lang.String> box2)
Change the value of a JComboBox of "type" if necessary.
|
static void |
changeXAxisAccordingToType(java.lang.String type,
javax.swing.JComboBox<XAxisCassis> box)
Change the items of a JComboBox according to the type provided.
|
static java.lang.String |
getType(XAxisCassis axis)
Return a string of the Type according to the XAxisCassis
|
public static java.lang.String getType(XAxisCassis axis)
axis - The axispublic static void changeXAxisAccordingToType(java.lang.String type,
javax.swing.JComboBox<XAxisCassis> box)
type - The type to use.box - The JComboBox to change.public static void changeType(javax.swing.JComboBox<XAxisCassis> box, javax.swing.JComboBox<java.lang.String> box2)
box - The JComboBox of XAxisCassis.box2 - The JComboBox of "type".