ca.sqlpower.architect.swingui.olap
Class OLAPPlayPenFactory

java.lang.Object
  extended by ca.sqlpower.architect.swingui.olap.OLAPPlayPenFactory

public class OLAPPlayPenFactory
extends java.lang.Object


Constructor Summary
OLAPPlayPenFactory()
           
 
Method Summary
static PlayPen createPlayPen(ArchitectSwingSession session, OLAPEditSession oSession, OLAPUndoManager undoManager)
           
static void setupOLAPMouseWheelActions(PlayPen pp, OLAPEditSession oSession)
          Sets up scroll wheel actions on the playpen.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OLAPPlayPenFactory

public OLAPPlayPenFactory()
Method Detail

createPlayPen

public static PlayPen createPlayPen(ArchitectSwingSession session,
                                    OLAPEditSession oSession,
                                    OLAPUndoManager undoManager)

setupOLAPMouseWheelActions

public static void setupOLAPMouseWheelActions(PlayPen pp,
                                              OLAPEditSession oSession)
Sets up scroll wheel actions on the playpen. This is done separately because the wheelMouseMoved event requires the scroll pane be built before it can work. The ZoomIn and ZoomOut actions also need a playpen before the actions can be created.

Parameters:
pp - The playpen to register the mouse wheel actions on.
oSession - The session pp belongs to, also the session that owns the actions to register and ScrollPane.


Copyright © 2003-2007 SQL Power Group Inc. www.sqlpower.ca