com.webobjects.woextensions
Class WOCompletionBar
java.lang.Object
com.webobjects.appserver.WOElement
com.webobjects.appserver.WOComponent
com.webobjects.woextensions.WOCompletionBar
- All Implemented Interfaces:
- WOActionResults, NSKeyValueCoding, NSKeyValueCoding.ErrorHandling, NSKeyValueCodingAdditions, NSValidation, Serializable, Cloneable
public class WOCompletionBar
- extends WOComponent
- See Also:
- Serialized Form
Methods inherited from class com.webobjects.appserver.WOComponent |
application, awake, baseURL, bindingKeys, canAccessFieldsDirectly, canGetValueForBinding, canSetValueForBinding, clone, context, debugString, descriptionForResponse, ensureAwakeInContext, frameworkName, generateResponse, handleQueryWithUnboundKey, handleTakeValueForUnboundKey, hasBinding, hasSession, invokeAction, isCachingEnabled, isEventLoggingEnabled, isStateless, logString, name, pageWithName, parent, path, pathURL, performParentAction, pullValuesFromParent, pushValuesToParent, reset, session, set_componentUnroll, set_unroll, setCachingEnabled, setValueForBinding, setVariableValueForName, sleep, takeValueForKey, takeValueForKeyPath, takeValuesFromRequest, template, templateWithHTMLString, templateWithHTMLString, templateWithHTMLString, templateWithName, toString, unableToSetNullForKey, validateTakeValueForKeyPath, validateValueForKey, validationFailedWithException, valueForBinding, valueForBooleanBinding, valueForIntegerBinding, valueForKey, valueForKeyPath, valueForNSArrayBindings, valueForNSDictionaryBindings, valueForNumberBinding, valueForStringBinding, variableValueForName, variableWithName |
value
public int value
showedValue
public int showedValue
valueMin
public int valueMin
valueMax
public int valueMax
width
public String width
barColor
public String barColor
backgroundColor
public String backgroundColor
border
public String border
numberformat
public DecimalFormat numberformat
align
public String align
WOCompletionBar
public WOCompletionBar(WOContext aContext)
synchronizesVariablesWithBindings
public boolean synchronizesVariablesWithBindings()
- Description copied from class:
WOComponent
- Indicates if the push-pull of values in the parent component is enabled. Returns whether a nested component pulls all values down from its parent and pushes all values to its parent before and after each phase of the request-response loop.
This method returns false
for stateless components and true
otherwise. Override this method to create a non-synchronizing, stateful component (return false
), or a synchronizing stateless component (return true
).
- Overrides:
synchronizesVariablesWithBindings
in class WOComponent
- Returns:
false
if this method creates a non-synchronizing component, true
otherwise- See Also:
WOComponent.valueForBinding(String aBindingName)
,
WOComponent.setValueForBinding(Object aValue, String aBindingName)
,
WOComponent.pullValuesFromParent()
,
WOComponent.pushValuesToParent()
,
WOComponent.isStateless()
appendToResponse
public void appendToResponse(WOResponse aResponse,
WOContext aContext)
- Description copied from class:
WOComponent
- Forces the component to generate its interface and output it in the response's content. Component objects associated with a response receive this message during the last phase of the component request handling, or when returned by a direct action method. In the append-to-response phase,
application objects (particularly the response page instance itself) generate the HTML content of the page. WOComponent's default implementation of this method invokes the
appendToResponse
method on the root WOElement object of the component template, which in turn invokes
appendToResponse
. Subclasses of WOComponent can override this method to replace or supplement the default behavior with custom logic.
- Overrides:
appendToResponse
in class WOComponent
- Parameters:
aResponse
- the HTTP response that an application returns to a Web server to complete a cycle of the request-response loopaContext
- context of a transaction- See Also:
WOComponent.invokeAction(WORequest aRequest, WOContext aContext)
,
WOComponent.takeValuesFromRequest(WORequest aRequest, WOContext aContext)
percentValue
public int percentValue()
percentNotValue
public int percentNotValue()
inProgress
public boolean inProgress()
notInProgressBackgroundColor
public String notInProgressBackgroundColor()
notInProgressColor
public String notInProgressColor()
Copyright © 2000-2008 Apple Inc.