WebObjects 5.4.2

com.webobjects.eogeneration
Class EOOneValueEnumerationController

java.lang.Object
  extended by com.webobjects.eoapplication.EOController
      extended by com.webobjects.eoapplication.EOComponentController
          extended by com.webobjects.eogeneration.EOWidgetController
              extended by com.webobjects.eogeneration.EOAssociationController
                  extended by com.webobjects.eogeneration.EOTitlesController
                      extended by com.webobjects.eogeneration.EOEnumerationController
                          extended by com.webobjects.eogeneration.EOOneValueEnumerationController
All Implemented Interfaces:
EOAction.Enabling, EOAssociationConnector, EOComponentController.EndEditing, EOEditable, EOWidgetController.QueryWidget, NSDisposable, NSKeyValueCoding, NSKeyValueCoding.ErrorHandling, NSKeyValueCodingAdditions, ActionListener, EventListener

public class EOOneValueEnumerationController
extends EOEnumerationController
implements ActionListener, EOWidgetController.QueryWidget


Nested Class Summary
 
Nested classes/interfaces inherited from class com.webobjects.eogeneration.EOWidgetController
EOWidgetController.DefaultAction, EOWidgetController.FormatWidget, EOWidgetController.QueryWidget, EOWidgetController.TableWidget
 
Nested classes/interfaces inherited from class com.webobjects.eoapplication.EOComponentController
EOComponentController.ActionCollector, EOComponentController.Activation, EOComponentController.EndEditing, EOComponentController.Modal, EOComponentController.ResetUserInterface
 
Nested classes/interfaces inherited from class com.webobjects.eoapplication.EOController
EOController.Enumeration
 
Nested classes/interfaces inherited from interface com.webobjects.foundation.NSKeyValueCodingAdditions
NSKeyValueCodingAdditions.DefaultImplementation, NSKeyValueCodingAdditions.Utility
 
Field Summary
 
Fields inherited from class com.webobjects.eogeneration.EOTitlesController
NewTitlesDisplayGroupProviderMethodName
 
Fields inherited from class com.webobjects.eogeneration.EOAssociationController
ControllerDisplayGroupProviderMethodName
 
Fields inherited from class com.webobjects.eoapplication.EOComponentController
Bottom, BottomLeft, BottomRight, Center, Left, Right, Top, TopLeft, TopRight
 
Fields inherited from class com.webobjects.eoapplication.EOController
ControllerAndSubcontrollersEnumeration, ControllerAndSupercontrollersEnumeration, SubcontrollersEnumeration, SupercontrollersEnumeration
 
Fields inherited from interface com.webobjects.eoapplication.EOEditable
AlwaysEditable, IfSupercontrollerEditable, NeverEditable
 
Fields inherited from interface com.webobjects.foundation.NSKeyValueCodingAdditions
KeyPathSeparator
 
Constructor Summary
EOOneValueEnumerationController()
           
EOOneValueEnumerationController(EOXMLUnarchiver unarchiver)
           
 
Method Summary
 void actionPerformed(ActionEvent event)
           
 boolean canPerformActionNamed(String actionName)
          Returns true if the receiver can perform the action method (sent by an EOAction object) named actionName, false otherwise.
 void deselect()
           
 boolean isQueryWidget()
           
protected  EOAssociation newAssociation(JComponent widget, EODisplayGroup displayGroup, String enabledKey, EODisplayGroup enabledDisplayGroup)
           
protected  JComponent newWidget()
           
 void setIsQueryWidget(boolean flag)
           
protected  void startListeningToWidget()
           
protected  void stopListeningToWidget()
           
 
Methods inherited from class com.webobjects.eogeneration.EOEnumerationController
preferredUsesLabelComponent, relationshipPath, setRelationshipPath, titlesEntityName, toString
 
Methods inherited from class com.webobjects.eogeneration.EOTitlesController
addTitleKey, availableTitlesKey, connectionWasBroken, connectionWasEstablished, disposeAssociations, endEditing, newTitlesDataSource, newTitlesDisplayGroup, prepareForNewTask, removeTitleKey, resetTitlesObjectsOnEveryConnect, searchesTitlesObjectsInEditingContext, setAvailableTitlesKey, setResetTitlesObjectsOnEveryConnect, setSearchesTitlesObjectsInEditingContext, setSingleTitleKey, setTitleKeys, setTitlesDisplayGroup, setTitlesDisplayGroupProviderMethodName, setTitlesEntityName, titleKeys, titlesDisplayGroup, titlesDisplayGroupProviderMethodName, titlesDisplayGroupSortOrderings
 
Methods inherited from class com.webobjects.eogeneration.EOAssociationController
association, controllerDisplayGroup, displayGroup, displayGroupProviderMethodName, dispose, disposeIfTransient, editability, enabledDisplayGroup, enabledDisplayGroupProviderMethodName, enabledKey, isEditable, prefersContinuousChangeNotification, setAssociation, setDisplayGroup, setDisplayGroupProviderMethodName, setEditability, setEnabledDisplayGroup, setEnabledDisplayGroupProviderMethodName, setEnabledKey, setPrefersContinuousChangeNotification, setSuppressesAssociation, supercontrollerEditabilityDidChange, suppressesAssociation, takeResponsibilityForEditabilityOfAssociation, takeResposibilityForConnectionOfAssociation
 
