com.hp.hpl.guess.tg
Class TGDisplay
java.lang.Object
java.awt.Component
java.awt.Container
java.awt.Panel
com.touchgraph.graphlayout.GLPanel
com.hp.hpl.guess.tg.TGDisplay
- All Implemented Interfaces:
- Accessible, FrameListener, ImageObserver, MenuContainer, Serializable
- public class TGDisplay
- extends com.touchgraph.graphlayout.GLPanel
- implements FrameListener
- See Also:
- Serialized Form
| Fields inherited from class com.touchgraph.graphlayout.GLPanel |
glPopup, hvScroll, hyperLabel, hyperScroll, localityLabel, localityScroll, rotateLabel, rotateScroll, scrollBarHash, zoomLabel, zoomScroll |
|
Constructor Summary |
TGDisplay()
Default constructor. |
| Methods inherited from class com.touchgraph.graphlayout.GLPanel |
addUIs, buildLens, buildPanel, getGLPopup, getHVScroll, getHyperScroll, getLocalityRadius, getLocalityScroll, getOffset, getRotateScroll, getRotationAngle, getTGPanel, getZoomScroll, getZoomValue, initialize, main, setLocalityRadius, setOffset, setRotationAngle, setZoomValue |
| Methods inherited from class java.awt.Container |
add, add, add, add, add, addContainerListener, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getInsets, getLayout, getListeners, getMaximumSize, getMinimumSize, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paint, paintComponents, preferredSize, print, printComponents, remove, remove, removeAll, removeContainerListener, removeNotify, setFocusCycleRoot, setFocusTraversalKeys, setFocusTraversalPolicy, setFont, setLayout, transferFocusBackward, transferFocusDownCycle, update, validate |
| Methods inherited from class java.awt.Component |
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, dispatchEvent, enable, enable, enableInputMethods, 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, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, 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 |
TGDisplay
public TGDisplay()
- Default constructor.
randomGraph
public void randomGraph()
throws com.touchgraph.graphlayout.TGException
- Throws:
com.touchgraph.graphlayout.TGException
center
public void center()
- Specified by:
center in interface FrameListener
center
public void center(Object o)
- Specified by:
center in interface FrameListener
repaint
public void repaint()
- Specified by:
repaint in interface FrameListener
setFrozen
public void setFrozen(boolean state)
- Specified by:
setFrozen in interface FrameListener
exportGIF
public void exportGIF(String filename)
- Specified by:
exportGIF in interface FrameListener
exportJPG
public void exportJPG(String filename)
- Specified by:
exportJPG in interface FrameListener
exportPDF
public void exportPDF(String filename)
- Specified by:
exportPDF in interface FrameListener
exportPS
public void exportPS(String filename)
- Specified by:
exportPS in interface FrameListener
exportEPS
public void exportEPS(String filename)
- Specified by:
exportEPS in interface FrameListener
exportSVG
public void exportSVG(String filename)
- Specified by:
exportSVG in interface FrameListener
exportSWF
public void exportSWF(String filename)
- Specified by:
exportSWF in interface FrameListener
exportJAVA
public void exportJAVA(String filename)
- Specified by:
exportJAVA in interface FrameListener
exportCGM
public void exportCGM(String filename)
- Specified by:
exportCGM in interface FrameListener
exportEMF
public void exportEMF(String filename)
- Specified by:
exportEMF in interface FrameListener
exportPNG
public void exportPNG(String filename)
- Specified by:
exportPNG in interface FrameListener
getDisplayBackground
public Color getDisplayBackground()
- Specified by:
getDisplayBackground in interface FrameListener
setDisplayBackground
public void setDisplayBackground(Color c)
- Specified by:
setDisplayBackground in interface FrameListener
setBackgroundImage
public void setBackgroundImage(String filename)
- Specified by:
setBackgroundImage in interface FrameListener
setBackgroundImage
public void setBackgroundImage(String filename,
double x,
double y)
- Specified by:
setBackgroundImage in interface FrameListener
removeBackgroundImage
public void removeBackgroundImage()
- Specified by:
removeBackgroundImage in interface FrameListener
getFullImage
public BufferedImage getFullImage()
- Specified by:
getFullImage in interface FrameListener