edu.swri.swiftvis.plot.util
Class StrokeOptions

java.lang.Object
  extended by edu.swri.swiftvis.plot.util.StrokeOptions
All Implemented Interfaces:
java.io.Serializable

public class StrokeOptions
extends java.lang.Object
implements java.io.Serializable

This class encapsulates the information for a stroke and provides a GUI for editing the stroke setting.

Author:
Mark Lewis
See Also:
Serialized Form

Nested Class Summary
private  class StrokeOptions.StrokeChooser
           
static interface StrokeOptions.StrokeUser
           
 
Field Summary
(package private)  int capStyle
           
private  StrokeOptions.StrokeChooser chooser
           
(package private)  float[] dash
           
(package private)  EditableDouble dashPhase
           
(package private)  int joinStyle
           
(package private)  EditableDouble miterLimit
           
private static long serialVersionUID
           
(package private)  StrokeOptions.StrokeUser user
           
(package private)  EditableDouble width
           
 
Constructor Summary
StrokeOptions(double w, StrokeOptions.StrokeUser su)
           
 
Method Summary
 void edit()
           
 java.awt.Stroke getStroke(double scale)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

user

StrokeOptions.StrokeUser user

width

EditableDouble width

capStyle

int capStyle

joinStyle

int joinStyle

miterLimit

EditableDouble miterLimit

dash

float[] dash

dashPhase

EditableDouble dashPhase

chooser

private transient StrokeOptions.StrokeChooser chooser

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values
Constructor Detail

StrokeOptions

public StrokeOptions(double w,
                     StrokeOptions.StrokeUser su)
Method Detail

getStroke

public java.awt.Stroke getStroke(double scale)

edit

public void edit()