|
WebObjects 5.4.2 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.webobjects.eoapplication.EOController com.webobjects.eoapplication.EOComponentController com.webobjects.eogeneration.EOWidgetController com.webobjects.eogeneration.EORangeWidgetController com.webobjects.eogeneration.EORangeValueController
public abstract class EORangeValueController
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.webobjects.eogeneration.EOWidgetController |
---|
EOWidgetController.DefaultAction, EOWidgetController.FormatWidget, EOWidgetController.QueryWidget, EOWidgetController.TableWidget |
Nested classes/interfaces inherited from class com.webobjects.eoapplication.EOComponentController |
---|
EOComponentController.ActionCollector, EOComponentController.Activation, EOComponentController.EndEditing, EOComponentController.Modal, EOComponentController.ResetUserInterface |
Nested classes/interfaces inherited from class com.webobjects.eoapplication.EOController |
---|
EOController.Enumeration |
Nested classes/interfaces inherited from interface com.webobjects.foundation.NSKeyValueCodingAdditions |
---|
NSKeyValueCodingAdditions.DefaultImplementation, NSKeyValueCodingAdditions.Utility |
Field Summary | |
---|---|
static String |
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, ControllerAndSupercontrollersEnumeration, SubcontrollersEnumeration, SupercontrollersEnumeration |
Fields inherited from interface com.webobjects.eoapplication.EOEditable |
---|
AlwaysEditable, IfSupercontrollerEditable, NeverEditable |
Fields inherited from interface com.webobjects.foundation.NSKeyValueCodingAdditions |
---|
KeyPathSeparator |
Constructor Summary | |
---|---|
EORangeValueController()
|
|
EORangeValueController(EOXMLUnarchiver unarchiver)
|
Method Summary | |
---|---|
boolean |
canBeTransient()
Returns whether the controller can be transient. |
protected void |
connectionWasBroken()
Invoked from breakConnection to notify the receiver that its
connection to its supercontroller has been broken, giving the receiver the
opportunity to clean up after its become idle. |
protected void |
connectionWasEstablished()
Invoked from establishConnection to notify the receiver that its
connection to the controller hierarchy has been established, giving the
receiver the opportunity to prepare itself (for example, setting delegates). |
EODisplayGroup |
controllerDisplayGroup()
|
EODisplayGroup |
displayGroup()
|
String |
displayGroupProviderMethodName()
|
void |
dispose()
Prepares the receiver so it is disposed when Java performs garbage collection. |
protected void |
disposeAssociations()
|
protected boolean |
disposeIfTransient()
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. |
int |
editability()
Returns the editability of the receiver. |
EODisplayGroup |
enabledDisplayGroup()
|
String |
enabledDisplayGroupProviderMethodName()
|
String |
enabledKey()
|
boolean |
isEditable()
Returns whether the receiver is currently editable. |
EOAssociation |
maximumAssociation()
|
String |
maximumValueKey()
|
EOAssociation |
minimumAssociation()
|
String |
minimumValueKey()
|
protected abstract EOAssociation |
newMaximumAssociation(JComponent widget,
EODisplayGroup displayGroup,
String enabledKey,
EODisplayGroup enabledDisplayGroup)
|
protected abstract EOAssociation |
newMinimumAssociation(JComponent widget,
EODisplayGroup displayGroup,
String enabledKey,
EODisplayGroup enabledDisplayGroup)
|
void |
setBothValueKeys(String string)
|
void |
setDisplayGroup(EODisplayGroup displayGroup)
|
void |
setDisplayGroupProviderMethodName(String string)
|
void |
setEditability(int editability)
Sets the editability of the receiver to editability . |
void |
setEnabledDisplayGroup(EODisplayGroup displayGroup)
|
void |
setEnabledDisplayGroupProviderMethodName(String string)
|
void |
setEnabledKey(String string)
|
void |
setMaximumAssociation(EOAssociation association)
|
void |
setMaximumValueKey(String string)
|
void |
setMinimumAssociation(EOAssociation association)
|
void |
setMinimumValueKey(String string)
|
void |
setSuppressesAssociation(boolean flag)
|
void |
supercontrollerEditabilityDidChange()
Invoked to notify the receiver that the editability of its supercontroller changed, giving the receiver the opportunity to update its user interface to match the editability of the supercontroller. |
boolean |
suppressesAssociation()
|
void |
takeResponsibilityForEditabilityOfAssociation(EOAssociation association)
Invoked when one of the receiver's subcontrollers is disposed as a transient controller. |
void |
takeResposibilityForConnectionOfAssociation(EOAssociation association)
Invoked when one of the receiver's subcontrollers is disposed as a transient controller. |
String |
toString()
Returns the receiver as a string that states the receiver's class name and type name, whether the receiver is connected, the number of subcontrollers, whether or not the receiver has been prepared, whether or not the receiver is visible, information about widget sizing and alignment behavior, and so on. |
Methods inherited from class com.webobjects.eogeneration.EORangeWidgetController |
---|
generateComponent, rangeWidget, separatorLabelComponent, setRangeWidget, setSeparatorLabelComponent, setWidgetAlignment, startListeningToRangeWidget, stopListeningToRangeWidget |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final String ControllerDisplayGroupProviderMethodName
Constructor Detail |
---|
public EORangeValueController()
public EORangeValueController(EOXMLUnarchiver unarchiver)
Method Detail |
---|
protected void disposeAssociations()
public void dispose()
EOComponentController
dispose
in interface NSDisposable
dispose
in class EORangeWidgetController
protected boolean disposeIfTransient()
EOController
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
.
disposeIfTransient
in class EOController
true
if the receiver can be transient and has been
disposed; false
otherwiseEOController.removeTransientSubcontroller(EOController)
public boolean canBeTransient()
EOComponentController
canBeTransient
in class EOComponentController
true
if the receiver can be transient; false
otherwiseprotected void connectionWasEstablished()
EOController
establishConnection
to notify the receiver that its
connection to the controller hierarchy has been established, giving the
receiver the opportunity to prepare itself (for example, setting delegates).
connectionWasEstablished
in class EOController
EOController.establishConnection()
protected void connectionWasBroken()
EOController
breakConnection
to notify the receiver that its
connection to its supercontroller has been broken, giving the receiver the
opportunity to clean up after its become idle.
connectionWasBroken
in class EOController
EOController.breakConnection()
public void setSuppressesAssociation(boolean flag)
public boolean suppressesAssociation()
public void setDisplayGroupProviderMethodName(String string)
public String displayGroupProviderMethodName()
public void setEnabledDisplayGroupProviderMethodName(String string)
public String enabledDisplayGroupProviderMethodName()
public void setEnabledKey(String string)
public String enabledKey()
public void setBothValueKeys(String string)
public void setMinimumValueKey(String string)
public String minimumValueKey()
public void setMaximumValueKey(String string)
public String maximumValueKey()
public void setEditability(int editability)
EOEditable
editability
.
See the method description of setEditability
in the
interface specification for EOEditable.
setEditability
in interface EOEditable
editability
- the editability, one of EOEditable.NeverEditable
,
EOEditable.AlwaysEditable
, or EOEditable.IfSupercontrollerEditable
public int editability()
EOEditable
EOEditable.IfSupercontrollerEditable
.
editability
in interface EOEditable
EOEditable.NeverEditable
,
EOEditable.AlwaysEditable
, or EOEditable.IfSupercontrollerEditable
public boolean isEditable()
EOEditable
EOEditable.AlwaysEditable
or its editability is
EOEditable.IfSupercontrollerEditable
and sending
EOEditable.isEditable
to the first EOEditable supercontroller
of the receiver returns true
.
isEditable
in interface EOEditable
true
if the controller is currently editable; false
otherwisepublic void supercontrollerEditabilityDidChange()
EOEditable
EOEditable.IfSupercontrollerEditable
.
supercontrollerEditabilityDidChange
in interface EOEditable
public void takeResponsibilityForEditabilityOfAssociation(EOAssociation association)
EOEditable
association
.
takeResponsibilityForEditabilityOfAssociation
in interface EOEditable
association
- the transient subcontroller's associationpublic EODisplayGroup controllerDisplayGroup()
public void setDisplayGroup(EODisplayGroup displayGroup)
public EODisplayGroup displayGroup()
public void setEnabledDisplayGroup(EODisplayGroup displayGroup)
public EODisplayGroup enabledDisplayGroup()
public void takeResposibilityForConnectionOfAssociation(EOAssociation association)
EOAssociationConnector
association
.
takeResposibilityForConnectionOfAssociation
in interface EOAssociationConnector
association
- the transient subcontroller's EOAssociationprotected abstract EOAssociation newMinimumAssociation(JComponent widget, EODisplayGroup displayGroup, String enabledKey, EODisplayGroup enabledDisplayGroup)
protected abstract EOAssociation newMaximumAssociation(JComponent widget, EODisplayGroup displayGroup, String enabledKey, EODisplayGroup enabledDisplayGroup)
public void setMinimumAssociation(EOAssociation association)
public EOAssociation minimumAssociation()
public void setMaximumAssociation(EOAssociation association)
public EOAssociation maximumAssociation()
public String toString()
EOComponentController
toString
in class EOComponentController
|
Last updated June 2008 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |