-
- 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 String
mainText
private final Collection<Iterable<String>>
properties
private final T
value
private final String
text
private final String
shape
private final RecordTableLabel.TableAttributes
attributes
-
Constructor Summary
Constructors Constructor Description PropObjectLabel(T value)
-
Method Summary
Modifier and Type Method Description String
getMainText()
Collection<Iterable<String>>
getProperties()
final T
getValue()
String
getText()
String
getShape()
RecordTableLabel.TableAttributes
getAttributes()
Boolean
shouldRenderProperty(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)
-
-
-
-