Uses of Class
org.apache.juneau.console.views.SelectionDef
Packages that use SelectionDef
Package
Description
A typed, declarative "rich DataTables view" toolkit that serializes to the frozen
VIEW_META JSON wire
contract consumed by the first-party client runtime.-
Uses of SelectionDef in org.apache.juneau.console.views
Methods in org.apache.juneau.console.views that return SelectionDefModifier and TypeMethodDescriptionstatic SelectionDefStarts a newSelectionDefbound to the specified stable row-id field.SelectionDef.labelField(String value) Sets the row-data field used as this row's human-readable label in a confirm dialog's target list.SelectionDef.scope(SelectionDef.Scope value) Sets whether selection persists across paging/sorting/searching/refresh (SelectionDef.Scope.PERSISTENT, the default) or is dropped for any row not in the current draw (SelectionDef.Scope.PAGE).SelectionDef.selectableWhen(RowActionEnabledRule... value) Sets the rules that gate which rows can be selected at all.SelectionDef.selectAll(boolean value) Sets whether a select-all header checkbox is rendered alongside the per-row checkboxes.BulkMutateDef.selection()The selection this bulk config operates against.Methods in org.apache.juneau.console.views with parameters of type SelectionDefModifier and TypeMethodDescriptionstatic BulkMutateDefBulkMutateDef.create(WritePermit permit, SelectionDef selection) Starts a newBulkMutateDef, requiring proof that the caller's write-gate was consulted and the selection this bulk config will operate against.TableSpec.selection(SelectionDef value) Sets the row-selection opt-in.