JHotDraw 6.0b1

Uses of Interface
org.jhotdraw.framework.DrawingView

Packages that use DrawingView
org.jhotdraw.applet   
org.jhotdraw.application   
org.jhotdraw.contrib   
org.jhotdraw.contrib.dnd   
org.jhotdraw.contrib.zoom   
org.jhotdraw.figures   
org.jhotdraw.framework   
org.jhotdraw.samples.javadraw   
org.jhotdraw.samples.minimap   
org.jhotdraw.standard   
org.jhotdraw.util   
 

Uses of DrawingView in org.jhotdraw.applet
 

Methods in org.jhotdraw.applet that return DrawingView
protected  DrawingView DrawApplet.createDrawingView()
          Creates the drawing view used in this application.
 DrawingView DrawApplet.view()
          Gets the current drawing view.
 DrawingView[] DrawApplet.views()
           
 

Methods in org.jhotdraw.applet with parameters of type DrawingView
 void DrawApplet.figureSelectionChanged(DrawingView view)
          Handles a change of the current selection.
 void DrawApplet.viewSelectionChanged(DrawingView oldView, DrawingView newView)
           
 

Uses of DrawingView in org.jhotdraw.application
 

Methods in org.jhotdraw.application that return DrawingView
protected  DrawingView DrawApplication.createDrawingView()
          Creates the drawing view used in this application.
protected  DrawingView DrawApplication.createDrawingView(Drawing newDrawing)
           
protected  DrawingView DrawApplication.createInitialDrawingView()
          Create the DrawingView that is active when the application is started.
 DrawingView DrawApplication.view()
          Retrieve the active view from the window Gets the current drawing view.
 DrawingView[] DrawApplication.views()
           
 

Methods in org.jhotdraw.application with parameters of type DrawingView
 void DrawApplication.figureSelectionChanged(DrawingView view)
          Fired by a view when the figure selection changes.
protected  void DrawApplication.fireViewCreatedEvent(DrawingView view)
           
protected  void DrawApplication.fireViewDestroyingEvent(DrawingView view)
           
protected  void DrawApplication.fireViewSelectionChangedEvent(DrawingView oldView, DrawingView newView)
          An appropriate event is triggered and all registered observers are notified if the drawing view has been changed, e.g.
protected  void DrawApplication.open(DrawingView newDrawingView)
          Opens a new window with a drawing view.
protected  void DrawApplication.setView(DrawingView newView)
           
 

Uses of DrawingView in org.jhotdraw.contrib
 

Methods in org.jhotdraw.contrib that return DrawingView
protected  DrawingView MDI_DrawApplication.createInitialDrawingView()
          Create the DrawingView that is active when the application is started.
 DrawingView Desktop.getActiveDrawingView()
          For those absent minded components that were not paying attention to the listener events.
 DrawingView DesktopEventService.getActiveDrawingView()
           
 DrawingView JPanelDesktop.getActiveDrawingView()
           
 DrawingView JScrollPaneDesktop.getActiveDrawingView()
           
 DrawingView MDIDesktopPane.getActiveDrawingView()
           
 DrawingView SplitPaneDesktop.getActiveDrawingView()
           
 DrawingView[] Desktop.getAllFromDesktop(int location)
           
 DrawingView[] JPanelDesktop.getAllFromDesktop(int location)
           
 DrawingView[] JScrollPaneDesktop.getAllFromDesktop(int location)
           
 DrawingView[] MDIDesktopPane.getAllFromDesktop(int location)
           
 DrawingView[] SplitPaneDesktop.getAllFromDesktop(int location)
           
 DrawingView DesktopEvent.getDrawingView()
           
static DrawingView Helper.getDrawingView(java.awt.Component component)
           
static DrawingView Helper.getDrawingView(java.awt.Container container)
           
 DrawingView[] DesktopEventService.getDrawingViews(java.awt.Component[] comps)
           
 DrawingView MiniMapView.getMappedDrawingView()
           
 DrawingView DesktopEvent.getPreviousDrawingView()
           
 DrawingView[] MDI_DrawApplication.views()
          Returns all the views in the application
 

