Class SimFieldRenderer
java.lang.Object
net.simplace.client.sim.graphpanel.renderer.SimFieldRenderer
- All Implemented Interfaces:
edu.uci.ics.jung.visualization.renderers.Renderer.Vertex<FWSimFieldContainer,SimFieldLink>
public class SimFieldRenderer
extends Object
implements edu.uci.ics.jung.visualization.renderers.Renderer.Vertex<FWSimFieldContainer,SimFieldLink>
- Author:
- aenders
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classDifferent variables have different identifies to be able to devide them within within the debugging phase of the software developping process.Nested classes/interfaces inherited from interface edu.uci.ics.jung.visualization.renderers.Renderer.Vertex
edu.uci.ics.jung.visualization.renderers.Renderer.Vertex.NOOP -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected booleanprotected edu.uci.ics.jung.visualization.picking.PickedState<FWSimFieldContainer> -
Constructor Summary
ConstructorsConstructorDescriptionSimFieldRenderer(edu.uci.ics.jung.visualization.picking.PickedState<FWSimFieldContainer> aPickedState, boolean aCyclic) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidpaintShapeForVertex(edu.uci.ics.jung.visualization.RenderContext<FWSimFieldContainer, SimFieldLink> aRc, FWSimFieldContainer aV, Shape aShape) voidpaintVertex(edu.uci.ics.jung.visualization.RenderContext<FWSimFieldContainer, SimFieldLink> aRc, edu.uci.ics.jung.algorithms.layout.Layout<FWSimFieldContainer, SimFieldLink> aLayout, FWSimFieldContainer aV) protected static booleanvertexHit(edu.uci.ics.jung.visualization.RenderContext<FWSimFieldContainer, SimFieldLink> rc, Shape s)
-
Field Details
-
pickedState
-
cyclic
protected boolean cyclic
-
-
Constructor Details
-
SimFieldRenderer
public SimFieldRenderer(edu.uci.ics.jung.visualization.picking.PickedState<FWSimFieldContainer> aPickedState, boolean aCyclic) - Parameters:
aPickedState-aCyclic-
-
-
Method Details
-
paintShapeForVertex
protected void paintShapeForVertex(edu.uci.ics.jung.visualization.RenderContext<FWSimFieldContainer, SimFieldLink> aRc, FWSimFieldContainer aV, Shape aShape) - Parameters:
aRc-aV-aShape-
-
paintVertex
public void paintVertex(edu.uci.ics.jung.visualization.RenderContext<FWSimFieldContainer, SimFieldLink> aRc, edu.uci.ics.jung.algorithms.layout.Layout<FWSimFieldContainer, SimFieldLink> aLayout, FWSimFieldContainer aV) - Specified by:
paintVertexin interfaceedu.uci.ics.jung.visualization.renderers.Renderer.Vertex<FWSimFieldContainer,SimFieldLink> - See Also:
-
Renderer.Vertex.paintVertex(edu.uci.ics.jung.visualization.RenderContext, edu.uci.ics.jung.algorithms.layout.Layout, java.lang.Object)
-
vertexHit
protected static boolean vertexHit(edu.uci.ics.jung.visualization.RenderContext<FWSimFieldContainer, SimFieldLink> rc, Shape s) - Parameters:
rc-s-- Returns:
- boolean if FWSimFieldContainer was hit
-