org.jzy3d.plot3d.primitives.graphs.layout
Class DefaultGraphFormatter<V,E>

java.lang.Object
  extended by org.jzy3d.plot3d.primitives.graphs.layout.DefaultGraphFormatter<V,E>
All Implemented Interfaces:
IGraphFormatter<V,E>

public class DefaultGraphFormatter<V,E>
extends java.lang.Object
implements IGraphFormatter<V,E>


Constructor Summary
DefaultGraphFormatter()
           
DefaultGraphFormatter(Color normal, Color highlight)
           
 
Method Summary
 boolean areEdgesDisplayed()
           
 boolean areVertexLabelsDisplayed()
           
 boolean areVerticesDisplayed()
           
 Color getEdgeColor()
           
 Color getEdgeLabelColor()
           
 int getEdgeWidth()
           
 Color getHighlightedEdgeColor()
           
 Color getHighlightedEdgeLabelColor()
           
 int getHighlightedEdgeWidth()
           
 Color getHighlightedVertexColor()
           
 Color getHighlightedVertexLabelColor()
           
 int getHighlightedVertexWidth()
           
 Color getVertexColor()
           
 Color getVertexLabelColor()
           
 Halign getVertexLabelHalign()
           
 Valign getVertexLabelValign()
           
 int getVertexWidth()
           
 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(Halign vertexLabelHalign)
           
 void setVertexLabelsDisplayed(boolean nodeLabelDisplayed)
           
 void setVertexLabelValign(Valign vertexLabelValign)
           
 void setVertexWidth(int vertexWidth)
           
 void setVerticesDisplayed(boolean nodeDisplayed)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultGraphFormatter

public DefaultGraphFormatter()

DefaultGraphFormatter

public DefaultGraphFormatter(Color normal,
                             Color highlight)
Method Detail

getVertexLabelColor

public Color getVertexLabelColor()
Specified by:
getVertexLabelColor in interface IGraphFormatter<V,E>

setVertexLabelColor

public void setVertexLabelColor(Color vertexLabelColor)
Specified by:
setVertexLabelColor in interface IGraphFormatter<V,E>

getVertexColor

public Color getVertexColor()
Specified by:
getVertexColor in interface IGraphFormatter<V,E>

setVertexColor

public void setVertexColor(Color vertexColor)
Specified by:
setVertexColor in interface IGraphFormatter<V,E>

getVertexWidth

public int getVertexWidth()
Specified by:
getVertexWidth in interface IGraphFormatter<V,E>

setVertexWidth

public void setVertexWidth(int vertexWidth)
Specified by:
setVertexWidth in interface IGraphFormatter<V,E>

getHighlightedVertexLabelColor

public Color getHighlightedVertexLabelColor()
Specified by:
getHighlightedVertexLabelColor in interface IGraphFormatter<V,E>

setHighlightedVertexLabelColor

public void setHighlightedVertexLabelColor(Color highlightedVertexLabelColor)
Specified by:
setHighlightedVertexLabelColor in interface IGraphFormatter<V,E>

getHighlightedVertexColor

public Color getHighlightedVertexColor()
Specified by:
getHighlightedVertexColor in interface IGraphFormatter<V,E>

setHighlightedVertexColor

public void setHighlightedVertexColor(Color highlightedVertexColor)
Specified by:
setHighlightedVertexColor in interface IGraphFormatter<V,E>

getHighlightedVertexWidth

public int getHighlightedVertexWidth()
Specified by:
getHighlightedVertexWidth in interface IGraphFormatter<V,E>

setHighlightedVertexWidth

public void setHighlightedVertexWidth(int highlightedVertexWidth)
Specified by:
setHighlightedVertexWidth in interface IGraphFormatter<V,E>

getEdgeLabelColor

public Color getEdgeLabelColor()
Specified by:
getEdgeLabelColor in interface IGraphFormatter<V,E>

setEdgeLabelColor

public void setEdgeLabelColor(Color edgeLabelColor)
Specified by:
setEdgeLabelColor in interface IGraphFormatter<V,E>

getEdgeColor

public Color getEdgeColor()
Specified by:
getEdgeColor in interface IGraphFormatter<V,E>

setEdgeColor

public void setEdgeColor(Color edgeColor)
Specified by:
setEdgeColor in interface IGraphFormatter<V,E>

getEdgeWidth

public int getEdgeWidth()
Specified by:
getEdgeWidth in interface IGraphFormatter<V,E>

setEdgeWidth

public void setEdgeWidth(int edgeWidth)
Specified by:
setEdgeWidth in interface IGraphFormatter<V,E>

getHighlightedEdgeLabelColor

public Color getHighlightedEdgeLabelColor()
Specified by:
getHighlightedEdgeLabelColor in interface IGraphFormatter<V,E>

setHighlightedEdgeLabelColor

public void setHighlightedEdgeLabelColor(Color highlightedEdgeLabelColor)
Specified by:
setHighlightedEdgeLabelColor in interface IGraphFormatter<V,E>

getHighlightedEdgeColor

public Color getHighlightedEdgeColor()
Specified by:
getHighlightedEdgeColor in interface IGraphFormatter<V,E>

setHighlightedEdgeColor

public void setHighlightedEdgeColor(Color highlightedEdgeColor)
Specified by:
setHighlightedEdgeColor in interface IGraphFormatter<V,E>

getHighlightedEdgeWidth

public int getHighlightedEdgeWidth()
Specified by:
getHighlightedEdgeWidth in interface IGraphFormatter<V,E>

setHighlightedEdgeWidth

public void setHighlightedEdgeWidth(int highlightedEdgeWidth)
Specified by:
setHighlightedEdgeWidth in interface IGraphFormatter<V,E>

areVerticesDisplayed

public boolean areVerticesDisplayed()
Specified by:
areVerticesDisplayed in interface IGraphFormatter<V,E>

setVerticesDisplayed

public void setVerticesDisplayed(boolean nodeDisplayed)
Specified by:
setVerticesDisplayed in interface IGraphFormatter<V,E>

areVertexLabelsDisplayed

public boolean areVertexLabelsDisplayed()
Specified by:
areVertexLabelsDisplayed in interface IGraphFormatter<V,E>

setVertexLabelsDisplayed

public void setVertexLabelsDisplayed(boolean nodeLabelDisplayed)
Specified by:
setVertexLabelsDisplayed in interface IGraphFormatter<V,E>

areEdgesDisplayed

public boolean areEdgesDisplayed()
Specified by:
areEdgesDisplayed in interface IGraphFormatter<V,E>

setEdgesDisplayed

public void setEdgesDisplayed(boolean edgeDisplayed)
Specified by:
setEdgesDisplayed in interface IGraphFormatter<V,E>

getVertexLabelHalign

public Halign getVertexLabelHalign()
Specified by:
getVertexLabelHalign in interface IGraphFormatter<V,E>

setVertexLabelHalign

public void setVertexLabelHalign(Halign vertexLabelHalign)
Specified by:
setVertexLabelHalign in interface IGraphFormatter<V,E>

getVertexLabelValign

public Valign getVertexLabelValign()
Specified by:
getVertexLabelValign in interface IGraphFormatter<V,E>

setVertexLabelValign

public void setVertexLabelValign(Valign vertexLabelValign)
Specified by:
setVertexLabelValign in interface IGraphFormatter<V,E>