com.webobjects.eogeneration.client
Class EOMultipleValuesEnumerationController
java.lang.Object
|
+--com.webobjects.eoapplication.EOController
|
+--com.webobjects.eoapplication.EOComponentController
|
+--com.webobjects.eogeneration.client.EOWidgetController
|
+--com.webobjects.eogeneration.client.EOAssociationController
|
+--com.webobjects.eogeneration.client.EOTitlesController
|
+--com.webobjects.eogeneration.client.EOEnumerationController
|
+--com.webobjects.eogeneration.client.EOMultipleValuesEnumerationController
- All Implemented Interfaces:
- ActionListener, ComponentListener, EOAction.Enabling, EOAssociationConnector, EOComponentController.EndEditing, EOEditable, EventListener, MouseListener, NSDisposable, NSKeyValueCoding, NSKeyValueCoding.ErrorHandling, NSKeyValueCodingAdditions
- public class EOMultipleValuesEnumerationController
- extends EOEnumerationController
- implements ActionListener, ComponentListener, MouseListener, EOComponentController.EndEditing
Methods inherited from class com.webobjects.eogeneration.client.EOTitlesController |
addTitleKey, newTitlesDataSource, newTitlesDisplayGroup, removeTitleKey, setSingleTitleKey, setTitleKeys, setTitlesDisplayGroup, setTitlesDisplayGroupProviderMethodName, titleKeys, titlesDisplayGroup, titlesDisplayGroupProviderMethodName, titlesDisplayGroupSortOrderings |
Methods inherited from class com.webobjects.eogeneration.client.EOAssociationController |
association, controllerDisplayGroup, displayGroup, displayGroupProviderMethodName, disposeIfTransient, editability, enabledDisplayGroup, enabledDisplayGroupProviderMethodName, enabledKey, isEditable, setAssociation, setDisplayGroup, setDisplayGroupProviderMethodName, setEditability, setEnabledDisplayGroup, setEnabledDisplayGroupProviderMethodName, setEnabledKey, supercontrollerEditabilityDidChange, takeResponsibilityForEditabilityOfAssociation, takeResposibilityForConnectionOfAssociation |
Methods inherited from class com.webobjects.eogeneration.client.EOWidgetController |
generateComponent, highlightsLabel, labelComponent, labelComponentAlignment, labelComponentPosition, newLabelComponent, preferredWidgetAutosizingMask, setAlignmentForWidget, setHighlightsLabel, setLabelComponent, setLabelComponentAlignment, setLabelComponentPosition, setUsesLabelComponent, setWidget, setWidgetAlignment, usesLabelComponent, widget, widgetAlignment |
Methods inherited from class com.webobjects.eoapplication.EOComponentController |
addComponentOfSubcontroller, alignmentWidth, alignsComponents, canBeTransient, canResizeHorizontally, canResizeVertically, component, componentDidBecomeInvisible, defaultComponentSize, ensureMinimumComponentSizeWithoutSubcontrollers, ensureMinimumSubcontrollerAreaSize, handleTakeValueForUnboundKey, hideInSupercontroller, hideSubcontroller, icon, integrationComponent, integrationComponentDidBecomeInvisible, integrationComponentDidBecomeVisible, isComponentPrepared, isRootComponentController, isVisible, label, makeInvisible, makeVisible, minimumComponentSize, minimumComponentSizeWithoutSubcontrollers, minimumIntegrationComponentSize, minimumSubcontrollerAreaSize, prefersIconOnly, prepareComponent, removeComponentOfSubcontroller, removeTransientSubcontroller, setAlignmentWidth, setAlignsComponents, setCanResizeHorizontally, setCanResizeVertically, setComponent, setDefaultComponentSize, setIcon, setLabel, setPrefersIconOnly, setSubcontrollerArea, setUsesHorizontalLayout, setVisible, showInSupercontroller, showSubcontroller, subcontrollerArea, subcontrollerMinimumSizeDidChange, subcontrollerWasAdded, subcontrollerWasRemoved, usesHorizontalLayout |
Methods inherited from class com.webobjects.eoapplication.EOController |
actionNames, actions, actionWithName, 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, setConnected, setSupercontroller, setTransientExplicitlyForbidden, setTypeName, subcontrollers, supercontroller, supercontroller, takeValueForKey, takeValueForKeyPath, typeName, unableToSetNullForKey, valueForKey, valueForKeyPath |
EOMultipleValuesEnumerationController
public EOMultipleValuesEnumerationController()
EOMultipleValuesEnumerationController
public EOMultipleValuesEnumerationController(EOXMLUnarchiver unarchiver)
actionPerformed
public void actionPerformed(ActionEvent event)
- Specified by:
actionPerformed
in interface ActionListener
add
public void add()
canPerformActionNamed
public boolean canPerformActionNamed(String actionName)
- Description copied from class:
EOController
- Conformance to
EOAction.Enabling
. See the method description
of canPerformActionNamed
in the interface specification for
EOAction.Enabling
.
- Overrides:
canPerformActionNamed
in class EOController
- Following copied from class:
com.webobjects.eoapplication.EOController
- Parameters:
actionName
- the action method name- Returns:
true
if the action should be enabled; false
otherwise- See Also:
EOAction.Enabling
componentDidBecomeVisible
protected void componentDidBecomeVisible()
- Description copied from class:
EOComponentController
- Invoked when the receiver's component becomes visible,
giving the receiver a chance to react.
EOComponentController's implementation invokes
establishConnection
to ensure the receiver is connected to the controller hierarchy.
- Overrides:
componentDidBecomeVisible
in class EOComponentController
componentHidden
public void componentHidden(ComponentEvent event)
- Specified by:
componentHidden
in interface ComponentListener
componentMoved
public void componentMoved(ComponentEvent event)
- Specified by:
componentMoved
in interface ComponentListener
componentResized
public void componentResized(ComponentEvent event)
- Specified by:
componentResized
in interface ComponentListener
componentShown
public void componentShown(ComponentEvent event)
- Specified by:
componentShown
in interface ComponentListener
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 EOTitlesController
- Following copied from class:
com.webobjects.eoapplication.EOController
- See Also:
EOController.establishConnection()
dispose
public void dispose()
- Description copied from class:
EOComponentController
- Prepares the receiver so it is disposed when Java performs garbage collection.
- Overrides:
dispose
in class EOAssociationController
disposeAssociations
protected void disposeAssociations()
- Overrides:
disposeAssociations
in class EOTitlesController
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
- Overrides:
endEditing
in class EOTitlesController
- Following copied from interface:
com.webobjects.eoapplication.EOComponentController.EndEditing
- Returns:
true
if all uncommitted changes were successfully flushed; false
otherwise
mouseClicked
public void mouseClicked(MouseEvent event)
- Specified by:
mouseClicked
in interface MouseListener
mouseEntered
public void mouseEntered(MouseEvent event)
- Specified by:
mouseEntered
in interface MouseListener
mouseExited
public void mouseExited(MouseEvent event)
- Specified by:
mouseExited
in interface MouseListener
mousePressed
public void mousePressed(MouseEvent event)
- Specified by:
mousePressed
in interface MouseListener
mouseReleased
public void mouseReleased(MouseEvent event)
- Specified by:
mouseReleased
in interface MouseListener
newAssociation
protected EOAssociation newAssociation(JComponent widget,
EODisplayGroup displayGroup,
String enabledKey,
EODisplayGroup enabledDisplayGroup)
- Overrides:
newAssociation
in class EOAssociationController
newWidget
protected JComponent newWidget()
- Overrides:
newWidget
in class EOWidgetController
preferredLabelComponentPosition
protected int preferredLabelComponentPosition()
- Overrides:
preferredLabelComponentPosition
in class EOWidgetController
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 EOTitlesController
- Following copied from class:
com.webobjects.eoapplication.EOController
- Parameters:
prepareSubcontrollersForNewTask
- true
if the method should be forwarded
to all subcontrollers; false
otherwise
remove
public void remove()
setUsesTableLabels
public void setUsesTableLabels(boolean flag)
startListeningToWidget
protected void startListeningToWidget()
- Overrides:
startListeningToWidget
in class EOWidgetController
stopListeningToWidget
protected void stopListeningToWidget()
- Overrides:
stopListeningToWidget
in class EOWidgetController
usesTableLabels
public boolean usesTableLabels()
Copyright © 2002 Apple Computer, Inc.