Methods inherited from class com.webobjects.eogeneration.EOWidgetController
generateComponent, highlightsLabel, labelComponent, labelComponentAlignment, labelComponentPosition, labelComponentWidth, minimumWidgetSize, newLabelComponent, preferredLabelComponentPosition, preferredWidgetAutosizingMask, setAlignmentForWidget, setHighlightsLabel, setLabelComponent, setLabelComponentAlignment, setLabelComponentPosition, setLabelComponentWidth, setMinimumWidgetSize, setUsesLabelComponent, setWidget, setWidgetAlignment, toolTipComponent, usesLabelComponent, widget, widgetAlignment
 
Methods inherited from class com.webobjects.eoapplication.EOComponentController
activateFirstFocusComponent, addComponentOfSubcontroller, alignsComponents, canBeTransient, canResizeHorizontally, canResizeVertically, component, componentDidBecomeInvisible, componentDidBecomeVisible, defaultComponentSize, ensureMinimumComponentSizeWithoutSubcontrollers, ensureMinimumSubcontrollerAreaSize, firstFocusComponent, handleTakeValueForUnboundKey, hideInSupercontroller, hideSubcontroller, icon, insets, integrationComponent, integrationComponentDidBecomeInvisible, integrationComponentDidBecomeVisible, isComponentPrepared, isRootComponentController, isVisible, label, lastFocusComponent, makeInvisible, makeVisible, minimumComponentSize, minimumComponentSizeWithoutSubcontrollers, minimumIntegrationComponentSize, minimumSubcontrollerAreaSize, prefersIconOnly, prepareComponent, removeComponentOfSubcontroller, removeTransientSubcontroller, setAlignsComponents, setCanResizeHorizontally, setCanResizeVertically, setComponent, setDefaultComponentSize, setFirstFocusComponent, setIcon, setInsets, setLabel, setLastFocusComponent, setPrefersIconOnly, setSubcontrollerArea, setToolTip, setUsesHorizontalLayout, setVisible, showInSupercontroller, showSubcontroller, subcontrollerArea, subcontrollerMinimumSizeDidChange, subcontrollerWasAdded, subcontrollerWasRemoved, toolTip, usesHorizontalLayout
 
Methods inherited from class com.webobjects.eoapplication.EOController
actionNames, actions, actionWithName, additionalActions, additionalKeyValuePairs, addSubcontroller, breakConnection, breakConnectionToSubcontrollers, canAccessFieldsDirectly, controllerEnumeration, controllersInEnumeration, controllersWithKeyValuePair, controllersWithKeyValuePairs, controllerWithKeyValuePair, controllerWithKeyValuePairs, defaultActions, disableActionNamed, disposableRegistry, enableActionNamed, enabledActions, establishConnection, establishConnectionToSupercontrollers, handleQueryWithUnboundKey, hierarchicalControllerForKey, hierarchicalValueForKey, invokeMethod, isActionNamedEnabled, isAncestorOfController, isConnected, isSupercontrollerOfController, isTransientExplicitlyForbidden, removeFromSupercontroller, removeSubcontroller, resetActions, setAdditionalActions, setAdditionalKeyValuePair, setAdditionalKeyValuePairs, setConnected, setSupercontroller, setTransientExplicitlyForbidden, setTypeName, subcontrollers, supercontroller, supercontroller, takeValueForKey, takeValueForKeyPath, typeName, unableToSetNullForKey, valueForKey, valueForKeyPath
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EOOneValueEnumerationController

public EOOneValueEnumerationController()

EOOneValueEnumerationController

public EOOneValueEnumerationController(EOXMLUnarchiver unarchiver)
Method Detail

setIsQueryWidget

public void setIsQueryWidget(boolean flag)
Specified by:
setIsQueryWidget in interface EOWidgetController.QueryWidget

isQueryWidget

public boolean isQueryWidget()
Specified by:
isQueryWidget in interface EOWidgetController.QueryWidget

newWidget

protected JComponent newWidget()
Specified by:
newWidget in class EOWidgetController

startListeningToWidget

protected void startListeningToWidget()
Overrides:
startListeningToWidget in class EOWidgetController

stopListeningToWidget

protected void stopListeningToWidget()
Overrides:
stopListeningToWidget in class EOWidgetController

newAssociation

protected EOAssociation newAssociation(JComponent widget,
                                       EODisplayGroup displayGroup,
                                       String enabledKey,
                                       EODisplayGroup enabledDisplayGroup)
Overrides:
newAssociation in class EOTitlesController

canPerformActionNamed

public boolean canPerformActionNamed(String actionName)
Description copied from interface: EOAction.Enabling
Returns true if the receiver can perform the action method (sent by an EOAction object) named actionName, false otherwise. An EOController's implementation of this method generally returns false if the receiver doesn't have an action named actionName or if the actionName action is explicitly disabled.

Specified by:
canPerformActionNamed in interface EOAction.Enabling
Overrides:
canPerformActionNamed in class EOController
Parameters:
actionName - the name of the EOAction
Returns:
true if the receiver can perform the action; false otherwise

deselect

public void deselect()

actionPerformed

public void actionPerformed(ActionEvent event)
Specified by:
actionPerformed in interface ActionListener

Last updated June 2008

Copyright © 2000-2008 Apple Inc.