org.yawlfoundation.yawl.procletService.editor
Class FrameUtil

java.lang.Object
  extended by org.yawlfoundation.yawl.procletService.editor.FrameUtil

public class FrameUtil
extends Object


Constructor Summary
FrameUtil()
           
 
Method Summary
static void addToComboBox(JComboBox list, Object object)
           
static void addToList(JList list, Object object)
           
static void fillComboBox(JComboBox combo, List list)
           
static void fillList(Collection anList, JList anJList)
          fillList
static Object getItemList(JList anJList, int index)
          getSelecetdList
static Object[] getSelecetdAllList(JList anJList)
          getSelecetdList
static Object getSelecetdList(JList anJList)
          getSelecetdList
protected static Object[] getSelectedMultipleList(JList anJList)
          fillList
static int indexList(JList list, Object object)
           
static void iniList(JList anJList)
           
static void readOnly(JTextComponent c, JComponent parent)
           
static void removeFromList(JList list, int index)
           
static void removeFromList(JList list, Object object)
           
static void setButtonAdd(JButton anButton)
          setButtonOk
static void setButtonCancel(JButton anButton)
          setButtonOk
static void setButtonDelete(JButton anButton)
          setButtonOk
static void setButtonEdit(JButton anButton)
          setButtonOk
static void setButtonNo(JButton anButton)
          setButtonOk
static void setButtonOk(JButton anButton)
          setButtonOk
static void setButtonYes(JButton anButton)
          setButtonOk
static void setSelectedList(JList list, Object selected)
           
static void setSize(JComponent componenet, Dimension dimension)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FrameUtil

public FrameUtil()
Method Detail

fillList

public static void fillList(Collection anList,
                            JList anJList)
fillList

Parameters:
anList - List
anJList - JList

iniList

public static void iniList(JList anJList)

addToList

public static void addToList(JList list,
                             Object object)

removeFromList

public static void removeFromList(JList list,
                                  Object object)

removeFromList

public static void removeFromList(JList list,
                                  int index)

getSelecetdList

public static Object getSelecetdList(JList anJList)
getSelecetdList

Parameters:
anJList - JList
Returns:
Object

getSelecetdAllList

public static Object[] getSelecetdAllList(JList anJList)
getSelecetdList

Parameters:
anJList - JList
Returns:
Object

indexList

public static int indexList(JList list,
                            Object object)

readOnly

public static void readOnly(JTextComponent c,
                            JComponent parent)

getItemList

public static Object getItemList(JList anJList,
                                 int index)
getSelecetdList

Parameters:
anJList - JList
Returns:
Object

setSelectedList

public static void setSelectedList(JList list,
                                   Object selected)
Parameters:
list - JList
selected - Object

getSelectedMultipleList

protected static Object[] getSelectedMultipleList(JList anJList)
fillList

Parameters:
anJList - JList
Returns:
Object

addToComboBox

public static void addToComboBox(JComboBox list,
                                 Object object)

fillComboBox

public static void fillComboBox(JComboBox combo,
                                List list)

setButtonOk

public static void setButtonOk(JButton anButton)
setButtonOk

Parameters:
anButton - JButton

setButtonCancel

public static void setButtonCancel(JButton anButton)
setButtonOk

Parameters:
anButton - JButton

setButtonYes

public static void setButtonYes(JButton anButton)
setButtonOk

Parameters:
anButton - JButton

setButtonNo

public static void setButtonNo(JButton anButton)
setButtonOk

Parameters:
anButton - JButton

setButtonAdd

public static void setButtonAdd(JButton anButton)
setButtonOk

Parameters:
anButton - JButton

setButtonEdit

public static void setButtonEdit(JButton anButton)
setButtonOk

Parameters:
anButton - JButton

setButtonDelete

public static void setButtonDelete(JButton anButton)
setButtonOk

Parameters:
anButton - JButton

setSize

public static void setSize(JComponent componenet,
                           Dimension dimension)


Copyright © 2004-2012 The YAWL Foundation.