WebObjects 5.4.2

com.webobjects.eoapplication
Class EOActionWidgets

java.lang.Object
  extended by com.webobjects.eoapplication.EOActionWidgets

public class EOActionWidgets
extends Object


Constructor Summary
EOActionWidgets()
           
 
Method Summary
static JComboBox actionMenuWithActions(NSArray actions, EOController controller, boolean sort, String menuTitle)
          
static JComponent buttonRowWithActions(NSArray actions, EOController controller, boolean sort, boolean horizontalLayout, boolean usesLargeRepresentation)
          
static JButton buttonWithAction(EOAction action, EOController controller, boolean usesLargeRepresentation)
          
static void disposeActionMenu(JComboBox actionMenu)
          
static void disposeButton(JButton button)
          
static void disposeButtonRow(JComponent buttonRow)
          
static void disposeMenuBar(JMenuBar menuBar)
          
static JMenuBar menuBarWithActions(NSArray actions, EOController controller, boolean sort)
          
static void updateEnablingOfActionMenu(JComboBox actionMenu)
          
static void updateEnablingOfButton(JButton button)
          
static void updateEnablingOfButtonRow(JComponent buttonRow)
          
static void updateEnablingOfMenuBar(JMenuBar menuBar)
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EOActionWidgets

public EOActionWidgets()
Method Detail

menuBarWithActions

public static JMenuBar menuBarWithActions(NSArray actions,
                                          EOController controller,
                                          boolean sort)

Parameters:
actions -
controller -
sort -
Returns:

disposeMenuBar

public static void disposeMenuBar(JMenuBar menuBar)

Parameters:
menuBar -

updateEnablingOfMenuBar

public static void updateEnablingOfMenuBar(JMenuBar menuBar)

Parameters:
menuBar -

buttonRowWithActions

public static JComponent buttonRowWithActions(NSArray actions,
                                              EOController controller,
                                              boolean sort,
                                              boolean horizontalLayout,
                                              boolean usesLargeRepresentation)

Parameters:
actions -
controller -
sort -
horizontalLayout -
usesLargeRepresentation -
Returns:

disposeButtonRow

public static void disposeButtonRow(JComponent buttonRow)

Parameters:
buttonRow -

updateEnablingOfButtonRow

public static void updateEnablingOfButtonRow(JComponent buttonRow)

Parameters:
buttonRow -

buttonWithAction

public static JButton buttonWithAction(EOAction action,
                                       EOController controller,
                                       boolean usesLargeRepresentation)

Parameters:
action -
controller -
usesLargeRepresentation -
Returns:

disposeButton

public static void disposeButton(JButton button)

Parameters:
button -

updateEnablingOfButton

public static void updateEnablingOfButton(JButton button)

Parameters:
button -

actionMenuWithActions

public static JComboBox actionMenuWithActions(NSArray actions,
                                              EOController controller,
                                              boolean sort,
                                              String menuTitle)

Parameters:
actions -
controller -
sort -
menuTitle -
Returns:

disposeActionMenu

public static void disposeActionMenu(JComboBox actionMenu)

Parameters:
actionMenu -

updateEnablingOfActionMenu

public static void updateEnablingOfActionMenu(JComboBox actionMenu)

Parameters:
actionMenu -

Last updated June 2008

Copyright © 2000-2008 Apple Inc.