Uses of Class
org.apache.juneau.console.views.TableSpec
Packages that use TableSpec
Package
Description
FreeMarker-only delivery of the admin-console chrome: the reserved-classpath
base.ftlh template, the
<@tag> macro, and ConsoleFreemarkerMixin
(registers a reserved-path ClassTemplateLoader on top of the host's own FreemarkerMixin
configuration).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 TableSpec in org.apache.juneau.console.freemarker
Methods in org.apache.juneau.console.freemarker with parameters of type TableSpecModifier and TypeMethodDescriptionAdds adatatablescard fortable, with no title.Adds adatatablescard fortable, with a title.Adds adatatablescard fortable, lettingcardadjust the card. -
Uses of TableSpec in org.apache.juneau.console.views
Methods in org.apache.juneau.console.views that return TableSpecModifier and TypeMethodDescriptionTableSpec.bulk(BulkMutateDef value) Sets the bulk-mutate opt-in.TableSpec.cleanAddress(boolean v) Sets whether the browser address bar is cleaned of the table's view-state parameters.TableSpec.columnConfig(boolean v) Sets whether this table offers the View Settings dialog (column chooser, search and sort settings).TableSpec.columnConfig(Map<String, Object> options) Sets the View Settings dialog options, serialized as thecolumnConfigobject (for example{"chooser": true}).Appends columns, in display order.TableSpec.copyLink(boolean v) Sets whether the table offers a copy-link control for its current view state.static TableSpecStarts a new table definition.Sets the CSS class applied to this table's card.TableSpec.dataMode(TableSpec.DataMode mode) Sets whether paging/sorting/search run client-side or againstdataUrlon every draw.Sets the table's data source URL.TableSpec.defaultOrder(String column, TableSpec.Sort dir) Appends one default sort column.Sets the per-row detail panel.TableSpec.operators(SearchOperatorSet table) Sets the table-level defaultSearchOperatorSet, inherited by any searchable column that declares none of its own.TableSpec.pausePollingWhileEditing(boolean v) Sets whether polling pauses while an editing surface (an open detail row or action dialog) is bound to this table.TableSpec.pollIntervalMs(long ms) Sets the auto-refresh poll interval.TableSpec.primary(boolean v) Sets whether this table is the page's primary table (affects layout only).TableSpec.quickStats(String id, QuickStat... items) Sets the table's quick-stats strip.TableSpec.ribbon(RibbonItem... items) Appends ribbon (toolbar) items, in display order.TableSpec.rowActions(List<RowAction> actions) Appends row actions from a list, in menu order.TableSpec.rowActions(RowAction... actions) Appends row actions, in menu order.Sets the row type by its simple name, asTableCatalogdid — documentation metadata only; it has no effect on rendering or validation.Sets the row type by name directly.TableSpec.selection(SelectionDef value) Sets the row-selection opt-in.Declares URL-state directives this table's address bar carries, so their values reach the table's server requests.Declares a URL-state directive together with its options.TableSpec.urlStateDayParam(String param) Declares thedayURL-state directive and names the request query parameter it sends the selected day under.