Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.xerox.VTM.engine
Class VirtualSpaceManager  view VirtualSpaceManager download VirtualSpaceManager.java

java.lang.Object
  extended bycom.xerox.VTM.engine.VirtualSpaceManager
All Implemented Interfaces:
java.awt.event.AWTEventListener, java.util.EventListener

public class VirtualSpaceManager
extends java.lang.Object
implements java.awt.event.AWTEventListener

Virtual space manager - VTM root class - virtual space management (camera, glyphs,...) is done here - primary interface to application. This is the main class to instantiate.


Field Summary
(package private)  java.lang.Object activeJFrame
           
 View activeView
          current view
static short ALL_GLYPHS
          select all glyphs in the region
protected  java.util.Hashtable allCameras
          key is camera ID (Integer)
protected  java.util.Hashtable allGlyphs
          key is glyph ID (Long)
protected  java.util.Hashtable allViews
          key is view name (String)
protected  java.util.Hashtable allVirtualSpaces
          key is space name (String)
 AnimManager animator
          Animation Manager
(package private)  boolean debug
          print exceptions
(package private)  boolean defaultMultiFill
          enables detection of multiple full fills in one view repaint - default value assigned to new views - STILL VERY BUGGY - ONLY SUPPORTS VRectangle and VCircle for now
(package private)  boolean generalRepaintPolicy
          default policy for view repainting - true means all views are repainted even if ((not active) or (mouse not inside the view)) - false means only the active view and the view in which the mouse is currently located (if different) are repainted - default is true
(package private) static java.awt.Font mainFont
           
(package private)  java.awt.Color mouseInsideColor
           
 boolean mouseSync
          sync mouse cursor and mouse glyph
private  int nextcID
          next camera will have ID...
private  long nextID
          next glyph will have ID...
private  int nextmID
          next cursor will have ID...
(package private)  java.awt.Color selectColor
          Constraint Manager
static short SENSITIVE_GLYPHS
          select only mouse sensitive glyphs
(package private)  float textAsLineCoef
          value under which a VText is drawn as a point instead of a text (considered too small to be read).
static short VIS_AND_SENS_GLYPHS
          select only mouse sensitive and visible glyphs
static short VISIBLE_GLYPHS
          select only visible glyphs
protected  int zoomFloor
          allow negative camera altitudes (zoom beyond the standard size=magnification)
 
Constructor Summary
VirtualSpaceManager()
          Only for use with stand-alone Java applications (use other constructor with applet=true if running inside a JApplet)
VirtualSpaceManager(boolean applet)
          Set applet to true if you are calling ZVTM from inside an Applet
 
