|
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.appserver.WOElement com.webobjects.appserver.WOComponent com.webobjects.woextensions.WOThresholdColoredNumber
public class WOThresholdColoredNumber
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.webobjects.appserver.WOComponent |
---|
WOComponent.Event |
Nested classes/interfaces inherited from interface com.webobjects.foundation.NSKeyValueCodingAdditions |
---|
NSKeyValueCodingAdditions.DefaultImplementation, NSKeyValueCodingAdditions.Utility |
Nested classes/interfaces inherited from interface com.webobjects.foundation.NSValidation |
---|
NSValidation.DefaultImplementation, NSValidation.Utility, NSValidation.ValidationException |
Field Summary |
---|
Fields inherited from interface com.webobjects.foundation.NSKeyValueCodingAdditions |
---|
KeyPathSeparator |
Constructor Summary | |
---|---|
WOThresholdColoredNumber(WOContext aContext)
|
Method Summary | |
---|---|
String |
color()
|
String |
highColor()
|
boolean |
isStateless()
By default, this method returns false , indicating that state will be maintained for instances of the receiver. |
String |
lowColor()
|
void |
reset()
Allows a stateless component to reset temporary references. |
Number |
threshold()
|
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public WOThresholdColoredNumber(WOContext aContext)
Method Detail |
---|
public boolean isStateless()
WOComponent
false
, indicating that state will be maintained for instances of the receiver. Overriding this method to return true
will make the component stateless. A single instance of each stateless component is shared between multiple
sessions, reducing the application's memory footprint.
By default, stateless components don't synchronize. So, if you override this method to return true
and you want the component to synchronize, you must also override synchronizesVariablesWithBindings
and return true
.
isStateless
in class WOComponent
true
if this method is overidden, false
otherwiseWOComponent.reset()
,
WOComponent.synchronizesVariablesWithBindings()
public void reset()
WOComponent
reset
in class WOComponent
WOComponent.isStateless()
public Number threshold()
public String highColor()
public String lowColor()
public String color()
|
Last updated June 2008 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |