Package io.jmix.pivottable.action.list
Class ShowPivotAction
java.lang.Object
io.jmix.ui.action.AbstractAction
io.jmix.ui.action.BaseAction
io.jmix.ui.action.ListAction
io.jmix.pivottable.action.list.ShowPivotAction
- All Implemented Interfaces:
- Action,- Action.HasPrimaryState,- Action.HasTarget,- Action.SecuredAction
@StudioAction(target="io.jmix.ui.component.ListComponent",
              description="Gets items from Table/DataGrid and shows them in a new screen with PivotTable component")
@ActionType("showPivot")
public class ShowPivotAction
extends ListAction
Gets items from 
ListComponent and shows them in new screen with pivot table component.- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionprotected static enumProvides two modes for exporting rows from component.Nested classes/interfaces inherited from class io.jmix.ui.action.BaseActionBaseAction.EnabledRuleNested classes/interfaces inherited from interface io.jmix.ui.action.ActionAction.ActionPerformedEvent, Action.AdjustWhenScreenReadOnly, Action.ExecutableAction, Action.HasPrimaryState, Action.HasSecurityConstraint, Action.HasTarget, Action.MainTabSheetAction, Action.ScreenOpeningAction, Action.SecuredAction, Action.Status
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected org.springframework.context.ApplicationContextprotected Stringstatic final Stringprotected Stringprotected MessagesFields inherited from class io.jmix.ui.action.ListActiontargetFields inherited from class io.jmix.ui.action.AbstractActioncaption, description, enabled, eventHub, icon, id, owners, primary, shortcut, visibleFields inherited from interface io.jmix.ui.action.ActionPROP_CAPTION, PROP_DESCRIPTION, PROP_ENABLED, PROP_ICON, PROP_SHORTCUT, PROP_VISIBLE
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidactionPerform(Component component) Invoked by owning component to execute the action.protected booleanparseProperties(String properties) protected voidsetApplicationContext(org.springframework.context.ApplicationContext applicationContext) voidsetExcludedProperties(String properties) Set excluded properties separated by a comma.voidsetIncludedProperties(String properties) Sets included properties separated by a comma.protected voidsetMessages(Messages messages) protected voidMethods inherited from class io.jmix.ui.action.ListActiongetTarget, setTarget, withCaption, withDescription, withHandler, withIcon, withPrimary, withShortcutMethods inherited from class io.jmix.ui.action.BaseActionaddActionPerformedListener, addEnabledRule, isApplicable, isEnabledByRule, isEnabledByUiPermissions, isPermitted, isVisibleByUiPermissions, refreshState, removeEnabledRule, setEnabled, setEnabledByUiPermissions, setEnabledInternal, setVisible, setVisibleByUiPermissions, setVisibleInternalMethods inherited from class io.jmix.ui.action.AbstractActionaddOwner, addPropertyChangeListener, firePropertyChange, getCaption, getDescription, getEventHub, getIcon, getId, getOwner, getOwners, getShortcutCombination, hasSubscriptions, isEnabled, isPrimary, isVisible, removeOwner, removePropertyChangeListener, setCaption, setDescription, setIcon, setPrimary, setShortcut, setShortcutCombinationMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.jmix.ui.action.ActionaddOwner, addPropertyChangeListener, getCaption, getDescription, getIcon, getId, getOwner, getOwners, getShortcutCombination, isEnabled, isVisible, refreshState, removeOwner, removePropertyChangeListener, setCaption, setDescription, setEnabled, setIcon, setShortcut, setShortcutCombination, setVisible
- 
Field Details- 
ID- See Also:
 
- 
messages
- 
applicationContextprotected org.springframework.context.ApplicationContext applicationContext
- 
includedProperties
- 
excludedProperties
 
- 
- 
Constructor Details- 
ShowPivotActionpublic ShowPivotAction()
- 
ShowPivotAction
 
- 
- 
Method Details- 
setMessages
- 
setApplicationContext@Autowired protected void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) 
- 
setExcludedProperties@StudioPropertiesItem(name="excludedProperties", description="Set excluded properties separated by a comma. Excluded properties will not be shown in the PivotTable") public void setExcludedProperties(String properties) Set excluded properties separated by a comma. Excluded properties will not be shown in the PivotTable.- Parameters:
- properties- excluded properties
 
- 
getExcludedProperties
- 
getExcludedPropertiesList- Returns:
- list with parsed excluded properties
 
- 
setIncludedProperties@StudioPropertiesItem(name="includedProperties", description="Sets included properties separated by a comma. Only included properties will be shown in the PivotTable") public void setIncludedProperties(String properties) Sets included properties separated by a comma. Only included properties will be shown in the PivotTable.- Parameters:
- properties- included properties
 
- 
getIncludedProperties
- 
getIncludedPropertiesList- Returns:
- list with parsed included properties
 
- 
actionPerformDescription copied from interface:ActionInvoked by owning component to execute the action.- Specified by:
- actionPerformin interface- Action
- Overrides:
- actionPerformin class- BaseAction
- Parameters:
- component- invoking component
 
- 
needShowAllprotected boolean needShowAll()
- 
parseProperties
- 
showPivotTable
 
-