org.pentaho.reporting.engine.classic.core.modules.gui.base.internal
Class PreviewPaneUtilities

java.lang.Object
  extended by org.pentaho.reporting.engine.classic.core.modules.gui.base.internal.PreviewPaneUtilities

public class PreviewPaneUtilities
extends Object

Creation-Date: 17.11.2006, 15:06:51

Author:
Thomas Morgner

Method Summary
static void addActionsToToolBar(JToolBar toolBar, ActionPlugin[] reportActions, JComboBox zoomSelector, PreviewPane pane)
           
static ZoomAction[] buildMenu(JMenu menu, ActionPlugin[] actions, PreviewPane pane)
           
static CategoryTreeItem[] buildMenuTree(ActionCategory[] categories)
           
static ActionFactory createActionFactory(org.pentaho.reporting.libraries.base.config.Configuration config)
           
static IconTheme createIconTheme(org.pentaho.reporting.libraries.base.config.Configuration config)
           
static JMenu createMenu(ActionCategory cat)
           
static double getNextZoomIn(double zoom, double[] zoomFactors)
           
static double getNextZoomOut(double zoom, double[] zoomFactors)
           
static HashMap loadActions(SwingGuiContext swingGuiContext)
           
static ActionCategory[] loadCategories(SwingGuiContext swingGuiContext)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

createMenu

public static JMenu createMenu(ActionCategory cat)

buildMenu

public static ZoomAction[] buildMenu(JMenu menu,
                                     ActionPlugin[] actions,
                                     PreviewPane pane)

addActionsToToolBar

public static void addActionsToToolBar(JToolBar toolBar,
                                       ActionPlugin[] reportActions,
                                       JComboBox zoomSelector,
                                       PreviewPane pane)

getNextZoomOut

public static double getNextZoomOut(double zoom,
                                    double[] zoomFactors)

getNextZoomIn

public static double getNextZoomIn(double zoom,
                                   double[] zoomFactors)

createIconTheme

public static IconTheme createIconTheme(org.pentaho.reporting.libraries.base.config.Configuration config)

createActionFactory

public static ActionFactory createActionFactory(org.pentaho.reporting.libraries.base.config.Configuration config)

buildMenuTree

public static CategoryTreeItem[] buildMenuTree(ActionCategory[] categories)

loadActions

public static HashMap loadActions(SwingGuiContext swingGuiContext)

loadCategories

public static ActionCategory[] loadCategories(SwingGuiContext swingGuiContext)