Package ghidra.graph.viewer.renderer
Class VisualVertexSatelliteRenderer<V extends VisualVertex,E extends VisualEdge<V>>
- java.lang.Object
-
- edu.uci.ics.jung.visualization.renderers.BasicVertexRenderer<V,E>
-
- ghidra.graph.viewer.vertex.AbstractVisualVertexRenderer<V,E>
-
- ghidra.graph.viewer.renderer.VisualVertexSatelliteRenderer<V,E>
-
- All Implemented Interfaces:
edu.uci.ics.jung.visualization.renderers.Renderer.Vertex<V,E>
public class VisualVertexSatelliteRenderer<V extends VisualVertex,E extends VisualEdge<V>> extends AbstractVisualVertexRenderer<V,E>
A renderer for vertices for the satellite view. This is really just a basic renderer that adds emphasis capability, as seen in the primary function graph renderer.
-
-
Constructor Summary
Constructors Constructor Description VisualVertexSatelliteRenderer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
paintHighlight(edu.uci.ics.jung.visualization.RenderContext<V,E> rc, V vertex, edu.uci.ics.jung.visualization.transform.shape.GraphicsDecorator g, java.awt.Rectangle bounds)
protected void
paintIconForVertex(edu.uci.ics.jung.visualization.RenderContext<V,E> rc, V v, edu.uci.ics.jung.algorithms.layout.Layout<V,E> layout)
Overridden to handle painting emphasis.protected java.awt.Shape
prepareFinalVertexShape(edu.uci.ics.jung.visualization.RenderContext<V,E> rc, V v, edu.uci.ics.jung.algorithms.layout.Layout<V,E> layout, int[] coords)
-
Methods inherited from class ghidra.graph.viewer.vertex.AbstractVisualVertexRenderer
adjustValueForCurrentScale, getCompactShape, getEmphasisGraphics, getFullShape, getScale, isScaledPastVertexInteractionThreshold, paintDropShadow, transformFromLayoutToView
-
-
-
-
Method Detail
-
paintIconForVertex
protected void paintIconForVertex(edu.uci.ics.jung.visualization.RenderContext<V,E> rc, V v, edu.uci.ics.jung.algorithms.layout.Layout<V,E> layout)
Overridden to handle painting emphasis.- Overrides:
paintIconForVertex
in classedu.uci.ics.jung.visualization.renderers.BasicVertexRenderer<V extends VisualVertex,E extends VisualEdge<V>>
-
prepareFinalVertexShape
protected java.awt.Shape prepareFinalVertexShape(edu.uci.ics.jung.visualization.RenderContext<V,E> rc, V v, edu.uci.ics.jung.algorithms.layout.Layout<V,E> layout, int[] coords)
- Overrides:
prepareFinalVertexShape
in classedu.uci.ics.jung.visualization.renderers.BasicVertexRenderer<V extends VisualVertex,E extends VisualEdge<V>>
-
paintHighlight
protected void paintHighlight(edu.uci.ics.jung.visualization.RenderContext<V,E> rc, V vertex, edu.uci.ics.jung.visualization.transform.shape.GraphicsDecorator g, java.awt.Rectangle bounds)
- Overrides:
paintHighlight
in classAbstractVisualVertexRenderer<V extends VisualVertex,E extends VisualEdge<V>>
-
-