Package io.deephaven.figure
Class FigureWidgetTypePlugin
java.lang.Object
io.deephaven.plugin.PluginBase
io.deephaven.plugin.type.ObjectTypeBase
io.deephaven.plugin.type.ObjectTypeClassBase<T>
io.deephaven.plugin.type.ObjectTypeClassBase.FetchOnly<FigureWidget>
io.deephaven.figure.FigureWidgetTypePlugin
- All Implemented Interfaces:
Plugin
,Registration
,ObjectType
@AutoService(ObjectType.class)
public final class FigureWidgetTypePlugin
extends ObjectTypeClassBase.FetchOnly<FigureWidget>
An object type named "Figure" of java class type
FigureWidget
.-
Nested Class Summary
Nested classes/interfaces inherited from class io.deephaven.plugin.type.ObjectTypeClassBase
ObjectTypeClassBase.FetchOnly<T>
Nested classes/interfaces inherited from interface io.deephaven.plugin.type.ObjectType
ObjectType.MessageStream
Nested classes/interfaces inherited from interface io.deephaven.plugin.Plugin
Plugin.Visitor<T>
Nested classes/interfaces inherited from interface io.deephaven.plugin.Registration
Registration.Callback
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
writeToImpl
(Exporter exporter, FigureWidget figureWidget, OutputStream out) Serializesobject
as bytes toout
.Methods inherited from class io.deephaven.plugin.type.ObjectTypeClassBase.FetchOnly
clientConnectionImpl
Methods inherited from class io.deephaven.plugin.type.ObjectTypeClassBase
clazz, compatibleClientConnection, isType, name, toString
Methods inherited from class io.deephaven.plugin.type.ObjectTypeBase
clientConnection, walk
Methods inherited from class io.deephaven.plugin.PluginBase
registerInto
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface io.deephaven.plugin.Plugin
registerInto
-
Field Details
-
NAME
- See Also:
-
-
Constructor Details
-
FigureWidgetTypePlugin
public FigureWidgetTypePlugin()
-
-
Method Details
-
writeToImpl
public void writeToImpl(Exporter exporter, FigureWidget figureWidget, OutputStream out) throws IOException Description copied from class:ObjectTypeClassBase.FetchOnly
Serializesobject
as bytes toout
. Must only be called witha compatible object
. Server-side objects that should be sent as references to the client (but not themselves serialized in this payload) can be exported using theexporter
- each returnedExporter.Reference
will have anindex
, denoting its position on the array of exported objects to be received by the client.- Specified by:
writeToImpl
in classObjectTypeClassBase.FetchOnly<FigureWidget>
- Parameters:
exporter
- the exporterfigureWidget
- the compatible objectout
- the output stream- Throws:
IOException
- if output stream operations failed, the export will then fail, and the client will get a generic error
-