Class DefaultGraphFormatter<V,E>
- java.lang.Object
-
- org.jzy3d.plot3d.primitives.graphs.layout.DefaultGraphFormatter<V,E>
-
- All Implemented Interfaces:
IGraphFormatter<V,E>
public class DefaultGraphFormatter<V,E> extends Object implements IGraphFormatter<V,E>
-
-
Field Summary
Fields Modifier and Type Field Description protected Color
edgeColor
protected boolean
edgeDisplayed
protected Color
edgeLabelColor
protected int
edgeWidth
protected Color
highlightedEdgeColor
protected Color
highlightedEdgeLabelColor
protected int
highlightedEdgeWidth
protected Color
highlightedVertexColor
protected Color
highlightedVertexLabelColor
protected int
highlightedVertexWidth
protected boolean
nodeDisplayed
protected boolean
nodeLabelDisplayed
protected Color
vertexColor
protected Color
vertexLabelColor
protected Horizontal
vertexLabelHalign
protected Vertical
vertexLabelValign
protected int
vertexWidth
-
Constructor Summary
Constructors Constructor Description DefaultGraphFormatter()
DefaultGraphFormatter(Color normal, Color highlight)
-
Method Summary
-
-
-
Field Detail
-
vertexLabelColor
protected Color vertexLabelColor
-
vertexColor
protected Color vertexColor
-
vertexWidth
protected int vertexWidth
-
highlightedVertexLabelColor
protected Color highlightedVertexLabelColor
-
highlightedVertexColor
protected Color highlightedVertexColor
-
highlightedVertexWidth
protected int highlightedVertexWidth
-
edgeLabelColor
protected Color edgeLabelColor
-
edgeColor
protected Color edgeColor
-
edgeWidth
protected int edgeWidth
-
highlightedEdgeLabelColor
protected Color highlightedEdgeLabelColor
-
highlightedEdgeColor
protected Color highlightedEdgeColor
-
highlightedEdgeWidth
protected int highlightedEdgeWidth
-
nodeDisplayed
protected boolean nodeDisplayed
-
nodeLabelDisplayed
protected boolean nodeLabelDisplayed
-
edgeDisplayed
protected boolean edgeDisplayed
-
vertexLabelHalign
protected Horizontal vertexLabelHalign
-
vertexLabelValign
protected Vertical vertexLabelValign
-
-
Method Detail
-
getVertexLabelColor
public Color getVertexLabelColor()
- Specified by:
getVertexLabelColor
in interfaceIGraphFormatter<V,E>
-
setVertexLabelColor
public void setVertexLabelColor(Color vertexLabelColor)
- Specified by:
setVertexLabelColor
in interfaceIGraphFormatter<V,E>
-
getVertexColor
public Color getVertexColor()
- Specified by:
getVertexColor
in interfaceIGraphFormatter<V,E>
-
setVertexColor
public void setVertexColor(Color vertexColor)
- 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
public Color getHighlightedVertexLabelColor()
- Specified by:
getHighlightedVertexLabelColor
in interfaceIGraphFormatter<V,E>
-
setHighlightedVertexLabelColor
public void setHighlightedVertexLabelColor(Color highlightedVertexLabelColor)
- Specified by:
setHighlightedVertexLabelColor
in interfaceIGraphFormatter<V,E>
-
getHighlightedVertexColor
public Color getHighlightedVertexColor()
- Specified by:
getHighlightedVertexColor
in interfaceIGraphFormatter<V,E>
-
setHighlightedVertexColor
public void setHighlightedVertexColor(Color highlightedVertexColor)
- 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
public Color getEdgeLabelColor()
- Specified by:
getEdgeLabelColor
in interfaceIGraphFormatter<V,E>
-
setEdgeLabelColor
public void setEdgeLabelColor(Color edgeLabelColor)
- Specified by:
setEdgeLabelColor
in interfaceIGraphFormatter<V,E>
-
getEdgeColor
public Color getEdgeColor()
- Specified by:
getEdgeColor
in interfaceIGraphFormatter<V,E>
-
setEdgeColor
public void setEdgeColor(Color edgeColor)
- 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
public Color getHighlightedEdgeLabelColor()
- Specified by:
getHighlightedEdgeLabelColor
in interfaceIGraphFormatter<V,E>
-
setHighlightedEdgeLabelColor
public void setHighlightedEdgeLabelColor(Color highlightedEdgeLabelColor)
- Specified by:
setHighlightedEdgeLabelColor
in interfaceIGraphFormatter<V,E>
-
getHighlightedEdgeColor
public Color getHighlightedEdgeColor()
- Specified by:
getHighlightedEdgeColor
in interfaceIGraphFormatter<V,E>
-
setHighlightedEdgeColor
public void setHighlightedEdgeColor(Color highlightedEdgeColor)
- 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
public Horizontal getVertexLabelHalign()
- Specified by:
getVertexLabelHalign
in interfaceIGraphFormatter<V,E>
-
setVertexLabelHalign
public void setVertexLabelHalign(Horizontal vertexLabelHalign)
- Specified by:
setVertexLabelHalign
in interfaceIGraphFormatter<V,E>
-
getVertexLabelValign
public Vertical getVertexLabelValign()
- Specified by:
getVertexLabelValign
in interfaceIGraphFormatter<V,E>
-
setVertexLabelValign
public void setVertexLabelValign(Vertical vertexLabelValign)
- Specified by:
setVertexLabelValign
in interfaceIGraphFormatter<V,E>
-
-