Class DefaultGraphFormatter<V,E>
java.lang.Object
org.jzy3d.plot3d.primitives.graphs.layout.DefaultGraphFormatter<V,E>
- All Implemented Interfaces:
IGraphFormatter<V,E>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Colorprotected booleanprotected Colorprotected intprotected Colorprotected Colorprotected intprotected Colorprotected Colorprotected intprotected booleanprotected booleanprotected Colorprotected Colorprotected Horizontalprotected Verticalprotected int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanbooleanintintintintvoidsetEdgeColor(Color edgeColor) voidsetEdgeLabelColor(Color edgeLabelColor) voidsetEdgesDisplayed(boolean edgeDisplayed) voidsetEdgeWidth(int edgeWidth) voidsetHighlightedEdgeColor(Color highlightedEdgeColor) voidsetHighlightedEdgeLabelColor(Color highlightedEdgeLabelColor) voidsetHighlightedEdgeWidth(int highlightedEdgeWidth) voidsetHighlightedVertexColor(Color highlightedVertexColor) voidsetHighlightedVertexLabelColor(Color highlightedVertexLabelColor) voidsetHighlightedVertexWidth(int highlightedVertexWidth) voidsetVertexColor(Color vertexColor) voidsetVertexLabelColor(Color vertexLabelColor) voidsetVertexLabelHalign(Horizontal vertexLabelHalign) voidsetVertexLabelsDisplayed(boolean nodeLabelDisplayed) voidsetVertexLabelValign(Vertical vertexLabelValign) voidsetVertexWidth(int vertexWidth) voidsetVerticesDisplayed(boolean nodeDisplayed)
-
Field Details
-
vertexLabelColor
-
vertexColor
-
vertexWidth
protected int vertexWidth -
highlightedVertexLabelColor
-
highlightedVertexColor
-
highlightedVertexWidth
protected int highlightedVertexWidth -
edgeLabelColor
-
edgeColor
-
edgeWidth
protected int edgeWidth -
highlightedEdgeLabelColor
-
highlightedEdgeColor
-
highlightedEdgeWidth
protected int highlightedEdgeWidth -
nodeDisplayed
protected boolean nodeDisplayed -
nodeLabelDisplayed
protected boolean nodeLabelDisplayed -
edgeDisplayed
protected boolean edgeDisplayed -
vertexLabelHalign
-
vertexLabelValign
-
-
Constructor Details
-
DefaultGraphFormatter
public DefaultGraphFormatter() -
DefaultGraphFormatter
-
-
Method Details
-
getVertexLabelColor
- Specified by:
getVertexLabelColorin interfaceIGraphFormatter<V,E>
-
setVertexLabelColor
- Specified by:
setVertexLabelColorin interfaceIGraphFormatter<V,E>
-
getVertexColor
- Specified by:
getVertexColorin interfaceIGraphFormatter<V,E>
-
setVertexColor
- Specified by:
setVertexColorin interfaceIGraphFormatter<V,E>
-
getVertexWidth
public int getVertexWidth()- Specified by:
getVertexWidthin interfaceIGraphFormatter<V,E>
-
setVertexWidth
public void setVertexWidth(int vertexWidth) - Specified by:
setVertexWidthin interfaceIGraphFormatter<V,E>
-
getHighlightedVertexLabelColor
- Specified by:
getHighlightedVertexLabelColorin interfaceIGraphFormatter<V,E>
-
setHighlightedVertexLabelColor
- Specified by:
setHighlightedVertexLabelColorin interfaceIGraphFormatter<V,E>
-
getHighlightedVertexColor
- Specified by:
getHighlightedVertexColorin interfaceIGraphFormatter<V,E>
-
setHighlightedVertexColor
- Specified by:
setHighlightedVertexColorin interfaceIGraphFormatter<V,E>
-
getHighlightedVertexWidth
public int getHighlightedVertexWidth()- Specified by:
getHighlightedVertexWidthin interfaceIGraphFormatter<V,E>
-
setHighlightedVertexWidth
public void setHighlightedVertexWidth(int highlightedVertexWidth) - Specified by:
setHighlightedVertexWidthin interfaceIGraphFormatter<V,E>
-
getEdgeLabelColor
- Specified by:
getEdgeLabelColorin interfaceIGraphFormatter<V,E>
-
setEdgeLabelColor
- Specified by:
setEdgeLabelColorin interfaceIGraphFormatter<V,E>
-
getEdgeColor
- Specified by:
getEdgeColorin interfaceIGraphFormatter<V,E>
-
setEdgeColor
- Specified by:
setEdgeColorin interfaceIGraphFormatter<V,E>
-
getEdgeWidth
public int getEdgeWidth()- Specified by:
getEdgeWidthin interfaceIGraphFormatter<V,E>
-
setEdgeWidth
public void setEdgeWidth(int edgeWidth) - Specified by:
setEdgeWidthin interfaceIGraphFormatter<V,E>
-
getHighlightedEdgeLabelColor
- Specified by:
getHighlightedEdgeLabelColorin interfaceIGraphFormatter<V,E>
-
setHighlightedEdgeLabelColor
- Specified by:
setHighlightedEdgeLabelColorin interfaceIGraphFormatter<V,E>
-
getHighlightedEdgeColor
- Specified by:
getHighlightedEdgeColorin interfaceIGraphFormatter<V,E>
-
setHighlightedEdgeColor
- Specified by:
setHighlightedEdgeColorin interfaceIGraphFormatter<V,E>
-
getHighlightedEdgeWidth
public int getHighlightedEdgeWidth()- Specified by:
getHighlightedEdgeWidthin interfaceIGraphFormatter<V,E>
-
setHighlightedEdgeWidth
public void setHighlightedEdgeWidth(int highlightedEdgeWidth) - Specified by:
setHighlightedEdgeWidthin interfaceIGraphFormatter<V,E>
-
areVerticesDisplayed
public boolean areVerticesDisplayed()- Specified by:
areVerticesDisplayedin interfaceIGraphFormatter<V,E>
-
setVerticesDisplayed
public void setVerticesDisplayed(boolean nodeDisplayed) - Specified by:
setVerticesDisplayedin interfaceIGraphFormatter<V,E>
-
areVertexLabelsDisplayed
public boolean areVertexLabelsDisplayed()- Specified by:
areVertexLabelsDisplayedin interfaceIGraphFormatter<V,E>
-
setVertexLabelsDisplayed
public void setVertexLabelsDisplayed(boolean nodeLabelDisplayed) - Specified by:
setVertexLabelsDisplayedin interfaceIGraphFormatter<V,E>
-
areEdgesDisplayed
public boolean areEdgesDisplayed()- Specified by:
areEdgesDisplayedin interfaceIGraphFormatter<V,E>
-
setEdgesDisplayed
public void setEdgesDisplayed(boolean edgeDisplayed) - Specified by:
setEdgesDisplayedin interfaceIGraphFormatter<V,E>
-
getVertexLabelHalign
- Specified by:
getVertexLabelHalignin interfaceIGraphFormatter<V,E>
-
setVertexLabelHalign
- Specified by:
setVertexLabelHalignin interfaceIGraphFormatter<V,E>
-
getVertexLabelValign
- Specified by:
getVertexLabelValignin interfaceIGraphFormatter<V,E>
-
setVertexLabelValign
- Specified by:
setVertexLabelValignin interfaceIGraphFormatter<V,E>
-