public class FrameUtil
extends java.lang.Object
Constructor and Description |
---|
FrameUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
addToComboBox(javax.swing.JComboBox list,
java.lang.Object object) |
static void |
addToList(javax.swing.JList list,
java.lang.Object object) |
static void |
fillComboBox(javax.swing.JComboBox combo,
java.util.List list) |
static void |
fillList(java.util.Collection anList,
javax.swing.JList anJList)
fillList
|
static java.lang.Object |
getItemList(javax.swing.JList anJList,
int index)
getSelecetdList
|
static java.lang.Object[] |
getSelecetdAllList(javax.swing.JList anJList)
getSelecetdList
|
static java.lang.Object |
getSelecetdList(javax.swing.JList anJList)
getSelecetdList
|
protected static java.lang.Object[] |
getSelectedMultipleList(javax.swing.JList anJList)
fillList
|
static int |
indexList(javax.swing.JList list,
java.lang.Object object) |
static void |
iniList(javax.swing.JList anJList) |
static void |
readOnly(javax.swing.text.JTextComponent c,
javax.swing.JComponent parent) |
static void |
removeFromList(javax.swing.JList list,
int index) |
static void |
removeFromList(javax.swing.JList list,
java.lang.Object object) |
static void |
setButtonAdd(javax.swing.JButton anButton)
setButtonOk
|
static void |
setButtonCancel(javax.swing.JButton anButton)
setButtonOk
|
static void |
setButtonDelete(javax.swing.JButton anButton)
setButtonOk
|
static void |
setButtonEdit(javax.swing.JButton anButton)
setButtonOk
|
static void |
setButtonNo(javax.swing.JButton anButton)
setButtonOk
|
static void |
setButtonOk(javax.swing.JButton anButton)
setButtonOk
|
static void |
setButtonYes(javax.swing.JButton anButton)
setButtonOk
|
static void |
setSelectedList(javax.swing.JList list,
java.lang.Object selected) |
static void |
setSize(javax.swing.JComponent componenet,
java.awt.Dimension dimension) |
public static void fillList(java.util.Collection anList, javax.swing.JList anJList)
anList
- ListanJList
- JListpublic static void iniList(javax.swing.JList anJList)
public static void addToList(javax.swing.JList list, java.lang.Object object)
public static void removeFromList(javax.swing.JList list, java.lang.Object object)
public static void removeFromList(javax.swing.JList list, int index)
public static java.lang.Object getSelecetdList(javax.swing.JList anJList)
anJList
- JListpublic static java.lang.Object[] getSelecetdAllList(javax.swing.JList anJList)
anJList
- JListpublic static int indexList(javax.swing.JList list, java.lang.Object object)
public static void readOnly(javax.swing.text.JTextComponent c, javax.swing.JComponent parent)
public static java.lang.Object getItemList(javax.swing.JList anJList, int index)
anJList
- JListpublic static void setSelectedList(javax.swing.JList list, java.lang.Object selected)
list
- JListselected
- Objectprotected static java.lang.Object[] getSelectedMultipleList(javax.swing.JList anJList)
anJList
- JListpublic static void addToComboBox(javax.swing.JComboBox list, java.lang.Object object)
public static void fillComboBox(javax.swing.JComboBox combo, java.util.List list)
public static void setButtonOk(javax.swing.JButton anButton)
anButton
- JButtonpublic static void setButtonCancel(javax.swing.JButton anButton)
anButton
- JButtonpublic static void setButtonYes(javax.swing.JButton anButton)
anButton
- JButtonpublic static void setButtonNo(javax.swing.JButton anButton)
anButton
- JButtonpublic static void setButtonAdd(javax.swing.JButton anButton)
anButton
- JButtonpublic static void setButtonEdit(javax.swing.JButton anButton)
anButton
- JButtonpublic static void setButtonDelete(javax.swing.JButton anButton)
anButton
- JButtonpublic static void setSize(javax.swing.JComponent componenet, java.awt.Dimension dimension)
Copyright © 2004-2014 The YAWL Foundation.