Class SelectCrosstabBandAction
- java.lang.Object
-
- javax.swing.AbstractAction
-
- org.pentaho.reporting.designer.core.actions.AbstractDesignerContextAction
-
- org.pentaho.reporting.designer.core.actions.elements.SelectCrosstabBandAction
-
- All Implemented Interfaces:
ActionListener
,Serializable
,Cloneable
,EventListener
,Action
,DesignerContextAction
,ToggleStateAction
,DesignerContextComponent
public class SelectCrosstabBandAction extends AbstractDesignerContextAction implements ToggleStateAction
This class handle the select crosstab action. This action is invoked from the Crosstab subreport toolbar. Each time user clicks on the button, a different section of the crosstab is selected where all elements inside the section are selected,- Author:
- Sulaiman Karmali
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class javax.swing.AbstractAction
changeSupport, enabled
-
Fields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON
-
Fields inherited from interface org.pentaho.reporting.designer.core.actions.ToggleStateAction
SELECTED
-
-
Constructor Summary
Constructors Constructor Description SelectCrosstabBandAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
actionPerformed(ActionEvent e)
Invoked when an action occurs.void
buildCrosstabLists()
ArrayList<org.pentaho.reporting.engine.classic.core.Element>
getOtherGroupBodyList()
void
initialize()
boolean
isSelected()
void
setSelected(boolean selected)
-
Methods inherited from class org.pentaho.reporting.designer.core.actions.AbstractDesignerContextAction
getReportDesignerContext, isVisible, setReportDesignerContext, setVisible, updateDesignerContext
-
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface javax.swing.Action
accept, addPropertyChangeListener, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
-
-
-
Method Detail
-
isSelected
public boolean isSelected()
- Specified by:
isSelected
in interfaceToggleStateAction
-
setSelected
public void setSelected(boolean selected)
-
initialize
public void initialize()
-
getOtherGroupBodyList
public ArrayList<org.pentaho.reporting.engine.classic.core.Element> getOtherGroupBodyList()
-
buildCrosstabLists
public void buildCrosstabLists()
-
actionPerformed
public void actionPerformed(ActionEvent e)
Invoked when an action occurs. We are going to select all the elements inside of a crosstab band (row, column, or cell) every time actionPerformed is called - usually when user clicks on selection icon in subreport toolbar- Specified by:
actionPerformed
in interfaceActionListener
-
-