Methods in org.jhotdraw.contrib with parameters of type DrawingView
 void Desktop.addToDesktop(DrawingView dv, int location)
           
 void JPanelDesktop.addToDesktop(DrawingView dv, int location)
           
 void JScrollPaneDesktop.addToDesktop(DrawingView dv, int location)
           
 void MDIDesktopPane.addToDesktop(DrawingView dv, int location)
          This must match the signature of the superclass it is overriding or the method invocation may not resolve to this method unless it is called on a reference of specifically MDIDesktopPane type.
 void SplitPaneDesktop.addToDesktop(DrawingView dv, int location)
           
protected  java.awt.Component JPanelDesktop.createContents(DrawingView dv)
           
protected  java.awt.Component JScrollPaneDesktop.createContents(DrawingView dv)
           
protected  java.awt.Component MDIDesktopPane.createContents(DrawingView dv)
           
protected  java.awt.Component SplitPaneDesktop.createContents(DrawingView dv, int location)
           
protected  DesktopEvent DesktopEventService.createDesktopEvent(DrawingView oldView, DrawingView newView)
           
protected  java.awt.Component SplitPaneDesktop.createLeftComponent(DrawingView dv)
           
protected  java.awt.Component SplitPaneDesktop.createRightComponent(DrawingView dv)
           
protected  Undoable PolygonHandle.createUndoActivity(DrawingView newView, int newPointIndex)
          Factory method for undo activity.
 void ClippingUpdateStrategy.draw(java.awt.Graphics g, DrawingView view)
           
 void GridPainter.draw(java.awt.Graphics g, DrawingView view)
           
protected  void DesktopEventService.fireDrawingViewAddedEvent(DrawingView dv)
           
protected  void MDIDesktopPane.fireDrawingViewAddedEvent(DrawingView dv)
           
protected  void DesktopEventService.fireDrawingViewRemovedEvent(DrawingView dv)
           
protected  void MDIDesktopPane.fireDrawingViewRemovedEvent(DrawingView dv)
           
protected  void DesktopEventService.fireDrawingViewSelectedEvent(DrawingView oldView, DrawingView newView)
          This method is only called if the selected drawingView has actually changed
protected  void MDIDesktopPane.fireDrawingViewSelectedEvent(DrawingView oldView, DrawingView newView)
           
 void PolygonHandle.invokeEnd(int x, int y, int anchorX, int anchorY, DrawingView view)
           
 void PolygonHandle.invokeStart(int x, int y, DrawingView view)
           
 void PolygonHandle.invokeStep(int x, int y, int anchorX, int anchorY, DrawingView view)
           
 void DesktopEventService.removeComponent(DrawingView dv)
           
 void Desktop.removeFromDesktop(DrawingView dv, int location)
           
 void JPanelDesktop.removeFromDesktop(DrawingView dv, int location)
           
 void JScrollPaneDesktop.removeFromDesktop(DrawingView dv, int location)
           
 void MDIDesktopPane.removeFromDesktop(DrawingView dv, int location)
           
 void SplitPaneDesktop.removeFromDesktop(DrawingView dv, int location)
           
protected  void DesktopEventService.setActiveDrawingView(DrawingView newActiveDrawingView)
           
protected  void MDIDesktopPane.setActiveDrawingView(DrawingView newSelectedView)
           
protected  void MiniMapView.setMappedDrawingView(DrawingView newMappedDrawingView)
           
 

Constructors in org.jhotdraw.contrib with parameters of type DrawingView
DesktopEvent(Desktop newSource, DrawingView newDrawingView)
           
DesktopEvent(Desktop newSource, DrawingView newDrawingView, DrawingView newPreviousDV)
           
MiniMapView(DrawingView newMappedDrawingView, javax.swing.JScrollPane subject)
           
PolygonHandle.UndoActivity(DrawingView newView, int newPointIndex)
           
TextAreaTool.UndoActivity(DrawingView newDrawingView, java.lang.String newOriginalText)
          Constructor for the UndoActivity object
 

Uses of DrawingView in org.jhotdraw.contrib.dnd
 

Methods in org.jhotdraw.contrib.dnd that return DrawingView
protected abstract  DrawingView DNDHelper.view()
           
protected  DrawingView JHDDropTargetListener.view()
           
 

Methods in org.jhotdraw.contrib.dnd with parameters of type DrawingView
protected  Undoable JHDDragSourceListener.createSourceUndoActivity(DrawingView drawingView)
          Factory method for undo activity
