Class ShowPreviewPaneAction
- java.lang.Object
-
- javax.swing.AbstractAction
-
- org.pentaho.reporting.designer.core.actions.AbstractDesignerContextAction
-
- org.pentaho.reporting.designer.core.actions.global.ShowPreviewPaneAction
-
- All Implemented Interfaces:
ActionListener
,Serializable
,Cloneable
,EventListener
,Action
,DesignerContextAction
,ToggleStateAction
,DesignerContextComponent
public final class ShowPreviewPaneAction extends AbstractDesignerContextAction implements ToggleStateAction
Todo: Document Me- Author:
- Ezequiel Cuellar
- 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 ShowPreviewPaneAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
actionPerformed(ActionEvent e)
protected String
getPropertyName()
boolean
isSelected()
protected boolean
recomputeEnabled()
void
setSelected(boolean selected)
protected void
updateDesignerContext(ReportDesignerContext oldContext, ReportDesignerContext newContext)
-
Methods inherited from class org.pentaho.reporting.designer.core.actions.AbstractDesignerContextAction
getReportDesignerContext, isVisible, setReportDesignerContext, setVisible
-
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
-
actionPerformed
public void actionPerformed(ActionEvent e)
- Specified by:
actionPerformed
in interfaceActionListener
-
getPropertyName
protected String getPropertyName()
-
recomputeEnabled
protected boolean recomputeEnabled()
-
setSelected
public void setSelected(boolean selected)
-
updateDesignerContext
protected void updateDesignerContext(ReportDesignerContext oldContext, ReportDesignerContext newContext)
- Overrides:
updateDesignerContext
in classAbstractDesignerContextAction
-
isSelected
public boolean isSelected()
- Specified by:
isSelected
in interfaceToggleStateAction
-
-