public class DefaultGraphFormatter<V,E> extends Object implements IGraphFormatter<V,E>
| Modifier and Type | Field and 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 Halign |
vertexLabelHalign |
protected Valign |
vertexLabelValign |
protected int |
vertexWidth |
| Constructor and Description |
|---|
DefaultGraphFormatter() |
DefaultGraphFormatter(Color normal,
Color highlight) |
protected Color vertexLabelColor
protected Color vertexColor
protected int vertexWidth
protected Color highlightedVertexLabelColor
protected Color highlightedVertexColor
protected int highlightedVertexWidth
protected Color edgeLabelColor
protected Color edgeColor
protected int edgeWidth
protected Color highlightedEdgeLabelColor
protected Color highlightedEdgeColor
protected int highlightedEdgeWidth
protected boolean nodeDisplayed
protected boolean nodeLabelDisplayed
protected boolean edgeDisplayed
protected Halign vertexLabelHalign
protected Valign vertexLabelValign
public Color getVertexLabelColor()
getVertexLabelColor in interface IGraphFormatter<V,E>public void setVertexLabelColor(Color vertexLabelColor)
setVertexLabelColor in interface IGraphFormatter<V,E>public Color getVertexColor()
getVertexColor in interface IGraphFormatter<V,E>public void setVertexColor(Color vertexColor)
setVertexColor in interface IGraphFormatter<V,E>public int getVertexWidth()
getVertexWidth in interface IGraphFormatter<V,E>public void setVertexWidth(int vertexWidth)
setVertexWidth in interface IGraphFormatter<V,E>public Color getHighlightedVertexLabelColor()
getHighlightedVertexLabelColor in interface IGraphFormatter<V,E>public void setHighlightedVertexLabelColor(Color highlightedVertexLabelColor)
setHighlightedVertexLabelColor in interface IGraphFormatter<V,E>public Color getHighlightedVertexColor()
getHighlightedVertexColor in interface IGraphFormatter<V,E>public void setHighlightedVertexColor(Color highlightedVertexColor)
setHighlightedVertexColor in interface IGraphFormatter<V,E>public int getHighlightedVertexWidth()
getHighlightedVertexWidth in interface IGraphFormatter<V,E>public void setHighlightedVertexWidth(int highlightedVertexWidth)
setHighlightedVertexWidth in interface IGraphFormatter<V,E>public Color getEdgeLabelColor()
getEdgeLabelColor in interface IGraphFormatter<V,E>public void setEdgeLabelColor(Color edgeLabelColor)
setEdgeLabelColor in interface IGraphFormatter<V,E>public Color getEdgeColor()
getEdgeColor in interface IGraphFormatter<V,E>public void setEdgeColor(Color edgeColor)
setEdgeColor in interface IGraphFormatter<V,E>public int getEdgeWidth()
getEdgeWidth in interface IGraphFormatter<V,E>public void setEdgeWidth(int edgeWidth)
setEdgeWidth in interface IGraphFormatter<V,E>public Color getHighlightedEdgeLabelColor()
getHighlightedEdgeLabelColor in interface IGraphFormatter<V,E>public void setHighlightedEdgeLabelColor(Color highlightedEdgeLabelColor)
setHighlightedEdgeLabelColor in interface IGraphFormatter<V,E>public Color getHighlightedEdgeColor()
getHighlightedEdgeColor in interface IGraphFormatter<V,E>public void setHighlightedEdgeColor(Color highlightedEdgeColor)
setHighlightedEdgeColor in interface IGraphFormatter<V,E>public int getHighlightedEdgeWidth()
getHighlightedEdgeWidth in interface IGraphFormatter<V,E>public void setHighlightedEdgeWidth(int highlightedEdgeWidth)
setHighlightedEdgeWidth in interface IGraphFormatter<V,E>public boolean areVerticesDisplayed()
areVerticesDisplayed in interface IGraphFormatter<V,E>public void setVerticesDisplayed(boolean nodeDisplayed)
setVerticesDisplayed in interface IGraphFormatter<V,E>public boolean areVertexLabelsDisplayed()
areVertexLabelsDisplayed in interface IGraphFormatter<V,E>public void setVertexLabelsDisplayed(boolean nodeLabelDisplayed)
setVertexLabelsDisplayed in interface IGraphFormatter<V,E>public boolean areEdgesDisplayed()
areEdgesDisplayed in interface IGraphFormatter<V,E>public void setEdgesDisplayed(boolean edgeDisplayed)
setEdgesDisplayed in interface IGraphFormatter<V,E>public Halign getVertexLabelHalign()
getVertexLabelHalign in interface IGraphFormatter<V,E>public void setVertexLabelHalign(Halign vertexLabelHalign)
setVertexLabelHalign in interface IGraphFormatter<V,E>public Valign getVertexLabelValign()
getVertexLabelValign in interface IGraphFormatter<V,E>public void setVertexLabelValign(Valign vertexLabelValign)
setVertexLabelValign in interface IGraphFormatter<V,E>Copyright © 2016. All rights reserved.