WebObjects 5.2

com.webobjects.eogeneration
Class EOTitlesController

java.lang.Object
  |
  +--com.webobjects.eoapplication.EOController
        |
        +--com.webobjects.eoapplication.EOComponentController
              |
              +--com.webobjects.eogeneration.EOWidgetController
                    |
                    +--com.webobjects.eogeneration.EOAssociationController
                          |
                          +--com.webobjects.eogeneration.EOTitlesController
All Implemented Interfaces:
EOAction.Enabling, EOAssociationConnector, EOComponentController.EndEditing, EOEditable, NSDisposable, NSKeyValueCoding, NSKeyValueCoding.ErrorHandling, NSKeyValueCodingAdditions
Direct Known Subclasses:
EOActionController, EOComboBoxController, EOEnumerationController

public abstract class EOTitlesController
extends EOAssociationController
implements EOComponentController.EndEditing


Inner classes inherited from class com.webobjects.eogeneration.EOWidgetController
EOWidgetController.DefaultAction, EOWidgetController.FormatWidget, EOWidgetController.QueryWidget, EOWidgetController.TableWidget
 
Inner classes inherited from class com.webobjects.eoapplication.EOComponentController
EOComponentController.ActionCollector, EOComponentController.Activation, EOComponentController.EndEditing, EOComponentController.Modal, EOComponentController.ResetUserInterface
 
Inner classes inherited from class com.webobjects.eoapplication.EOController
EOController.Enumeration
 
Inner classes inherited from class com.webobjects.foundation.NSKeyValueCoding
NSKeyValueCoding.DefaultImplementation, NSKeyValueCoding.ErrorHandling, NSKeyValueCoding.Null, NSKeyValueCoding.UnknownKeyException, NSKeyValueCoding.Utility, NSKeyValueCoding.ValueAccessor
 
Inner classes inherited from class com.webobjects.foundation.NSKeyValueCodingAdditions
NSKeyValueCodingAdditions.DefaultImplementation, NSKeyValueCodingAdditions.Utility
 
Field Summary
static String 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.NSKeyValueCoding
NullValue
 
Fields inherited from interface com.webobjects.foundation.NSKeyValueCodingAdditions
KeyPathSeparator
 
Constructor Summary
EOTitlesController()
           
EOTitlesController(EOXMLUnarchiver unarchiver)
           
 
Method Summary
 void addTitleKey(String key)
           
 String availableTitlesKey()
           
protected  void connectionWasBroken()
          Invoked from breakConnection to notify the receiver that its connection to its supercontroller has been broken, giving the receiver the opportunity to clean up after its become idle.
protected  void connectionWasEstablished()
          Invoked from establishConnection to notify the receiver that its connection to the controller hierarchy has been established, giving the receiver the opportunity to prepare itself (for example, setting delegates).
protected  void disposeAssociations()
           
 boolean endEditing()
          Ensures that all current edits in the user interface are flushed to the underlying data objects.
protected  EOAssociation newAssociation(JComponent widget, EODisplayGroup displayGroup, String enabledKey, EODisplayGroup enabledDisplayGroup)
           
protected  EODataSource newTitlesDataSource()
           
 EODisplayGroup newTitlesDisplayGroup()
           
 void prepareForNewTask(boolean prepareSubcontrollersForNewTask)
          Prepares the receiver for performing a new task by resetting any data.
 void removeTitleKey(String key)
           
 boolean resetTitlesObjectsOnEveryConnect()
           
 boolean searchesTitlesObjectsInEditingContext()
           
 void setAvailableTitlesKey(String string)
           
 void setResetTitlesObjectsOnEveryConnect(boolean flag)
           
 void setSearchesTitlesObjectsInEditingContext(boolean flag)
           
 void setSingleTitleKey(String key)
           
 void setTitleKeys(NSArray keys)
           
 void setTitlesDisplayGroup(EODisplayGroup displayGroup)
           
 void setTitlesDisplayGroupProviderMethodName(String string)
           
 void setTitlesEntityName(String string)
           
 NSArray titleKeys()
           
 EODisplayGroup titlesDisplayGroup()
           
 String titlesDisplayGroupProviderMethodName()
           
protected  NSArray titlesDisplayGroupSortOrderings()
           
 String titlesEntityName()
           
 String toString()
          Returns the receiver as a string that states the receiver's class name and type name, whether the receiver is connected, the number of subcontrollers, whether or not the receiver has been prepared, whether or not the receiver is visible, information about widget sizing and alignment behavior, and so on.
 
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, newWidget, preferredLabelComponentPosition, preferredUsesLabelComponent, preferredWidgetAutosizingMask, setAlignmentForWidget, setHighlightsLabel, setLabelComponent, setLabelComponentAlignment, setLabelComponentPosition, setLabelComponentWidth, setMinimumWidgetSize, setUsesLabelComponent, setWidget, setWidgetAlignment, startListeningToWidget, stopListeningToWidget, 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, canPerformActionNamed, 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
 

