WebObjects 5.1

com.webobjects.eogeneration.client
Class EORangeTextFieldController

java.lang.Object
  |
  +--com.webobjects.eoapplication.EOController
        |
        +--com.webobjects.eoapplication.EOComponentController
              |
              +--com.webobjects.eogeneration.client.EOWidgetController
                    |
                    +--com.webobjects.eogeneration.client.EORangeWidgetController
                          |
                          +--com.webobjects.eogeneration.client.EORangeValueController
                                |
                                +--com.webobjects.eogeneration.client.EORangeTextFieldController
All Implemented Interfaces:
ActionListener, EOAction.Enabling, EOAssociationConnector, EOEditable, EOWidgetController.FormatWidget, EOWidgetController.QueryWidget, EventListener, NSDisposable, NSKeyValueCoding, NSKeyValueCoding.ErrorHandling, NSKeyValueCodingAdditions

public class EORangeTextFieldController
extends EORangeValueController
implements ActionListener, EOWidgetController.FormatWidget, 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.EORangeValueController
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
EORangeTextFieldController()
           
EORangeTextFieldController(EOXMLUnarchiver unarchiver)
           
 
Method Summary
 void actionPerformed(ActionEvent event)
           
 boolean canBeTransient()
          Returns whether the controller can be transient.
 Class formatClass()
           
protected  Format formatForMaximumAssociation()
           
protected  Format formatForMinimumAssociation()
           
 String formatPattern()
           
 boolean isFormatAllowed()
           
 boolean isQueryWidget()
           
protected  EOAssociation newMaximumAssociation(JComponent widget, EODisplayGroup displayGroup, String enabledKey, EODisplayGroup enabledDisplayGroup)
           
protected  EOAssociation newMinimumAssociation(JComponent widget, EODisplayGroup displayGroup, String enabledKey, EODisplayGroup enabledDisplayGroup)
           
protected  JComponent newWidget()
           
protected  boolean preferredUsesLabelComponent()
           
protected  void setAlignmentForWidget(JComponent widget, int alignment)
           
 void setFormatAllowed(boolean flag)
           
 void setFormatClass(Class formatClass)
           
 void setFormatPattern(String formatPattern)
           
 void setIsQueryWidget(boolean flag)
           
protected  void startListeningToRangeWidget()
           
protected  void startListeningToWidget()
           
protected  void stopListeningToRangeWidget()
           
protected  void stopListeningToWidget()
           
 
Methods inherited from class com.webobjects.eogeneration.client.EORangeValueController
connectionWasBroken, connectionWasEstablished, controllerDisplayGroup, displayGroup, displayGroupProviderMethodName, dispose, disposeAssociations, disposeIfTransient, editability, enabledDisplayGroup, enabledDisplayGroupProviderMethodName, enabledKey, isEditable, maximumAssociation, maximumValueKey, minimumAssociation, minimumValueKey, setBothValueKeys, setDisplayGroup, setDisplayGroupProviderMethodName, setEditability, setEnabledDisplayGroup, setEnabledDisplayGroupProviderMethodName, setEnabledKey, setMaximumAssociation, setMaximumValueKey, setMinimumAssociation, setMinimumValueKey, supercontrollerEditabilityDidChange, takeResponsibilityForEditabilityOfAssociation, takeResposibilityForConnectionOfAssociation, toString
 
Methods inherited from class com.webobjects.eogeneration.client.EORangeWidgetController
generateComponent, rangeWidget, separatorLabelComponent, setRangeWidget, setSeparatorLabelComponent, setWidgetAlignment
 
Methods inherited from class com.webobjects.eogeneration.client.EOWidgetController
highlightsLabel, labelComponent, labelComponentAlignment, labelComponentPosition, newLabelComponent, preferredLabelComponentPosition, preferredWidgetAutosizingMask, setHighlightsLabel, setLabelComponent, setLabelComponentAlignment, setLabelComponentPosition, setUsesLabelComponent, setWidget, 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

EORangeTextFieldController

public EORangeTextFieldController()

EORangeTextFieldController

public EORangeTextFieldController(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 EORangeValueController
Following copied from class: com.webobjects.eoapplication.EOComponentController
Returns:
true if the receiver can be transient; false otherwise

formatClass

public Class formatClass()
Specified by:
formatClass in interface EOWidgetController.FormatWidget

formatForMaximumAssociation

protected Format formatForMaximumAssociation()

formatForMinimumAssociation

protected Format formatForMinimumAssociation()

formatPattern

public String formatPattern()
Specified by:
formatPattern in interface EOWidgetController.FormatWidget

isFormatAllowed

public boolean isFormatAllowed()
Specified by:
isFormatAllowed in interface EOWidgetController.FormatWidget

isQueryWidget

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

newMaximumAssociation

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

newMinimumAssociation

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

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

setFormatAllowed

public void setFormatAllowed(boolean flag)
Specified by:
setFormatAllowed in interface EOWidgetController.FormatWidget

setFormatClass

public void setFormatClass(Class formatClass)
Specified by:
setFormatClass in interface EOWidgetController.FormatWidget

setFormatPattern

public void setFormatPattern(String formatPattern)
Specified by:
setFormatPattern in interface EOWidgetController.FormatWidget

setIsQueryWidget

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

startListeningToRangeWidget

protected void startListeningToRangeWidget()
Overrides:
startListeningToRangeWidget in class EORangeWidgetController

startListeningToWidget

protected void startListeningToWidget()
Overrides:
startListeningToWidget in class EOWidgetController

stopListeningToRangeWidget

protected void stopListeningToRangeWidget()
Overrides:
stopListeningToRangeWidget in class EORangeWidgetController

stopListeningToWidget

protected void stopListeningToWidget()
Overrides:
stopListeningToWidget in class EOWidgetController

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

Copyright © 2002 Apple Computer, Inc.