Class ColumnDescriptor
java.lang.Object
com.oracle.truffle.tools.dap.types.JSONBase
com.oracle.truffle.tools.dap.types.ColumnDescriptor
A ColumnDescriptor specifies what module attribute to show in a column of the ModulesView, how to
format it, and what the column's label should be. It is only used if the underlying UI actually
supports this level of customization.
-
Method Summary
Modifier and TypeMethodDescriptionstatic ColumnDescriptorbooleanName of the attribute rendered in this column.Format to use for the rendered values in this column.getLabel()Header UI label of column.getType()Datatype of values in this column.getWidth()Width of this column in characters (hint only).inthashCode()setAttributeName(String attributeName)
-
Method Details
-
getAttributeName
Name of the attribute rendered in this column. -
setAttributeName
-
getLabel
Header UI label of column. -
setLabel
-
getFormat
Format to use for the rendered values in this column. TBD how the format strings looks like. -
setFormat
-
getType
Datatype of values in this column. Defaults to 'string' if not specified. -
setType
-
getWidth
Width of this column in characters (hint only). -
setWidth
-
equals
-
hashCode
public int hashCode() -
create
-