|
WebObjects 5.2.3 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.webobjects.eocontrol.EODelayedObserver
com.webobjects.eointerface.EOAssociation
com.webobjects.eointerface.EOWidgetAssociation
com.webobjects.eointerface.EOValueAssociation
com.webobjects.eointerface.EOTextAssociation
EOTextAssociation is used as an association for displaying text values, with widgets such as NSTextFieldCell or JTextField. See EOAssociation for a general description of associations.
Aspects:
EOAssociation.ValueAspect,
EOAssociation.URLAspect,
EOAssociation.BackgroundColorAspect,
EOAssociation.BoldAspect,
EOAssociation.ItalicAspect,
EOAssociation.TextColorAspect,
EOAssociation.EnabledAspect
EOAssociation| Nested Class Summary | |
static class |
EOTextAssociation.TextPlugin
TextPlugin communicates with a UI widget (NSTextFieldCell or JTextField, for example) on behalf of an EOTextAssociation. |
| Nested classes inherited from class com.webobjects.eointerface.EOValueAssociation |
EOValueAssociation.ValuePlugin |
| Nested classes inherited from class com.webobjects.eointerface.EOWidgetAssociation |
EOWidgetAssociation.WidgetPlugin |
| Field Summary |
| Fields inherited from class com.webobjects.eocontrol.EODelayedObserver |
ObserverNumberOfPriorities, ObserverPriorityFifth, ObserverPriorityFirst, ObserverPriorityFourth, ObserverPriorityImmediate, ObserverPriorityLater, ObserverPrioritySecond, ObserverPrioritySixth, ObserverPriorityThird |
| Constructor Summary | |
EOTextAssociation(Object widget)
Returns a new EOTextAssociation object that is not (yet) bound to any display group. |
|
| Method Summary | |
static Object |
defaultDisabledBackgroundColor()
This method returns the global defaults for the background colors of disabled text fields. |
static Object |
defaultEnabledBackgroundColor()
This method returns the global defaults for the background colors of enabled text fields. |
protected Object |
displayValueFromURL(String URLString)
This method returns a String value loaded from the URL specified. |
void |
dispose()
Clears all references this association has to other objects especially its display object and EODisplayGroup. |
static void |
setDefaultBackgroundColors(Object enabledColor,
Object disabledColor)
This method sets the global defaults for the background colors of text fields. |
void |
setUsesDefaultBackgroundColors(boolean flag)
This method defines whether the text widget managed by this association will use the global defaults for background colors. |
boolean |
usesDefaultBackgroundColors()
This method returns whether the text widget managed by this association will use the global defaults for background colors. |
| Methods inherited from class com.webobjects.eointerface.EOValueAssociation |
bindAspect, displayValueAspect, endEditing, primaryAspect, subjectChanged, widgetDidBeginEditing, widgetDidChange, widgetDidEndEditing, widgetPluginClass |
| Methods inherited from class com.webobjects.eointerface.EOWidgetAssociation |
canSupportValueFormatter, defaultPrefersContinuousChangeNotification, isUsableWithObject, objectKeysTaken, prefersContinuousChangeNotification, setDefaultPrefersContinuousChangeNotification, setObject, setPrefersContinuousChangeNotification, setValueFormatter, valueFormatter, widgetPlugin |
| Methods inherited from class com.webobjects.eocontrol.EODelayedObserver |
discardPendingNotification, objectWillChange, observerQueue |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public EOTextAssociation(Object widget)
widget - the UI widget that the association will use to display text values| Method Detail |
public static Object defaultDisabledBackgroundColor()
public static Object defaultEnabledBackgroundColor()
protected Object displayValueFromURL(String URLString)
displayValueFromURL in class EOValueAssociationURLString - the URL to derive the value from
nullpublic void dispose()
super's implementation
at the end.
dispose in interface NSDisposabledispose in class EOWidgetAssociationNSDisposable
public static void setDefaultBackgroundColors(Object enabledColor,
Object disabledColor)
enabledColor - the Object representing the background color for enabled text fieldsdisabledColor - the Object representing the background color for disabled text fieldspublic void setUsesDefaultBackgroundColors(boolean flag)
flag - if true, the global defaults are to be usedpublic boolean usesDefaultBackgroundColors()
true if the global defaults are to be used; false otherwise
|
Last updated Thu Oct 21 15:04:16 PDT 2004. | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||