Class DatatablesProvider
java.lang.Object
org.jgrapes.core.internal.ComponentVertex
org.jgrapes.core.Component
org.jgrapes.webconsole.base.PageResourceProvider
org.jgrapes.webconsole.provider.datatables.DatatablesProvider
- All Implemented Interfaces:
Iterable<ComponentType>
,Channel
,ComponentType
,Eligible
,Manager
Deprecated.
Provider for the Datatables library.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.jgrapes.core.Channel
Channel.Default
-
Field Summary
-
Constructor Summary
ConstructorDescriptionDatatablesProvider
(Channel componentChannel, Map<?, ?> properties) Deprecated.Creates a new component with its channel set to the given channel. -
Method Summary
Modifier and TypeMethodDescriptionvoid
onConsoleReady
(ConsoleReady event, ConsoleConnection connection) Deprecated.OnConsoleReady
, fire the appropriateAddPageResources
.protected ResourceBundle
resourceBundle
(Locale locale) Deprecated.Provides a resource bundle for localization.Methods inherited from class org.jgrapes.webconsole.base.PageResourceProvider
onResourceRequest
Methods inherited from class org.jgrapes.core.Component
channel, component, defaultCriterion, isEligibleFor, setName
Methods inherited from class org.jgrapes.core.internal.ComponentVertex
activeEventPipeline, addHandler, attach, channelReplacements, children, componentPath, componentVertex, detach, fire, initComponentsHandlers, iterator, name, newEventPipeline, newEventPipeline, parent, registerAsGenerator, root, toString, unregisterAsGenerator
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
DatatablesProvider
Deprecated.Creates a new component with its channel set to the given channel.- Parameters:
componentChannel
- the channel that the component’s handlers listen on by default and thatManager.fire(Event, Channel...)
sends the event to
-
-
Method Details
-
resourceBundle
Deprecated.Provides a resource bundle for localization.The default implementation looks up a bundle using the package name plus “l10n” as base name.
- Overrides:
resourceBundle
in classPageResourceProvider
- Returns:
- the resource bundle
-
onConsoleReady
@Handler(priority=100) public void onConsoleReady(ConsoleReady event, ConsoleConnection connection) throws TemplateNotFoundException, MalformedTemplateNameException, ParseException, IOException Deprecated.OnConsoleReady
, fire the appropriateAddPageResources
.- Parameters:
event
- the eventconnection
- the web console connection- Throws:
TemplateNotFoundException
- the template not found exceptionMalformedTemplateNameException
- the malformed template name exceptionParseException
- the parse exceptionIOException
- Signals that an I/O exception has occurred.
-