WebObjects 5.1

com.webobjects.eogeneration.client
Class EOTextFieldController

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.EOValueController
                                |
                                +--com.webobjects.eogeneration.client.EOFormatValueController
                                      |
                                      +--com.webobjects.eogeneration.client.EOTextFieldController
All Implemented Interfaces:
ActionListener, EOAction.Enabling, EOAssociationConnector, EOEditable, EOWidgetController.FormatWidget, EOWidgetController.QueryWidget, EventListener, NSDisposable, NSKeyValueCoding, NSKeyValueCoding.ErrorHandling, NSKeyValueCodingAdditions
Direct Known Subclasses:
EOStaticTextFieldController

public class EOTextFieldController
extends EOFormatValueController
implements ActionListener, EOWidgetController.QueryWidget


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
EOTextFieldController()
           
EOTextFieldController(EOXMLUnarchiver unarchiver)
           
 
Method Summary
 void actionPerformed(ActionEvent event)
           
 boolean canBeTransient()
          Returns whether the controller can be transient.
 boolean isQueryWidget()
           
protected  EOAssociation newAssociation(JComponent widget, EODisplayGroup displayGroup, String enabledKey, EODisplayGroup enabledDisplayGroup)
           
protected  JComponent newWidget()
           
protected  boolean preferredUsesLabelComponent()
           
protected  void setAlignmentForWidget(JComponent widget, int alignment)
           
 void setIsQueryWidget(boolean flag)
           
protected  void startListeningToWidget()
           
protected  void stopListeningToWidget()
           
 
Methods inherited from class com.webobjects.eogeneration.client.EOFormatValueController
formatClass, formatForAssociation, formatPattern, isFormatAllowed, setFormatAllowed, setFormatClass, setFormatPattern
 
Methods inherited from class com.webobjects.eogeneration.client.EOValueController
setValueKey, toString, valueKey
 
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
 
Methods inherited from class com.webobjects.eogeneration.client.EOWidgetController
generateComponent, highlightsLabel, labelComponent, labelComponentAlignment, labelComponentPosition, newLabelComponent, preferredLabelComponentPosition, preferredWidgetAutosizingMask, setHighlightsLabel, setLabelComponent, setLabelComponentAlignment, setLabelComponentPosition, setUsesLabelComponent, setWidget, setWidgetAlignment, usesLabelComponent, widget, widgetAlignment
 
Methods inherited from class com.webobjects.eoapplication.EOComponentController
addComponentOfSubcontroller, alignmentWidth, alignsComponents, canResizeHorizontally, canResizeVertically, component, componentDidBecomeInvisible, componentDidBecomeVisible, 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

EOTextFieldController

public EOTextFieldController()

EOTextFieldController

public EOTextFieldController(EOXMLUnarchiver unarchiver)
Method Detail

actionPerformed

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

canBeTransient

public boolean canBeTransient()
Description copied from class: EOComponentController
Returns whether the controller can be transient. By default, a component controller is transient only if it's an instance of EOComponentController, not an instance of a subclass.
Overrides:
canBeTransient in class EOValueController
Following copied from class: com.webobjects.eoapplication.EOComponentController
Returns:
true if the receiver can be transient; false otherwise

isQueryWidget

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

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

preferredUsesLabelComponent

protected boolean preferredUsesLabelComponent()
Overrides:
preferredUsesLabelComponent in class EOWidgetController

setAlignmentForWidget

protected void setAlignmentForWidget(JComponent widget,
                                     int alignment)
Overrides:
setAlignmentForWidget in class EOWidgetController

setIsQueryWidget

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

startListeningToWidget

protected void startListeningToWidget()
Overrides:
startListeningToWidget in class EOWidgetController

stopListeningToWidget

protected void stopListeningToWidget()
Overrides:
stopListeningToWidget in class EOWidgetController

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

Copyright © 2002 Apple Computer, Inc.