protected  Undoable JHDDropTargetListener.createTargetUndoActivity(DrawingView view)
          Factory method for undo activity
static void DragNDropTool.setCursor(int x, int y, DrawingView view)
          Sets the type of cursor based on what is under the coordinates in the active view.
protected  void DragNDropTool.viewCreated(DrawingView view)
          Sent when a new view is created
protected  void DragNDropTool.viewDestroying(DrawingView view)
          Send when an existing view is about to be destroyed.
 

Constructors in org.jhotdraw.contrib.dnd with parameters of type DrawingView
JHDDragSourceListener.RemoveUndoActivity(DrawingView view)
           
JHDDragSourceListener(DrawingEditor newEditor, DrawingView newView)
          Creates a new instance of JHDDragSource
JHDDropTargetListener.AddUndoActivity(DrawingView newDrawingView)
           
JHDDropTargetListener(DrawingEditor drawingEditor, DrawingView drawingView)
          Creates a new instance of JHDDropTargetListener
 

Uses of DrawingView in org.jhotdraw.contrib.zoom
 

Classes in org.jhotdraw.contrib.zoom that implement DrawingView
 class ZoomDrawingView
          A view that can display drawings at an arbitrary scale.
 

Methods in org.jhotdraw.contrib.zoom with parameters of type DrawingView
 void ZoomUpdateStrategy.draw(java.awt.Graphics g, DrawingView view)
          Draws the view contents.
 

Constructors in org.jhotdraw.contrib.zoom with parameters of type DrawingView
MiniMapZoomableView(DrawingView newMappedDrawingView, javax.swing.JScrollPane subject)
           
 

Uses of DrawingView in org.jhotdraw.figures
 

Methods in org.jhotdraw.figures with parameters of type DrawingView
protected  Undoable FontSizeHandle.createUndoActivity(DrawingView newView)
          Factory method for undo activity
protected  Undoable PolyLineHandle.createUndoActivity(DrawingView newView, int newPointIndex)
          Factory method for undo activity.
 void FontSizeHandle.invokeEnd(int x, int y, int anchorX, int anchorY, DrawingView view)
           
 void PolyLineHandle.invokeEnd(int x, int y, int anchorX, int anchorY, DrawingView view)
           
 void ElbowHandle.invokeStart(int x, int y, DrawingView view)
           
 void FontSizeHandle.invokeStart(int x, int y, DrawingView view)
           
 void PolyLineHandle.invokeStart(int x, int y, DrawingView view)
           
 void ElbowHandle.invokeStep(int x, int y, int anchorX, int anchorY, DrawingView view)
           
 void FontSizeHandle.invokeStep(int x, int y, int anchorX, int anchorY, DrawingView view)
           
 void PolyLineHandle.invokeStep(int x, int y, int anchorX, int anchorY, DrawingView view)
           
 

Constructors in org.jhotdraw.figures with parameters of type DrawingView
BorderTool.UndoActivity(DrawingView newDrawingView)
           
ConnectedTextTool.UndoActivity(DrawingView newDrawingView, java.lang.String newOriginalText)
           
FontSizeHandle.UndoActivity(DrawingView newView, java.awt.Font newFont)
           
GroupCommand.UndoActivity(DrawingView newDrawingView)
           
PolyLineHandle.UndoActivity(DrawingView newView, int newPointIndex)
           
TextTool.UndoActivity(DrawingView newDrawingView, java.lang.String newOriginalText)
           
UngroupCommand.UndoActivity(DrawingView newDrawingView)
           
 

Uses of DrawingView in org.jhotdraw.framework
 

Methods in org.jhotdraw.framework that return DrawingView
 DrawingView DrawingEditor.view()
          Gets the editor's drawing view.
 DrawingView[] DrawingEditor.views()
           
 

