@UiController(value="ui_PivotTableFragment") @UiDescriptor(value="pivot-table-fragment.xml") public class PivotTableFragment extends ScreenFragment
Modifier and Type | Class and Description |
---|---|
protected static class |
PivotTableFragment.AggregationModeAdapter |
static class |
PivotTableFragment.PivotTableDescription |
protected static class |
PivotTableFragment.RendererAdapter |
ScreenFragment.AfterInitEvent, ScreenFragment.AttachEvent, ScreenFragment.DetachEvent, ScreenFragment.InitEvent
Modifier and Type | Field and Description |
---|---|
protected org.springframework.beans.factory.ObjectProvider<PivotExcelExporter> |
excelExporterObjectProvider |
protected io.jmix.core.Messages |
messages |
protected PivotTable |
pivotTable |
protected PivotTableFragment.PivotTableDescription |
pivotTableDescription |
protected DataLoader |
pivotTableDl |
protected PivotTableExtension |
pivotTableExtension |
protected java.lang.String |
pivotTableJson |
protected java.util.List<io.jmix.core.entity.KeyValueEntity> |
values |
NO_OPTIONS, WINDOW_CLOSE_ACTION, WINDOW_COMMIT_AND_CLOSE_ACTION, WINDOW_DISCARD_AND_CLOSE_ACTION
Constructor and Description |
---|
PivotTableFragment() |
Modifier and Type | Method and Description |
---|---|
Aggregation |
createAggregation(PivotTableFragment.PivotTableDescription.AggregationDescription aggregationDescription) |
Aggregations |
createAggregations() |
protected Aggregation |
createDefaultAggregation() |
DerivedProperties |
createDerivedProperties() |
java.util.Map<java.lang.String,java.lang.String> |
createProperties() |
protected RendererOptions |
createRendererOptions() |
Renderers |
createRenderers() |
void |
exportExcel(Button.ClickEvent event) |
protected PivotTableFragment.PivotTableDescription |
fromJsonString(java.lang.String json) |
void |
onAttach(ScreenFragment.AttachEvent event) |
protected java.util.List<io.jmix.core.entity.KeyValueEntity> |
pivotTableDlLoadDelegate(io.jmix.core.ValueLoadContext loadContext) |
addAfterInitListener, addAttachEventListener, addDetachEventListener, addInitListener, fireEvent, getApplicationContext, getEventHub, getExtensions, getFragment, getHostController, getHostScreen, getId, getScreenData, getUiEventListeners, init, setApplicationContext, setExtensions, setFragment, setHostController, setId, setScreenData, setUiEventListeners
@Autowired protected DataLoader pivotTableDl
@Autowired protected PivotTable pivotTable
protected PivotTableFragment.PivotTableDescription pivotTableDescription
protected PivotTableExtension pivotTableExtension
@Autowired protected org.springframework.beans.factory.ObjectProvider<PivotExcelExporter> excelExporterObjectProvider
protected java.lang.String pivotTableJson
protected java.util.List<io.jmix.core.entity.KeyValueEntity> values
@Autowired protected io.jmix.core.Messages messages
@Subscribe public void onAttach(ScreenFragment.AttachEvent event)
@Install(to="pivotTableDl", target=DATA_LOADER) protected java.util.List<io.jmix.core.entity.KeyValueEntity> pivotTableDlLoadDelegate(io.jmix.core.ValueLoadContext loadContext)
protected PivotTableFragment.PivotTableDescription fromJsonString(java.lang.String json)
protected RendererOptions createRendererOptions()
protected Aggregation createDefaultAggregation()
public Aggregations createAggregations()
public Aggregation createAggregation(PivotTableFragment.PivotTableDescription.AggregationDescription aggregationDescription)
public Renderers createRenderers()
public java.util.Map<java.lang.String,java.lang.String> createProperties()
public DerivedProperties createDerivedProperties()
@Subscribe(value="exportExcel") public void exportExcel(Button.ClickEvent event)