Method Summary
 View addAccView(java.util.Vector c, java.lang.String name, int w, int h, boolean bar, boolean visible)
          create a new accelerated view - old method
 View addAccView(java.util.Vector c, java.lang.String name, int w, int h, boolean bar, boolean visible, javax.swing.JMenuBar mnb)
          create a new accelerated view - old method
 javax.swing.JPanel addAppletView(java.util.Vector c, java.lang.String name, int w, int h)
          create a new applet view
 Camera addCamera(java.lang.String vs)
          add camera to space whose name is vs
 Camera addCamera(java.lang.String vs, boolean lazy)
          add camera to space whose name is vs
 net.claribole.zvtm.glyphs.CGlyph addCGlyph(net.claribole.zvtm.glyphs.CGlyph c, java.lang.String vs)
          add composite glyph c to virtual space whose name is vs
 AccEView addExternalAccView(java.util.Vector c, java.lang.String name, int w, int h, boolean bar, boolean visible)
          create a new external accelerated view
 AccEView addExternalAccView(java.util.Vector c, java.lang.String name, int w, int h, boolean bar, boolean visible, javax.swing.JMenuBar mnb)
          create a new external accelerated view
 EView addExternalView(java.util.Vector c, java.lang.String name, int w, int h, boolean bar, boolean visible)
          create a new external view
 EView addExternalView(java.util.Vector c, java.lang.String name, int w, int h, boolean bar, boolean visible, javax.swing.JMenuBar mnb)
          create a new external view
 com.xerox.VTM.glyphs.Glyph addGlyph(com.xerox.VTM.glyphs.Glyph g, java.lang.String vs)
          add glyph g to virtual space whose name is vs
 AccIView addInternalAccView(java.util.Vector c, java.lang.String name, int w, int h, boolean bar, boolean visible, IViewContainer ivc, java.lang.Integer layer)
          create a new internal accelerated view
 AccIView addInternalAccView(java.util.Vector c, java.lang.String name, int w, int h, boolean bar, boolean visible, javax.swing.JMenuBar mnb, IViewContainer ivc, java.lang.Integer layer)
          create a new internal accelerated view
 IView addInternalView(java.util.Vector c, java.lang.String name, int w, int h, boolean bar, boolean visible, IViewContainer ivc, java.lang.Integer layer)
          create a new internal view
 IView addInternalView(java.util.Vector c, java.lang.String name, int w, int h, boolean bar, boolean visible, javax.swing.JMenuBar mnb, IViewContainer ivc, java.lang.Integer layer)
          create a new internal view
 View addView(java.util.Vector c, java.lang.String name, int w, int h, boolean bar, boolean visible)
          create a new view - old method
 View addView(java.util.Vector c, java.lang.String name, int w, int h, boolean bar, boolean visible, javax.swing.JMenuBar mnb)
          create a new view - old method
 VirtualSpace addVirtualSpace(java.lang.String n)
          create a new virtual space with name n
 net.claribole.zvtm.engine.Location centerOnGlyph(com.xerox.VTM.glyphs.Glyph g, Camera c, int d)
          translates and (un)zooms a camera in order to focus on glyph g
 net.claribole.zvtm.engine.Location centerOnRegion(Camera c, int d, long x1, long y1, long x2, long y2)
          translates and (un)zooms a camera in order to focus on a specific rectangular region
 IViewContainer createIViewContainer(java.lang.String name, int w, int h)
          create a JFrame container for IViews - required parameter in IView constructor
 boolean debugModeON()
          get debug mode state (ON or OFF)
 void destroyGlyphsInSpace(java.lang.String spaceName)
          destroy all glyphs in space whose name is spaceName
protected  void destroyView(java.lang.String viewName)
          destroy a view - used internally - not available to programmer, who should call the method directly on the view itself
 void destroyVirtualSpace(java.lang.String n)
          destroy a virtual space
 void eventDispatched(java.awt.AWTEvent e)
          This method is called when any event in the AWT system is dispatched.
static long[] findFarmostGlyphCoords(VirtualSpace s)
          returns the leftmost xpos, upmost ypos, rightmost xpos, downmost ypos visible in virtual space s
 Camera getActiveCamera()
          get active camera
 VirtualSpace getActiveSpace()
          get active virtual space
 View getActiveView()
          get active view
 Camera getCamera(java.lang.Integer id)
          get camera whose ID is id
 boolean getDefaultMultiFills()
          get state of detection of multiple full fills in one view repaint - default value assigned to new views
 net.claribole.zvtm.engine.Location getGlobalView(Camera c, int d)
          translates and (un)zooms a camera in order to see everything visible in the associated virtual space
 com.xerox.VTM.glyphs.Glyph getGlyph(java.lang.Long id)
          get glyph with ID id
 java.util.Vector getGlyphsInRegion(long x1, long y1, long x2, long y2, java.lang.String vsn, int wg)
          returns a vector of glyphs whose hotspot is in region delimited by rectangle (x1,y1,x2,y2) in virtual space vs (returns null if empty).
static java.awt.Font getMainFont()
           
 boolean getRepaintPolicy()
          get general policy for view repainting (this is the current default policy, but this does not guarantee that all views comply with it since the policy may be changed for each single view)
 float getTextDisplayedAsSegCoef()
          set the value under which a VText is drawn as a point instead of a text (considered too small to be read).
 View getView(java.lang.String n)
          get view whose name is n
 VirtualSpace getVirtualSpace(java.lang.String n)
          get virtual space whose name is n
 int getZoomLimit()
          get the zoom-in limit/maximum magnification (like a floor the camera cannot go through)
