Class SimFieldRenderer.ComponentColor
java.lang.Object
net.simplace.client.sim.graphpanel.renderer.SimFieldRenderer.ComponentColor
- Enclosing class:
SimFieldRenderer
Colors of the vertices per content type.
- Author:
- Andreas Enders
-
Field Summary
FieldsModifier and TypeFieldDescriptionCenter (gradient end) color per content type.Main (gradient start) color per content type.Main color of picked vertices per content type. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ColorgetCenterColor(net.simplace.sim.util.FWSimVariable.CONTENT_TYPE aContentType) static ColorgetMainColor(net.simplace.sim.util.FWSimVariable.CONTENT_TYPE aContentType) static ColorgetPickedColor(net.simplace.sim.util.FWSimVariable.CONTENT_TYPE aContentType)
-
Field Details
-
MAIN_COLOR
-
CENTERED_COLOR
-
MAIN_SELECTED_COLOR
-
-
Constructor Details
-
ComponentColor
public ComponentColor()
-
-
Method Details
-
getMainColor
- Parameters:
aContentType- content type of the vertex- Returns:
- the main color
-
getCenterColor
- Parameters:
aContentType- content type of the vertex- Returns:
- the center color
-
getPickedColor
- Parameters:
aContentType- content type of the vertex- Returns:
- the main color of picked vertices
-