|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
edu.uci.ics.jung.visualization.contrib.BirdsEyeGraphDraw
public class BirdsEyeGraphDraw
Similar to GraphDraw, but with no method calls that will modify the underlying graph. This component is used as the view to create a birds-eye zoom/pan tool
Nested Class Summary |
---|
Nested classes/interfaces inherited from class javax.swing.JComponent |
---|
JComponent.AccessibleJComponent |
Nested classes/interfaces inherited from class java.awt.Container |
---|
Container.AccessibleAWTContainer |
Nested classes/interfaces inherited from class java.awt.Component |
---|
Component.AccessibleAWTComponent, Component.BltBufferStrategy, Component.FlipBufferStrategy |
Field Summary | |
---|---|
protected GraphDraw |
gd
Deprecated. the GraphDraw to manage |
Fields inherited from class javax.swing.JComponent |
---|
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
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 | |
---|---|
BirdsEyeGraphDraw(GraphDraw gd,
float scalex,
float scaley)
Deprecated. Creates a read-only graph drawing environment that draws this graph object. |
Method Summary | |
---|---|
Layout |
getGraphLayout()
Deprecated. Returns the currently operative layout. |
Renderer |
getRender()
Deprecated. getter for the original renderer |
BirdsEyeVisualizationViewer |
getVisualizationViewer()
Deprecated. Returns the visualizationviewer that actually does the graph drawing. |
void |
resetRenderer()
Deprecated. resets to the original renderer. |
void |
setBackground(Color bg)
Deprecated. |
void |
setGraphLayout(Layout l)
Deprecated. Dynamically chooses a new GraphLayout. |
void |
setRenderer(Renderer r)
Deprecated. A method to set the renderer. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected GraphDraw gd
Constructor Detail |
---|
public BirdsEyeGraphDraw(GraphDraw gd, float scalex, float scaley)
g
- the graphscalex
- the scale in the horizontal axisscaley
- the scale in the vertical axisMethod Detail |
---|
public BirdsEyeVisualizationViewer getVisualizationViewer()
public void setBackground(Color bg)
setBackground
in class JComponent
public void setRenderer(Renderer r)
r
- the new rendererpublic void resetRenderer()
public Renderer getRender()
public void setGraphLayout(Layout l)
l
- the new graph layout algorithmpublic Layout getGraphLayout()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |