Should be handled by web console components that support localization by updating the representation.
Methods inherited from class org.jgrapes.core.Event
addCompletionEvent, associated, cancel, channels, channels, completionEvents, currentResults, defaultCriterion, forChannels, get, get, handled, handlingError, isCancelled, isDone, isEligibleFor, isStopped, processedBy, results, results, resumeHandling, setAssociated, setChannels, setRequiresResult, setResult, stop, suspendHandling, suspendHandling, tieTo, toString
Methods inherited from class org.jgrapes.core.internal.EventBase
disableTracking, enqueued, firstResultAssigned, isTracked, onCompletion
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
SetLocaleCreates a new event.
renderSupport- the render support
locale- the locale to set
reload- the reload
renderSupportReturns the render support.
- the render support
localeReturns the locale to set.
- the locale
reloadpublic boolean reload()Returns
trueif the web console needs to be reloaded after changing the locale.
- true, if reload is required
forceReloadpublic void forceReload()Sets the reload flag.
Used by web console components that cannot dynamically update their content to the new locale.
For optimized behavior, web console components should check
reload()before generating events that update the content dynamically. Web console component that invoke this method should define a handler with a higher priority.