-
- All Implemented Interfaces:
-
org.jetbrains.kotlinx.jupyter.api.graphs.Label
public class PropObjectLabel<T extends Object> extends RecordTableLabel
Renders value object with its properties for those shouldRenderProperty returns
true
-
-
Field Summary
Fields Modifier and Type Field Description private final StringmainTextprivate final Collection<Iterable<String>>propertiesprivate final Tvalueprivate final Stringtextprivate final Stringshapeprivate final RecordTableLabel.TableAttributesattributes
-
Constructor Summary
Constructors Constructor Description PropObjectLabel(T value)
-
Method Summary
Modifier and Type Method Description StringgetMainText()Collection<Iterable<String>>getProperties()final TgetValue()StringgetText()StringgetShape()RecordTableLabel.TableAttributesgetAttributes()BooleanshouldRenderProperty(KProperty1<out T, ?> prop)-
-
Constructor Detail
-
PropObjectLabel
PropObjectLabel(T value)
-
-
Method Detail
-
getMainText
String getMainText()
-
getProperties
Collection<Iterable<String>> getProperties()
-
getAttributes
RecordTableLabel.TableAttributes getAttributes()
-
shouldRenderProperty
Boolean shouldRenderProperty(KProperty1<out T, ?> prop)
-
-
-
-