|
||||||||||
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
javax.swing.JPanel
edu.uci.ics.jung.visualization.BirdsEyeVisualizationViewer
public class BirdsEyeVisualizationViewer
BirdsEyeVisualizationViewer is intended to be an additional display of a graph and layout that is being manipulated elsewhere. This class makes no calls that mutate the graph or layout
Nested Class Summary |
---|
Nested classes/interfaces inherited from class javax.swing.JPanel |
---|
JPanel.AccessibleJPanel |
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 MutableTransformer |
layoutTransformer
Deprecated. |
protected Lens |
lens
Deprecated. |
protected VisualizationModel |
model
Deprecated. |
protected Renderer |
renderer
Deprecated. |
protected Map |
renderingHints
Deprecated. |
protected float |
scalex
Deprecated. |
protected float |
scaley
Deprecated. |
protected VisualizationViewer |
vv
Deprecated. |
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 | |
---|---|
BirdsEyeVisualizationViewer(VisualizationViewer vv,
float scalex,
float scaley)
Deprecated. create an instance with passed values |
Method Summary | |
---|---|
void |
addNotify()
Deprecated. defers setting the perferred size until the component is live and the layout size is known Adds the mouse clicker at that time. |
Layout |
getGraphLayout()
Deprecated. getter for graph layout |
MutableTransformer |
getLayoutTransformer()
Deprecated. |
void |
initLens()
Deprecated. set the initial values for the Lens (50% zoom centered in display) |
protected void |
initMouseClicker()
Deprecated. Creates and adds the Lens to control zoom/pan functions |
protected void |
paintComponent(Graphics g)
Deprecated. paint the graph, transforming with the scalex and scaley |
void |
resetLens()
Deprecated. reset the Lens to no zoom/no offset. |
void |
setGraphLayout(Layout layout)
Deprecated. setter for layout |
void |
setLayoutTransformer(MutableTransformer layoutTransformer)
Deprecated. |
void |
setRenderer(Renderer r)
Deprecated. UNTESTED. |
void |
zoom(float percent)
Deprecated. proportionally zoom the Lens |
Methods inherited from class javax.swing.JPanel |
---|
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected VisualizationViewer vv
protected Renderer renderer
protected VisualizationModel model
protected Map renderingHints
protected float scalex
protected float scaley
protected Lens lens
protected MutableTransformer layoutTransformer
Constructor Detail |
---|
public BirdsEyeVisualizationViewer(VisualizationViewer vv, float scalex, float scaley)
layout
- the layout to user
- the renderer to usescalex
- the scale in the horizontal directionscaley
- the scale in the vertical directionMethod Detail |
---|
public MutableTransformer getLayoutTransformer()
public void setLayoutTransformer(MutableTransformer layoutTransformer)
layoutTransformer
- The layoutTransformer to set.public void resetLens()
public void initLens()
public void zoom(float percent)
percent
- public void addNotify()
addNotify
in class JComponent
protected void initMouseClicker()
public void setRenderer(Renderer r)
public void setGraphLayout(Layout layout)
v
- the layoutpublic Layout getGraphLayout()
protected void paintComponent(Graphics g)
paintComponent
in class JComponent
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |