WebObjects 5.2.3

com.webobjects.eoapplication
Class EOActionWidgets

java.lang.Object
  extended bycom.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

actionMenuWithActions

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

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

buttonRowWithActions

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

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

buttonWithAction

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

Parameters:
action -
controller -
usesLargeRepresentation -
Returns:

disposeActionMenu

public static void disposeActionMenu(JComboBox actionMenu)

Parameters:
actionMenu -

disposeButton

public static void disposeButton(JButton button)

Parameters:
button -

disposeButtonRow

public static void disposeButtonRow(JComponent buttonRow)

Parameters:
buttonRow -

disposeMenuBar

public static void disposeMenuBar(JMenuBar menuBar)

Parameters:
menuBar -

menuBarWithActions

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

Parameters:
actions -
controller -
sort -
Returns:

updateEnablingOfActionMenu

public static void updateEnablingOfActionMenu(JComboBox actionMenu)

Parameters:
actionMenu -

updateEnablingOfButton

public static void updateEnablingOfButton(JButton button)

Parameters:
button -

updateEnablingOfButtonRow

public static void updateEnablingOfButtonRow(JComponent buttonRow)

Parameters:
buttonRow -

updateEnablingOfMenuBar

public static void updateEnablingOfMenuBar(JMenuBar menuBar)

Parameters:
menuBar -

Last updated Thu Oct 21 15:04:16 PDT 2004.

Copyright © 2004 Apple Computer, Inc.