default value 0 means that, at maximum magnification, the size of observed glyphs corresponds to their real size (e.g.
 void removeGlyphFromUnderMouseLists(com.xerox.VTM.glyphs.Glyph g)
           
 void repaintNow()
          call this if you want to repaint all views at once in some cases it is not possible to detect graphical changes, like when a glyph is selected so repaint has to be done manually (unless you are willing to wait for another event to trigger repaint, like mouse moving)
 void setActiveView(View v)
          set active view
 void setDebug(boolean b)
          set debug mode ON or OFF
 void setDefaultMultiFills(boolean b)
          enable/disable detection of multiple full fills in one view repaint - default value assigned to new views - default is false
 void setMainFont(java.awt.Font f)
           
 void setMouseInsideGlyphColor(java.awt.Color c)
          set border color of glyphs overlapped by mouse (not propagated to existing glyphs)
 void setMouseSync(boolean b)
          true -> sync mouse cursor and mouse glyph
 void setRepaintPolicy(boolean b)
          set policy for view repainting - true means all views are repainted even if ((not active) or (mouse not inside the view)) - policy is forwarded to all existing views (no matter its current policy) and will be applied to future ones (but it can be changed for each single view)
 void setSelectedGlyphColor(java.awt.Color c)
          set border color of selected glyphs (not propagated to existing glyphs)
 void setTextDisplayedAsSegCoef(float f)
          set the value under which a VText is drawn as a point instead of a text (considered too small to be read).
 void setZoomLimit(int a)
          set a zoom-in limit/maximum magnification (like a floor the camera cannot go through)
value 0 means that, at maximum magnification, the size of observed glyphs corresponds to their real size (e.g.
 void stickToGlyph(com.xerox.VTM.glyphs.Glyph g1, com.xerox.VTM.glyphs.Glyph g2)
          stick glyph g1 to glyph g2 (behaves like a one-way constraint)
 void stickToGlyph(java.lang.Long id1, java.lang.Long id2)
          stick glyph whose ID is id1 to glyph whose ID is id2 (behaves like a one-way constraint)
 void stickToMouse(com.xerox.VTM.glyphs.Glyph g)
          stick glyph g to mouse (to drag it) - glyph is automatically made unsensitive to mouse events
 void stickToMouse(java.lang.Long id)
          stick glyph whose ID is id to mouse (to drag it) - glyph is automatically made unsensitive to mouse events
 void unstickAllGlyphs(com.xerox.VTM.glyphs.Glyph g)
          unstick all glyphs sticked to g
 void unstickFromGlyph(com.xerox.VTM.glyphs.Glyph g1, com.xerox.VTM.glyphs.Glyph g2)
          unstick glyph g1 from glyph g2
 void unstickFromGlyph(java.lang.Long id1, java.lang.Long id2)
          unstick glyph whose ID is id1 from glyph whose ID is id2
 void unstickFromMouse()
          unstick ONLY LAST glyph sticked to mouse - glyph is automatically made sensitive to mouse events - you can get the number of glyphs sticked to the mouse by calling VCursor.getStickedGlyphsNumber()
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

mainFont

static java.awt.Font mainFont

VIS_AND_SENS_GLYPHS

public static short VIS_AND_SENS_GLYPHS
select only mouse sensitive and visible glyphs


VISIBLE_GLYPHS

public static short VISIBLE_GLYPHS
select only visible glyphs


SENSITIVE_GLYPHS

public static short SENSITIVE_GLYPHS
select only mouse sensitive glyphs


ALL_GLYPHS

public static short ALL_GLYPHS
select all glyphs in the region


debug

boolean debug
print exceptions


nextID

private long nextID
next glyph will have ID...


nextcID

private int nextcID
next camera will have ID...


nextmID

private int nextmID
next cursor will have ID...


allGlyphs

protected java.util.Hashtable allGlyphs
key is glyph ID (Long)


allCameras

protected java.util.Hashtable allCameras
key is camera ID (Integer)


allVirtualSpaces

protected java.util.Hashtable allVirtualSpaces
key is space name (String)


allViews

protected java.util.Hashtable allViews
key is view name (String)


activeView

public View activeView
current view


generalRepaintPolicy

boolean generalRepaintPolicy
default policy for view repainting - true means all views are repainted even if ((not active) or (mouse not inside the view)) - false means only the active view and the view in which the mouse is currently located (if different) are repainted - default is true


defaultMultiFill

boolean defaultMultiFill
enables detection of multiple full fills in one view repaint - default value assigned to new views - STILL VERY BUGGY - ONLY SUPPORTS VRectangle and VCircle for now


textAsLineCoef

float textAsLineCoef
value under which a VText is drawn as a point instead of a text (considered too small to be read). Default is 0.5 - if you raise this value, text that was still displayed as a string will be displayed as a segment and inversely - of course, displaying a line instead of applying affine transformations to strings is faster


mouseSync

public boolean mouseSync
sync mouse cursor and mouse glyph


animator

public AnimManager animator
Animation Manager


zoomFloor

protected int zoomFloor
allow negative camera altitudes (zoom beyond the standard size=magnification)


selectColor

java.awt.Color selectColor
Constraint Manager


mouseInsideColor

java.awt.Color mouseInsideColor

activeJFrame

java.lang.Object activeJFrame
Constructor Detail

VirtualSpaceManager

public VirtualSpaceManager()
Only for use with stand-alone Java applications (use other constructor with applet=true if running inside a JApplet)


VirtualSpaceManager

public VirtualSpaceManager(boolean applet)
Set applet to true if you are calling ZVTM from inside an Applet

Method Detail

getMainFont

public static java.awt.Font getMainFont()

setMainFont

public void setMainFont(java.awt.Font f)

setDebug

public void setDebug(boolean b)
set debug mode ON or OFF


debugModeON

public boolean debugModeON()
get debug mode state (ON or OFF)


setRepaintPolicy

public void setRepaintPolicy(boolean b)
set policy for view repainting - true means all views are repainted even if ((not active) or (mouse not inside the view)) - policy is forwarded to all existing views (no matter its current policy) and will be applied to future ones (but it can be changed for each single view)


getRepaintPolicy

public boolean getRepaintPolicy()
get general policy for view repainting (this is the current default policy, but this does not guarantee that all views comply with it since the policy may be changed for each single view)


setDefaultMultiFills

public void setDefaultMultiFills(boolean b)
enable/disable detection of multiple full fills in one view repaint - default value assigned to new views - default is false


getDefaultMultiFills

public boolean getDefaultMultiFills()
get state of detection of multiple full fills in one view repaint - default value assigned to new views


setZoomLimit

public void setZoomLimit(int a)
set a zoom-in limit/maximum magnification (like a floor the camera cannot go through)
value 0 means that, at maximum magnification, the size of observed glyphs corresponds to their real size (e.g. if a circle has a declared radius of 50 in the virtual space, then its radius at max magnification is 50)
if the floor is set to a negative value, you will be able to zoom in further (meaning that you will be able to magnify objects beyond their declared size)
Note: there is no limit for zoom out (no so-called ceiling)


getZoomLimit

public int getZoomLimit()
get the zoom-in limit/maximum magnification (like a floor the camera cannot go through)
default value 0 means that, at maximum magnification, the size of observed glyphs corresponds to their real size (e.g. if a circle has a declared radius of 50 in the virtual space, then its radius at max magnification is 50)
if the floor is set to a negative value, you will be able to zoom in further (meaning that you will be able to magnify objects beyond their declared size)
Note: there is no limit for zoom out (no so-called ceiling)


setMouseSync

public void setMouseSync(boolean b)
true -> sync mouse cursor and mouse glyph


setSelectedGlyphColor

public void setSelectedGlyphColor(java.awt.Color c)
set border color of selected glyphs (not propagated to existing glyphs)


setMouseInsideGlyphColor

public void setMouseInsideGlyphColor(java.awt.Color c)
set border color of glyphs overlapped by mouse (not propagated to existing glyphs)


addGlyph

public com.xerox.VTM.glyphs.Glyph addGlyph(com.xerox.VTM.glyphs.Glyph g,
                                           java.lang.String vs)
add glyph g to virtual space whose name is vs


addCGlyph

public net.claribole.zvtm.glyphs.CGlyph addCGlyph(net.claribole.zvtm.glyphs.CGlyph c,
                                                  java.lang.String vs)
add composite glyph c to virtual space whose name is vs


getGlyph

public com.xerox.VTM.glyphs.Glyph getGlyph(java.lang.Long id)
get glyph with ID id


getGlyphsInRegion

public java.util.Vector getGlyphsInRegion(long x1,
                                          long y1,
                                          long x2,
                                          long y2,
                                          java.lang.String vsn,
                                          int wg)
returns a vector of glyphs whose hotspot is in region delimited by rectangle (x1,y1,x2,y2) in virtual space vs (returns null if empty). Coordinates of the mouse cursor in virtual space are available in instance variables vx and vy of class VCursor. The selection rectangle can be drawn on screen by using ViewPanel.setDrawRect(true) (e.g. call when mouse button is pressed)/ViewPanel.setDrawRect(false) (e.g. call when mouse button is released)


destroyGlyphsInSpace

public void destroyGlyphsInSpace(java.lang.String spaceName)
destroy all glyphs in space whose name is spaceName


addCamera

public Camera addCamera(java.lang.String vs)
add camera to space whose name is vs


addCamera

public Camera addCamera(java.lang.String vs,
                        boolean lazy)
add camera to space whose name is vs


getCamera

public Camera getCamera(java.lang.Integer id)
get camera whose ID is id


getActiveCamera

public Camera getActiveCamera()
get active camera


addView

public View addView(java.util.Vector c,
                    java.lang.String name,
                    int w,
                    int h,
                    boolean bar,
                    boolean visible)
create a new view - old method


addAccView

public View addAccView(java.util.Vector c,
                       java.lang.String name,
                       int w,
                       int h,
                       boolean bar,
                       boolean visible)
create a new accelerated view - old method


addView

public View addView(java.util.Vector c,
                    java.lang.String name,
                    int w,
                    int h,
                    boolean bar,
                    boolean visible,
                    javax.swing.JMenuBar mnb)
create a new view - old method


addAccView

public View addAccView(java.util.Vector c,
                       java.lang.String name,
                       int w,
                       int h,
                       boolean bar,
                       boolean visible,
                       javax.swing.JMenuBar mnb)
create a new accelerated view - old method


addExternalView

public EView addExternalView(java.util.Vector c,
                             java.lang.String name,
                             int w,
                             int h,
                             boolean bar,
                             boolean visible)
create a new external view


addExternalAccView

public AccEView addExternalAccView(java.util.Vector c,
                                   java.lang.String name,
                                   int w,
                                   int h,
                                   boolean bar,
                                   boolean visible)
create a new external accelerated view


addExternalView

public EView addExternalView(java.util.Vector c,
                             java.lang.String name,
                             int w,
                             int h,
                             boolean bar,
                             boolean visible,
                             javax.swing.JMenuBar mnb)
create a new external view


addExternalAccView

public AccEView addExternalAccView(java.util.Vector c,
                                   java.lang.String name,
                                   int w,
                                   int h,
                                   boolean bar,
                                   boolean visible,
                                   javax.swing.JMenuBar mnb)
create a new external accelerated view


addInternalView

public IView addInternalView(java.util.Vector c,
                             java.lang.String name,
                             int w,
                             int h,
                             boolean bar,
                             boolean visible,
                             IViewContainer ivc,
                             java.lang.Integer layer)
create a new internal view


addInternalAccView

public AccIView addInternalAccView(java.util.Vector c,
                                   java.lang.String name,
                                   int w,
                                   int h,
                                   boolean bar,
                                   boolean visible,
                                   IViewContainer ivc,
                                   java.lang.Integer layer)
create a new internal accelerated view


addInternalView

public IView addInternalView(java.util.Vector c,
                             java.lang.String name,
                             int w,
                             int h,
                             boolean bar,
                             boolean visible,
                             javax.swing.JMenuBar mnb,
                             IViewContainer ivc,
                             java.lang.Integer layer)
create a new internal view


addInternalAccView

public AccIView addInternalAccView(java.util.Vector c,
                                   java.lang.String name,
                                   int w,
                                   int h,
                                   boolean bar,
                                   boolean visible,
                                   javax.swing.JMenuBar mnb,
                                   IViewContainer ivc,
                                   java.lang.Integer layer)
create a new internal accelerated view


createIViewContainer

public IViewContainer createIViewContainer(java.lang.String name,
                                           int w,
                                           int h)
create a JFrame container for IViews - required parameter in IView constructor


addAppletView

public javax.swing.JPanel addAppletView(java.util.Vector c,
                                        java.lang.String name,
                                        int w,
                                        int h)
create a new applet view


getView

public View getView(java.lang.String n)
get view whose name is n


destroyView

protected void destroyView(java.lang.String viewName)
destroy a view - used internally - not available to programmer, who should call the method directly on the view itself


repaintNow

public void repaintNow()
call this if you want to repaint all views at once in some cases it is not possible to detect graphical changes, like when a glyph is selected so repaint has to be done manually (unless you are willing to wait for another event to trigger repaint, like mouse moving)


addVirtualSpace

public VirtualSpace addVirtualSpace(java.lang.String n)
create a new virtual space with name n


destroyVirtualSpace

public void destroyVirtualSpace(java.lang.String n)
destroy a virtual space


getVirtualSpace

public VirtualSpace getVirtualSpace(java.lang.String n)
get virtual space whose name is n


getActiveSpace

public VirtualSpace getActiveSpace()
get active virtual space


setActiveView

public void setActiveView(View v)
set active view


getActiveView

public View getActiveView()
get active view


stickToMouse

public void stickToMouse(java.lang.Long id)
stick glyph whose ID is id to mouse (to drag it) - glyph is automatically made unsensitive to mouse events


stickToMouse

public void stickToMouse(com.xerox.VTM.glyphs.Glyph g)
stick glyph g to mouse (to drag it) - glyph is automatically made unsensitive to mouse events


unstickFromMouse

public void unstickFromMouse()
unstick ONLY LAST glyph sticked to mouse - glyph is automatically made sensitive to mouse events - you can get the number of glyphs sticked to the mouse by calling VCursor.getStickedGlyphsNumber()


stickToGlyph

public void stickToGlyph(java.lang.Long id1,
                         java.lang.Long id2)
stick glyph whose ID is id1 to glyph whose ID is id2 (behaves like a one-way constraint)


stickToGlyph

public void stickToGlyph(com.xerox.VTM.glyphs.Glyph g1,
                         com.xerox.VTM.glyphs.Glyph g2)
stick glyph g1 to glyph g2 (behaves like a one-way constraint)


unstickFromGlyph

public void unstickFromGlyph(java.lang.Long id1,
                             java.lang.Long id2)
unstick glyph whose ID is id1 from glyph whose ID is id2


unstickFromGlyph

public void unstickFromGlyph(com.xerox.VTM.glyphs.Glyph g1,
                             com.xerox.VTM.glyphs.Glyph g2)
unstick glyph g1 from glyph g2


unstickAllGlyphs

public void unstickAllGlyphs(com.xerox.VTM.glyphs.Glyph g)
unstick all glyphs sticked to g


getGlobalView

public net.claribole.zvtm.engine.Location getGlobalView(Camera c,
                                                        int d)
translates and (un)zooms a camera in order to see everything visible in the associated virtual space


findFarmostGlyphCoords

public static long[] findFarmostGlyphCoords(VirtualSpace s)
returns the leftmost xpos, upmost ypos, rightmost xpos, downmost ypos visible in virtual space s


centerOnGlyph

public net.claribole.zvtm.engine.Location centerOnGlyph(com.xerox.VTM.glyphs.Glyph g,
                                                        Camera c,
                                                        int d)
translates and (un)zooms a camera in order to focus on glyph g


centerOnRegion

public net.claribole.zvtm.engine.Location centerOnRegion(Camera c,
                                                         int d,
                                                         long x1,
                                                         long y1,
                                                         long x2,
                                                         long y2)
translates and (un)zooms a camera in order to focus on a specific rectangular region


setTextDisplayedAsSegCoef

public void setTextDisplayedAsSegCoef(float f)
set the value under which a VText is drawn as a point instead of a text (considered too small to be read). Default is 0.5 (it is compared to the product of the font size by the projection value) - if you raise this value, more text that was still displayed as a string will be displayed as a segment and inversely - of course, displaying a line instead of applying affine transformations to strings is faster


getTextDisplayedAsSegCoef

public float getTextDisplayedAsSegCoef()
set the value under which a VText is drawn as a point instead of a text (considered too small to be read). Default is 0.5 (it is compared to the product of the font size by the projection value)


removeGlyphFromUnderMouseLists

public void removeGlyphFromUnderMouseLists(com.xerox.VTM.glyphs.Glyph g)

eventDispatched

public void eventDispatched(java.awt.AWTEvent e)
Description copied from interface: java.awt.event.AWTEventListener
This method is called when any event in the AWT system is dispatched.

Specified by:
eventDispatched in interface java.awt.event.AWTEventListener