Methods in org.jhotdraw.framework with parameters of type DrawingView
 void Painter.draw(java.awt.Graphics g, DrawingView view)
          Draws into the given DrawingView.
 void DrawingEditor.figureSelectionChanged(DrawingView view)
          Informs that the current figure selection has changed.
 void FigureSelectionListener.figureSelectionChanged(DrawingView view)
          Sent when the figure selection has changed.
 void Handle.invokeEnd(int x, int y, int anchorX, int anchorY, DrawingView view)
          Tracks the end of the interaction.
 void Handle.invokeStart(int x, int y, DrawingView view)
          Tracks the start of the interaction.
 void Handle.invokeStep(int x, int y, int anchorX, int anchorY, DrawingView view)
          Tracks a step of the interaction.
 void ViewChangeListener.viewCreated(DrawingView view)
          Sent when a new view is created.
 void ViewChangeListener.viewDestroying(DrawingView view)
          Send when an existing view is about to be destroyed.
 void ViewChangeListener.viewSelectionChanged(DrawingView oldView, DrawingView newView)
          Sent when the active view has changed.
 

Uses of DrawingView in org.jhotdraw.samples.javadraw
 

Methods in org.jhotdraw.samples.javadraw that return DrawingView
protected  DrawingView JavaDrawApp.createDrawingView(Drawing newDrawing)
           
 DrawingView JavaDrawViewer.view()
          Gets the editor's drawing view.
 DrawingView[] JavaDrawViewer.views()
           
 

Methods in org.jhotdraw.samples.javadraw with parameters of type DrawingView
 void URLTool.deactivate(DrawingView view)
           
 void PatternPainter.draw(java.awt.Graphics g, DrawingView view)
           
 void JavaDrawViewer.figureSelectionChanged(DrawingView view)
          Ignore selection changes, we don't show any selection
 

Constructors in org.jhotdraw.samples.javadraw with parameters of type DrawingView
Animator(Animatable animatable, DrawingView view)
           
 

Uses of DrawingView in org.jhotdraw.samples.minimap
 

Methods in org.jhotdraw.samples.minimap with parameters of type DrawingView
protected  java.awt.Component MiniMapDesktop.createLeftComponent(DrawingView view)
           
protected  java.awt.Component MiniMapDesktop.createRightComponent(DrawingView view)
           
 

Uses of DrawingView in org.jhotdraw.standard
 

Classes in org.jhotdraw.standard that implement DrawingView
 class NullDrawingView
          This DrawingView provides a very basic implementation.
 class StandardDrawingView
          The standard implementation of DrawingView.
 

Methods in org.jhotdraw.standard that return DrawingView
 DrawingView AbstractTool.getActiveView()
           
static DrawingView NullDrawingView.getManagedDrawingView(DrawingEditor editor)
           
 DrawingView AbstractCommand.view()
          Convenience method
 DrawingView AbstractTool.view()
          Gets the tool's view (convienence method).
 

Methods in org.jhotdraw.standard with parameters of type DrawingView
protected  Tool SelectionTool.createHandleTracker(DrawingView view, Handle handle)
          Factory method to create a Handle tracker.
protected  Undoable ChangeConnectionEndHandle.createUndoActivity(DrawingView newView)
          Factory method for undo activity
protected abstract  Undoable ChangeConnectionHandle.createUndoActivity(DrawingView newView)
          Factory method for undo activity.
protected  Undoable ChangeConnectionStartHandle.createUndoActivity(DrawingView newView)
          Factory method for undo activity
protected  Undoable ConnectionHandle.createUndoActivity(DrawingView view)
          Factory method for undo activity.
 void BufferedUpdateStrategy.draw(java.awt.Graphics g, DrawingView view)
          Draws the view contents.
 void FastBufferedUpdateStrategy.draw(java.awt.Graphics g, DrawingView view)
           
 void NullPainter.draw(java.awt.Graphics g, DrawingView view)
           
 void SimpleUpdateStrategy.draw(java.awt.Graphics g, DrawingView view)
          Draws the view contents.
 void AbstractCommand.figureSelectionChanged(DrawingView view)
           
 void AbstractHandle.invokeEnd(int x, int y, int anchorX, int anchorY, DrawingView view)
          Tracks the end of the interaction.
 void ChangeConnectionHandle.invokeEnd(int x, int y, int anchorX, int anchorY, DrawingView view)
          Connects the figure to the new target.
 void ConnectionHandle.invokeEnd(int x, int y, int anchorX, int anchorY, DrawingView view)
          Connects the figures if the mouse is released over another figure.
 void AbstractHandle.invokeStart(int x, int y, DrawingView view)
           
 void ChangeConnectionHandle.invokeStart(int x, int y, DrawingView view)
          Disconnects the connection.
 void ConnectionHandle.invokeStart(int x, int y, DrawingView view)
          Creates the connection
 void AbstractHandle.invokeStep(int x, int y, int anchorX, int anchorY, DrawingView view)
          Tracks a step of the interaction.
 void ChangeConnectionHandle.invokeStep(int x, int y, int anchorX, int anchorY, DrawingView view)
          Finds a new target of the connection.
 void ConnectionHandle.invokeStep(int x, int y, int anchorX, int anchorY, DrawingView view)
          Tracks the connection.
 void OffsetConnector.reset(DrawingView drawingView)
          Called when a ConnectionTool starts a new connection.
