org.globus.cog.gui.grapheditor.targets.swing.util
Class OverviewContainer

java.lang.Object
  extended byjava.awt.Component
      extended byjava.awt.Container
          extended byorg.globus.cog.gui.grapheditor.util.swing.EventTrappingContainer
              extended byorg.globus.cog.gui.grapheditor.targets.swing.util.ScalingContainer
                  extended byorg.globus.cog.gui.grapheditor.targets.swing.util.OverviewContainer
All Implemented Interfaces:
ActionListener, EventListener, ImageObserver, MenuContainer, MouseListener, MouseMotionListener, PainterListener, RepaintListener, Serializable

public class OverviewContainer
extends ScalingContainer

See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class java.awt.Container
Container.AccessibleAWTContainer
 
Nested classes inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BltBufferStrategy, Component.FlipBufferStrategy
 
Field Summary
 
Fields inherited from class org.globus.cog.gui.grapheditor.targets.swing.util.ScalingContainer
painter, SWING_SCALING_PAINTER, titleHeight
 
Fields inherited from class org.globus.cog.gui.grapheditor.util.swing.EventTrappingContainer
comp
 
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
 
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
 
Constructor Summary
OverviewContainer(GraphView view)
           
 
Method Summary
 Dimension computeSize()
           
 void dispose()
           
protected  ScalingPainter getPainter(int type)
           
 boolean getUseScaling()
           
 void paint(Graphics g)
           
 void paintBuffer()
           
 void paintOutline()
           
 void setComponent(Component comp)
           
 void setUseScaling(boolean b)
           
 void setVisibleArea(Rectangle r)
           
 
Methods inherited from class org.globus.cog.gui.grapheditor.targets.swing.util.ScalingContainer
actionPerformed, addPainterListener, bufferUpdated, clear, computeSize, destroyCurrentPainter, doPaintBuffer, finalize, fireBufferUpdated, firePaintCompleted, getAntiAliasing, getBufferSize, getIcon, getKeepAspectRatio, getMaxx, getMaxy, getMinx, getMiny, getPaintLock, getPreferredSize, getTilte, invalidate, isImmediate, isOutline, maxX, maxY, minX, minY, mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, paintCompleted, paintd, paintNormal, processMouseEvent, processMouseMotionEvent, realToScaled, realToScaled, removePainterListener, removeTitle, repaint, repaintBuffer, repaintImmediately, scaledToReal, scaledToReal, setAntiAliasing, setEventsEnabled, setIcon, setImmediate, setKeepAspectRatio, setMaxx, setMaxy, setMinx, setMiny, setOutline, setPaintLock, setTitle, translateAndDispatchMouseEvent, validateTree, wakeCurrentPainter
 
Methods inherited from class org.globus.cog.gui.grapheditor.util.swing.EventTrappingContainer
contains, disableEventsP, disableMouseEvents, doLayout, enableEventsP, enableMouseEvents, getComponent
 
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addNotify, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getInsets, getLayout, getListeners, getMaximumSize, getMinimumSize, insets, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, paramString, preferredSize, print, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, removeNotify, setFocusCycleRoot, setFocusTraversalKeys, setFocusTraversalPolicy, setFont, setLayout, transferFocusBackward, transferFocusDownCycle, update, validate, validateTree
 
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, getAccessibleContext, getBackground, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphics, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getToolkit, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isOpaque, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, reshape, resize, resize, setBackground, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, setVisible, show, show, size, toString, transferFocus, transferFocusUpCycle
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OverviewContainer

public OverviewContainer(GraphView view)
Method Detail

paint

public void paint(Graphics g)
Overrides:
paint in class ScalingContainer

computeSize

public Dimension computeSize()
Overrides:
computeSize in class ScalingContainer

paintOutline

public void paintOutline()
Overrides:
paintOutline in class ScalingContainer

getPainter

protected ScalingPainter getPainter(int type)
Overrides:
getPainter in class ScalingContainer

setVisibleArea

public void setVisibleArea(Rectangle r)

getUseScaling

public boolean getUseScaling()

setUseScaling

public void setUseScaling(boolean b)

paintBuffer

public void paintBuffer()
Overrides:
paintBuffer in class ScalingContainer

setComponent

public void setComponent(Component comp)
Overrides:
setComponent in class ScalingContainer

dispose

public void dispose()
Overrides:
dispose in class ScalingContainer