com.webobjects.eogeneration
Class EORangeTextFieldController
java.lang.Object
com.webobjects.eoapplication.EOController
com.webobjects.eoapplication.EOComponentController
com.webobjects.eogeneration.EOWidgetController
com.webobjects.eogeneration.EORangeWidgetController
com.webobjects.eogeneration.EORangeValueController
com.webobjects.eogeneration.EORangeTextFieldController
- All Implemented Interfaces:
- EOAction.Enabling, EOAssociationConnector, EOEditable, EOWidgetController.FormatWidget, EOWidgetController.QueryWidget, NSDisposable, NSKeyValueCoding, NSKeyValueCoding.ErrorHandling, NSKeyValueCodingAdditions, ActionListener, EventListener
public class EORangeTextFieldController
- extends EORangeValueController
- implements ActionListener, EOWidgetController.FormatWidget, EOWidgetController.QueryWidget
Methods inherited from class com.webobjects.eogeneration.EORangeValueController |
canBeTransient, connectionWasBroken, connectionWasEstablished, controllerDisplayGroup, displayGroup, displayGroupProviderMethodName, dispose, disposeAssociations, editability, enabledDisplayGroup, enabledDisplayGroupProviderMethodName, enabledKey, isEditable, maximumAssociation, maximumValueKey, minimumAssociation, minimumValueKey, setBothValueKeys, setDisplayGroup, setDisplayGroupProviderMethodName, setEditability, setEnabledDisplayGroup, setEnabledDisplayGroupProviderMethodName, setEnabledKey, setMaximumAssociation, setMaximumValueKey, setMinimumAssociation, setMinimumValueKey, setSuppressesAssociation, supercontrollerEditabilityDidChange, suppressesAssociation, takeResponsibilityForEditabilityOfAssociation, takeResposibilityForConnectionOfAssociation, toString |
Methods inherited from class com.webobjects.eogeneration.EOWidgetController |
highlightsLabel, labelComponent, labelComponentAlignment, labelComponentPosition, labelComponentWidth, minimumWidgetSize, newLabelComponent, preferredLabelComponentPosition, preferredWidgetAutosizingMask, setHighlightsLabel, setLabelComponent, setLabelComponentAlignment, setLabelComponentPosition, setLabelComponentWidth, setMinimumWidgetSize, setUsesLabelComponent, setWidget, toolTipComponent, usesLabelComponent, widget, widgetAlignment |
Methods inherited from class com.webobjects.eoapplication.EOComponentController |
activateFirstFocusComponent, addComponentOfSubcontroller, alignsComponents, 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, prepareForNewTask, removeFromSupercontroller, removeSubcontroller, resetActions, setAdditionalActions, setAdditionalKeyValuePair, setAdditionalKeyValuePairs, setConnected, setSupercontroller, setTransientExplicitlyForbidden, setTypeName, subcontrollers, supercontroller, supercontroller, takeValueForKey, takeValueForKeyPath, typeName, unableToSetNullForKey, valueForKey, valueForKeyPath |
EORangeTextFieldController
public EORangeTextFieldController()
EORangeTextFieldController
public EORangeTextFieldController(EOXMLUnarchiver unarchiver)
disposeIfTransient
protected boolean disposeIfTransient()
- Description copied from class:
EOController
- Disposes the receiver if it's transient, first removing it from its
supercontroller with
removeTransientSubcontroller
If the
receiver's supercontroller is non-null
, this method also attempts to
dispose of the supercontroller if it's transient. Supercontrollers can
prevent a controller from becoming transient, in which case this method
returns false
. Subclasses should first invoke the super
implementation and only continue disposing if the super implementation
returns true
.
- Overrides:
disposeIfTransient
in class EORangeValueController
- Returns:
true
if the receiver can be transient and has been
disposed; false
otherwise- See Also:
EOController.removeTransientSubcontroller(EOController)
preferredUsesLabelComponent
protected boolean preferredUsesLabelComponent()
- Overrides:
preferredUsesLabelComponent
in class EOWidgetController
setIsQueryWidget
public void setIsQueryWidget(boolean flag)
- Specified by:
setIsQueryWidget
in interface EOWidgetController.QueryWidget
isQueryWidget
public boolean isQueryWidget()
- Specified by:
isQueryWidget
in interface EOWidgetController.QueryWidget
setFormatAllowed
public void setFormatAllowed(boolean flag)
- Specified by:
setFormatAllowed
in interface EOWidgetController.FormatWidget
isFormatAllowed
public boolean isFormatAllowed()
- Specified by:
isFormatAllowed
in interface EOWidgetController.FormatWidget
setFormatClass
public void setFormatClass(Class formatClass)
- Specified by:
setFormatClass
in interface EOWidgetController.FormatWidget
formatClass
public Class formatClass()
- Specified by:
formatClass
in interface EOWidgetController.FormatWidget
setFormatPattern
public void setFormatPattern(String formatPattern)
- Specified by:
setFormatPattern
in interface EOWidgetController.FormatWidget
formatPattern
public String formatPattern()
- Specified by:
formatPattern
in interface EOWidgetController.FormatWidget
newWidget
protected JComponent newWidget()
- Specified by:
newWidget
in class EOWidgetController
setAlignmentForWidget
protected void setAlignmentForWidget(JComponent widget,
int alignment)
- Overrides:
setAlignmentForWidget
in class EOWidgetController
startListeningToWidget
protected void startListeningToWidget()
- Overrides:
startListeningToWidget
in class EOWidgetController
stopListeningToWidget
protected void stopListeningToWidget()
- Overrides:
stopListeningToWidget
in class EOWidgetController
startListeningToRangeWidget
protected void startListeningToRangeWidget()
- Overrides:
startListeningToRangeWidget
in class EORangeWidgetController
stopListeningToRangeWidget
protected void stopListeningToRangeWidget()
- Overrides:
stopListeningToRangeWidget
in class EORangeWidgetController
formatForMinimumAssociation
protected Format formatForMinimumAssociation()
formatForMaximumAssociation
protected Format formatForMaximumAssociation()
newMinimumAssociation
protected EOAssociation newMinimumAssociation(JComponent widget,
EODisplayGroup displayGroup,
String enabledKey,
EODisplayGroup enabledDisplayGroup)
- Specified by:
newMinimumAssociation
in class EORangeValueController
newMaximumAssociation
protected EOAssociation newMaximumAssociation(JComponent widget,
EODisplayGroup displayGroup,
String enabledKey,
EODisplayGroup enabledDisplayGroup)
- Specified by:
newMaximumAssociation
in class EORangeValueController
actionPerformed
public void actionPerformed(ActionEvent event)
- Specified by:
actionPerformed
in interface ActionListener
Copyright © 2000-2008 Apple Inc.