WebObjects 5.1

com.webobjects.eogeneration.client
Class EOTableController

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.EOTableController
All Implemented Interfaces:
ComponentListener, EOAction.Enabling, EOAssociationConnector, EOEditable, EOWidgetController.TableWidget, EventListener, MouseListener, NSDisposable, NSKeyValueCoding, NSKeyValueCoding.ErrorHandling, NSKeyValueCodingAdditions

public class EOTableController
extends EOAssociationController
implements ComponentListener, MouseListener, EOWidgetController.TableWidget


Inner classes inherited from class com.webobjects.eogeneration.client.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
 
Fields inherited from class com.webobjects.eogeneration.client.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, 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
EOTableController()
           
EOTableController(EOXMLUnarchiver unarchiver)
           
 
Method Summary
 boolean allowsMultipleSelection()
           
protected  void componentDidBecomeVisible()
          Invoked when the receiver's component becomes visible, giving the receiver a chance to react.
 void componentHidden(ComponentEvent event)
           
 void componentMoved(ComponentEvent event)
           
 void componentResized(ComponentEvent event)
           
 void componentShown(ComponentEvent event)
           
 void mouseClicked(MouseEvent event)
           
 void mouseEntered(MouseEvent event)
           
 void mouseExited(MouseEvent event)
           
 void mousePressed(MouseEvent event)
           
 void mouseReleased(MouseEvent event)
           
protected  EOAssociation newAssociation(JComponent widget, EODisplayGroup displayGroup, String enabledKey, EODisplayGroup enabledDisplayGroup)
           
protected  JComponent newWidget()
           
 void setAllowsMultipleSelection(boolean flag)
           
 void setSortsByColumnOrder(boolean flag)
           
 boolean sortsByColumnOrder()
           
protected  void startListeningToWidget()
           
protected  void stopListeningToWidget()
           
 EOTable table()
           
 
Methods inherited from class com.webobjects.eogeneration.client.EOAssociationController
association, connectionWasBroken, connectionWasEstablished, controllerDisplayGroup, displayGroup, displayGroupProviderMethodName, dispose, disposeAssociations, disposeIfTransient, editability, enabledDisplayGroup, enabledDisplayGroupProviderMethodName, enabledKey, isEditable, setAssociation, setDisplayGroup, setDisplayGroupProviderMethodName, setEditability, setEnabledDisplayGroup, setEnabledDisplayGroupProviderMethodName, setEnabledKey, supercontrollerEditabilityDidChange, takeResponsibilityForEditabilityOfAssociation, takeResposibilityForConnectionOfAssociation, toString
 
Methods inherited from class com.webobjects.eogeneration.client.EOWidgetController
generateComponent, highlightsLabel, labelComponent, labelComponentAlignment, labelComponentPosition, newLabelComponent, preferredLabelComponentPosition, preferredUsesLabelComponent, 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, canPerformActionNamed, controllerEnumeration, controllersInEnumeration, controllersWithKeyValuePair, controllersWithKeyValuePairs, controllerWithKeyValuePair, controllerWithKeyValuePairs, defaultActions, disableActionNamed, disposableRegistry, enableActionNamed, enabledActions, establishConnection, establishConnectionToSupercontrollers, handleQueryWithUnboundKey, hierarchicalControllerForKey, hierarchicalValueForKey, invokeMethod, isActionNamedEnabled, isAncestorOfController, isConnected, isSupercontrollerOfController, isTransientExplicitlyForbidden, prepareForNewTask, removeFromSupercontroller, removeSubcontroller, resetActions, 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

EOTableController

public EOTableController()

EOTableController

public EOTableController(EOXMLUnarchiver unarchiver)
Method Detail

allowsMultipleSelection

public boolean allowsMultipleSelection()
Specified by:
allowsMultipleSelection in interface EOWidgetController.TableWidget

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

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

setAllowsMultipleSelection

public void setAllowsMultipleSelection(boolean flag)
Specified by:
setAllowsMultipleSelection in interface EOWidgetController.TableWidget

setSortsByColumnOrder

public void setSortsByColumnOrder(boolean flag)

sortsByColumnOrder

public boolean sortsByColumnOrder()

startListeningToWidget

protected void startListeningToWidget()
Overrides:
startListeningToWidget in class EOWidgetController

stopListeningToWidget

protected void stopListeningToWidget()
Overrides:
stopListeningToWidget in class EOWidgetController

table

public EOTable table()
Specified by:
table in interface EOWidgetController.TableWidget

Last updated Thu Jan 10 18:10:21 PST 2002.

Copyright © 2002 Apple Computer, Inc.