Field Detail

NewTitlesDisplayGroupProviderMethodName

public static final String NewTitlesDisplayGroupProviderMethodName
Constructor Detail

EOTitlesController

public EOTitlesController()

EOTitlesController

public EOTitlesController(EOXMLUnarchiver unarchiver)
Method Detail

addTitleKey

public void addTitleKey(String key)

availableTitlesKey

public String availableTitlesKey()

connectionWasBroken

protected void connectionWasBroken()
Description copied from class: EOController
Invoked from breakConnection to notify the receiver that its connection to its supercontroller has been broken, giving the receiver the opportunity to clean up after its become idle.
Overrides:
connectionWasBroken in class EOAssociationController
Following copied from class: com.webobjects.eoapplication.EOController
See Also:
EOController.breakConnection()

connectionWasEstablished

protected void connectionWasEstablished()
Description copied from class: EOController
Invoked from establishConnection to notify the receiver that its connection to the controller hierarchy has been established, giving the receiver the opportunity to prepare itself (for example, setting delegates).
Overrides:
connectionWasEstablished in class EOAssociationController
Following copied from class: com.webobjects.eoapplication.EOController
See Also:
EOController.establishConnection()

disposeAssociations

protected void disposeAssociations()
Overrides:
disposeAssociations in class EOAssociationController

endEditing

public boolean endEditing()
Description copied from interface: EOComponentController.EndEditing
Ensures that all current edits in the user interface are flushed to the underlying data objects.
Specified by:
endEditing in interface EOComponentController.EndEditing
Following copied from interface: com.webobjects.eoapplication.EOComponentController.EndEditing
Returns:
true if all uncommitted changes were successfully flushed; false otherwise

newAssociation

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

newTitlesDataSource

protected EODataSource newTitlesDataSource()

newTitlesDisplayGroup

public EODisplayGroup newTitlesDisplayGroup()

prepareForNewTask

public void prepareForNewTask(boolean prepareSubcontrollersForNewTask)
Description copied from class: EOController
Prepares the receiver for performing a new task by resetting any data. If prepareSubcontrollersForNewTask is true, this method also sends prepareForNewTask to each of the receiver's subcontrollers. This method is usually invoked to prepare a branch of the controller for reuse. Subclasses should override this method to get rid of data and perform any additional clean up.
Overrides:
prepareForNewTask in class EOController
Following copied from class: com.webobjects.eoapplication.EOController
Parameters:
prepareSubcontrollersForNewTask - true if the method should be forwarded to all subcontrollers; false otherwise

removeTitleKey

public void removeTitleKey(String key)

resetTitlesObjectsOnEveryConnect

public boolean resetTitlesObjectsOnEveryConnect()

searchesTitlesObjectsInEditingContext

public boolean searchesTitlesObjectsInEditingContext()

setAvailableTitlesKey

public void setAvailableTitlesKey(String string)

setResetTitlesObjectsOnEveryConnect

public void setResetTitlesObjectsOnEveryConnect(boolean flag)

setSearchesTitlesObjectsInEditingContext

public void setSearchesTitlesObjectsInEditingContext(boolean flag)

setSingleTitleKey

public void setSingleTitleKey(String key)

setTitleKeys

public void setTitleKeys(NSArray keys)

setTitlesDisplayGroup

public void setTitlesDisplayGroup(EODisplayGroup displayGroup)

setTitlesDisplayGroupProviderMethodName

public void setTitlesDisplayGroupProviderMethodName(String string)

setTitlesEntityName

public void setTitlesEntityName(String string)

titleKeys

public NSArray titleKeys()

titlesDisplayGroup

public EODisplayGroup titlesDisplayGroup()

titlesDisplayGroupProviderMethodName

public String titlesDisplayGroupProviderMethodName()

titlesDisplayGroupSortOrderings

protected NSArray titlesDisplayGroupSortOrderings()

titlesEntityName

public String titlesEntityName()

toString

public String toString()
Description copied from class: EOComponentController
Returns the receiver as a string that states the receiver's class name and type name, whether the receiver is connected, the number of subcontrollers, whether or not the receiver has been prepared, whether or not the receiver is visible, information about widget sizing and alignment behavior, and so on.
Overrides:
toString in class EOAssociationController
Following copied from class: com.webobjects.eoapplication.EOComponentController
Returns:
the String representation of the receiver

Last updated Fri Feb 21 13:15:00 PST 2003.

Copyright © 2003 Apple Computer, Inc.