Cytoscape 2.8.0 API

cytoscape.visual.strokes
Class DashDotStroke

java.lang.Object
  extended by java.awt.BasicStroke
      extended by cytoscape.visual.strokes.DashDotStroke
All Implemented Interfaces:
WidthStroke, Stroke

public class DashDotStroke
extends BasicStroke
implements WidthStroke


Field Summary
 
Fields inherited from class java.awt.BasicStroke
CAP_BUTT, CAP_ROUND, CAP_SQUARE, JOIN_BEVEL, JOIN_MITER, JOIN_ROUND
 
Constructor Summary
DashDotStroke(float width)
           
 
Method Summary
 LineStyle getLineStyle()
           
 WidthStroke newInstanceForWidth(float w)
           
 String toString()
           
 
Methods inherited from class java.awt.BasicStroke
createStrokedShape, equals, getDashArray, getDashPhase, getEndCap, getLineJoin, getLineWidth, getMiterLimit, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.awt.Stroke
createStrokedShape
 

Constructor Detail

DashDotStroke

public DashDotStroke(float width)
Method Detail

newInstanceForWidth

public WidthStroke newInstanceForWidth(float w)
Specified by:
newInstanceForWidth in interface WidthStroke
Returns:
A new instance of this WidthStroke with the specified width.

getLineStyle

public LineStyle getLineStyle()
Specified by:
getLineStyle in interface WidthStroke
Returns:
the LineStyle associated with this particular WidthStroke.

toString

public String toString()
Overrides:
toString in class Object

Cytoscape 2.8.0 API

Copyright 2010 Cytoscape Consortium. All rights reserved.