protected  void AbstractTool.setView(DrawingView newDrawingView)
           
protected  void AbstractCommand.viewCreated(DrawingView view)
          Sent when a new view is created
protected  void AbstractTool.viewCreated(DrawingView view)
          Sent when a new view is created
protected  void AbstractCommand.viewDestroying(DrawingView view)
          Send when an existing view is about to be destroyed.
protected  void AbstractTool.viewDestroying(DrawingView view)
          Send when an existing view is about to be destroyed.
protected  void AbstractCommand.viewSelectionChanged(DrawingView oldView, DrawingView newView)
           
protected  void AbstractTool.viewSelectionChanged(DrawingView oldView, DrawingView newView)
          Fired when the selected view changes.
 

Constructors in org.jhotdraw.standard with parameters of type DrawingView
AlignCommand.UndoActivity(DrawingView newView, AlignCommand.Alignment newAlignment)
           
BringToFrontCommand.UndoActivity(DrawingView newDrawingView)
           
ChangeAttributeCommand.UndoActivity(DrawingView newDrawingView, FigureAttributeConstant newUndoAttribute, java.lang.Object newUndoValue)
           
ChangeConnectionEndHandle.UndoActivity(DrawingView newView)
           
ChangeConnectionHandle.UndoActivity(DrawingView newView)
           
ChangeConnectionStartHandle.UndoActivity(DrawingView newView)
           
ConnectionTool.UndoActivity(DrawingView newDrawingView, ConnectionFigure newConnection)
           
DragTracker.UndoActivity(DrawingView newDrawingView, java.awt.Point newOriginalPoint)
           
PasteCommand.UndoActivity(DrawingView newDrawingView)
           
SelectAllCommand.UndoActivity(DrawingView newDrawingView)
           
SendToBackCommand.UndoActivity(DrawingView newDrawingView)
           
 

Uses of DrawingView in org.jhotdraw.util
 

Methods in org.jhotdraw.util that return DrawingView
 DrawingView UndoableTool.getActiveView()
           
 DrawingView UndoRedoActivity.getDrawingView()
           
 DrawingView Undoable.getDrawingView()
           
 DrawingView UndoableAdapter.getDrawingView()
           
 DrawingView UndoableHandle.getDrawingView()
          Deprecated. attribute not required anymore
 DrawingView UndoableCommand.view()
           
 DrawingView UndoableTool.view()
           
 

Methods in org.jhotdraw.util with parameters of type DrawingView
 void UndoManager.clearRedos(DrawingView checkDV)
          Removes all redo activities that operate on the given DrawingView.
 void UndoManager.clearUndos(DrawingView checkDV)
          Removes all undo activities that operate on the given DrawingView.
 void UndoableCommand.figureSelectionChanged(DrawingView view)
           
 void UndoableHandle.invokeEnd(int x, int y, int anchorX, int anchorY, DrawingView view)
          Tracks the end of the interaction.
 void UndoableHandle.invokeStart(int x, int y, DrawingView view)
          Tracks the start of the interaction.
 void UndoableHandle.invokeStep(int x, int y, int anchorX, int anchorY, DrawingView view)
          Tracks a step of the interaction.
protected  void UndoableAdapter.setDrawingView(DrawingView newDrawingView)
           
protected  void UndoableHandle.setDrawingView(DrawingView newDrawingView)
          Deprecated. attribute not required anymore
 

Constructors in org.jhotdraw.util with parameters of type DrawingView
UndoableAdapter(DrawingView newDrawingView)
           
UndoableHandle(Handle newWrappedHandle, DrawingView newDrawingView)
          Deprecated. use the constructor without the DrawingView instead
 


JHotDraw 6.0b1