Package su.onno.ui
Record Class ResolvedListView.Column
java.lang.Object
java.lang.Record
su.onno.ui.ResolvedListView.Column
- Enclosing class:
ResolvedListView
public static record ResolvedListView.Column(String label, String columnName, String fieldName, String width, String widget, String format, String hint, String cellMenu)
extends Record
cellMenu: a row-action submenu label the cell opens directly on right-click
(ListSpec.cellMenu); blank = the cell has no menu of its own.-
Constructor Summary
ConstructorsConstructorDescriptionColumn(String label, String columnName, String width, String widget, String format, String hint, String cellMenu) Backward-compatible constructor for descriptors created before logical response keys.Column(String label, String columnName, String fieldName, String width, String widget, String format, String hint, String cellMenu) Creates an instance of aColumnrecord class. -
Method Summary
Modifier and TypeMethodDescriptioncellMenu()Returns the value of thecellMenurecord component.Returns the value of thecolumnNamerecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of thefieldNamerecord component.format()Returns the value of theformatrecord component.final inthashCode()Returns a hash code value for this object.hint()Returns the value of thehintrecord component.label()Returns the value of thelabelrecord component.final StringtoString()Returns a string representation of this record class.widget()Returns the value of thewidgetrecord component.width()Returns the value of thewidthrecord component.
-
Constructor Details
-
Column
public Column(String label, String columnName, String width, String widget, String format, String hint, String cellMenu) Backward-compatible constructor for descriptors created before logical response keys. -
Column
public Column(String label, String columnName, String fieldName, String width, String widget, String format, String hint, String cellMenu) Creates an instance of aColumnrecord class.- Parameters:
label- the value for thelabelrecord componentcolumnName- the value for thecolumnNamerecord componentfieldName- the value for thefieldNamerecord componentwidth- the value for thewidthrecord componentwidget- the value for thewidgetrecord componentformat- the value for theformatrecord componenthint- the value for thehintrecord componentcellMenu- the value for thecellMenurecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
label
Returns the value of thelabelrecord component.- Returns:
- the value of the
labelrecord component
-
columnName
Returns the value of thecolumnNamerecord component.- Returns:
- the value of the
columnNamerecord component
-
fieldName
Returns the value of thefieldNamerecord component.- Returns:
- the value of the
fieldNamerecord component
-
width
Returns the value of thewidthrecord component.- Returns:
- the value of the
widthrecord component
-
widget
Returns the value of thewidgetrecord component.- Returns:
- the value of the
widgetrecord component
-
format
Returns the value of theformatrecord component.- Returns:
- the value of the
formatrecord component
-
hint
Returns the value of thehintrecord component.- Returns:
- the value of the
hintrecord component
-
cellMenu
Returns the value of thecellMenurecord component.- Returns:
- the value of the
cellMenurecord component
-