Class DefaultGraphFormatter<V,E>
java.lang.Object
org.jzy3d.plot3d.primitives.graphs.layout.DefaultGraphFormatter<V,E>
- All Implemented Interfaces:
IGraphFormatter<V,
E>
-
Field Summary
Modifier and TypeFieldDescriptionprotected Color
protected boolean
protected Color
protected int
protected Color
protected Color
protected int
protected Color
protected Color
protected int
protected boolean
protected boolean
protected Color
protected Color
protected Horizontal
protected Vertical
protected int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
boolean
int
int
int
int
void
setEdgeColor
(Color edgeColor) void
setEdgeLabelColor
(Color edgeLabelColor) void
setEdgesDisplayed
(boolean edgeDisplayed) void
setEdgeWidth
(int edgeWidth) void
setHighlightedEdgeColor
(Color highlightedEdgeColor) void
setHighlightedEdgeLabelColor
(Color highlightedEdgeLabelColor) void
setHighlightedEdgeWidth
(int highlightedEdgeWidth) void
setHighlightedVertexColor
(Color highlightedVertexColor) void
setHighlightedVertexLabelColor
(Color highlightedVertexLabelColor) void
setHighlightedVertexWidth
(int highlightedVertexWidth) void
setVertexColor
(Color vertexColor) void
setVertexLabelColor
(Color vertexLabelColor) void
setVertexLabelHalign
(Horizontal vertexLabelHalign) void
setVertexLabelsDisplayed
(boolean nodeLabelDisplayed) void
setVertexLabelValign
(Vertical vertexLabelValign) void
setVertexWidth
(int vertexWidth) void
setVerticesDisplayed
(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:
getVertexLabelColor
in interfaceIGraphFormatter<V,
E>
-
setVertexLabelColor
- Specified by:
setVertexLabelColor
in interfaceIGraphFormatter<V,
E>
-
getVertexColor
- Specified by:
getVertexColor
in interfaceIGraphFormatter<V,
E>
-
setVertexColor
- Specified by:
setVertexColor
in interfaceIGraphFormatter<V,
E>
-
getVertexWidth
public int getVertexWidth()- Specified by:
getVertexWidth
in interfaceIGraphFormatter<V,
E>
-
setVertexWidth
public void setVertexWidth(int vertexWidth) - Specified by:
setVertexWidth
in interfaceIGraphFormatter<V,
E>
-
getHighlightedVertexLabelColor
- Specified by:
getHighlightedVertexLabelColor
in interfaceIGraphFormatter<V,
E>
-
setHighlightedVertexLabelColor
- Specified by:
setHighlightedVertexLabelColor
in interfaceIGraphFormatter<V,
E>
-
getHighlightedVertexColor
- Specified by:
getHighlightedVertexColor
in interfaceIGraphFormatter<V,
E>
-
setHighlightedVertexColor
- Specified by:
setHighlightedVertexColor
in interfaceIGraphFormatter<V,
E>
-
getHighlightedVertexWidth
public int getHighlightedVertexWidth()- Specified by:
getHighlightedVertexWidth
in interfaceIGraphFormatter<V,
E>
-
setHighlightedVertexWidth
public void setHighlightedVertexWidth(int highlightedVertexWidth) - Specified by:
setHighlightedVertexWidth
in interfaceIGraphFormatter<V,
E>
-
getEdgeLabelColor
- Specified by:
getEdgeLabelColor
in interfaceIGraphFormatter<V,
E>
-
setEdgeLabelColor
- Specified by:
setEdgeLabelColor
in interfaceIGraphFormatter<V,
E>
-
getEdgeColor
- Specified by:
getEdgeColor
in interfaceIGraphFormatter<V,
E>
-
setEdgeColor
- Specified by:
setEdgeColor
in interfaceIGraphFormatter<V,
E>
-
getEdgeWidth
public int getEdgeWidth()- Specified by:
getEdgeWidth
in interfaceIGraphFormatter<V,
E>
-
setEdgeWidth
public void setEdgeWidth(int edgeWidth) - Specified by:
setEdgeWidth
in interfaceIGraphFormatter<V,
E>
-
getHighlightedEdgeLabelColor
- Specified by:
getHighlightedEdgeLabelColor
in interfaceIGraphFormatter<V,
E>
-
setHighlightedEdgeLabelColor
- Specified by:
setHighlightedEdgeLabelColor
in interfaceIGraphFormatter<V,
E>
-
getHighlightedEdgeColor
- Specified by:
getHighlightedEdgeColor
in interfaceIGraphFormatter<V,
E>
-
setHighlightedEdgeColor
- Specified by:
setHighlightedEdgeColor
in interfaceIGraphFormatter<V,
E>
-
getHighlightedEdgeWidth
public int getHighlightedEdgeWidth()- Specified by:
getHighlightedEdgeWidth
in interfaceIGraphFormatter<V,
E>
-
setHighlightedEdgeWidth
public void setHighlightedEdgeWidth(int highlightedEdgeWidth) - Specified by:
setHighlightedEdgeWidth
in interfaceIGraphFormatter<V,
E>
-
areVerticesDisplayed
public boolean areVerticesDisplayed()- Specified by:
areVerticesDisplayed
in interfaceIGraphFormatter<V,
E>
-
setVerticesDisplayed
public void setVerticesDisplayed(boolean nodeDisplayed) - Specified by:
setVerticesDisplayed
in interfaceIGraphFormatter<V,
E>
-
areVertexLabelsDisplayed
public boolean areVertexLabelsDisplayed()- Specified by:
areVertexLabelsDisplayed
in interfaceIGraphFormatter<V,
E>
-
setVertexLabelsDisplayed
public void setVertexLabelsDisplayed(boolean nodeLabelDisplayed) - Specified by:
setVertexLabelsDisplayed
in interfaceIGraphFormatter<V,
E>
-
areEdgesDisplayed
public boolean areEdgesDisplayed()- Specified by:
areEdgesDisplayed
in interfaceIGraphFormatter<V,
E>
-
setEdgesDisplayed
public void setEdgesDisplayed(boolean edgeDisplayed) - Specified by:
setEdgesDisplayed
in interfaceIGraphFormatter<V,
E>
-
getVertexLabelHalign
- Specified by:
getVertexLabelHalign
in interfaceIGraphFormatter<V,
E>
-
setVertexLabelHalign
- Specified by:
setVertexLabelHalign
in interfaceIGraphFormatter<V,
E>
-
getVertexLabelValign
- Specified by:
getVertexLabelValign
in interfaceIGraphFormatter<V,
E>
-
setVertexLabelValign
- Specified by:
setVertexLabelValign
in interfaceIGraphFormatter<V,
E>
-