DESY ACOP Beans Home

com.cosylab.gui.components.gauger
Class ScaleTransform.LineSegment

java.lang.Object
  extended by com.cosylab.gui.components.gauger.ScaleTransform.ScaleSegment
      extended by com.cosylab.gui.components.gauger.ScaleTransform.LineSegment
Enclosing class:
ScaleTransform

public class ScaleTransform.LineSegment
extends ScaleTransform.ScaleSegment

Class defining linear scale segment.

Version:
$Revision: 1.4 $
Author:
$Author: jbobnar $

Field Summary
 java.awt.geom.Point2D lineEnd
          Ending point of line
 java.awt.geom.Point2D lineStart
          Starting point of line
 
Constructor Summary
ScaleTransform.LineSegment(double xs, double ys, double xe, double ye)
          Creates a new LineSegment object.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

lineStart

public java.awt.geom.Point2D lineStart
Starting point of line


lineEnd

public java.awt.geom.Point2D lineEnd
Ending point of line

Constructor Detail

ScaleTransform.LineSegment

public ScaleTransform.LineSegment(double xs,
                                  double ys,
                                  double xe,
                                  double ye)
Creates a new LineSegment object.

Parameters:
xs - X coordinate of starting point.
ys - Y coordinate of starting point.
xe - X coordinate of ending point.
ye - Y coordinate of ending point.


Copyright © 2010. All Rights Reserved.