stella.jview
Class JTargetHistory.XShape

java.lang.Object
  extended by stella.jview.JTargetHistory.XShape
Enclosing class:
JTargetHistory

private static class JTargetHistory.XShape
extends Object

An x-glyph like shape that can be shifted and sized.


Field Summary
private static Shape XSHAPE
          The shape insance as a 0,0 1x1 X.
private static String XSHAPE1
          A string used in a shape factory to construct a left-justified X.
 
Constructor Summary
private JTargetHistory.XShape()
           
 
Method Summary
private static Shape atPositionWithSize(double x, double y, double w, double h)
          Returns the x scaled to the factor and shifted to the given point.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

XSHAPE1

private static String XSHAPE1
A string used in a shape factory to construct a left-justified X.


XSHAPE

private static Shape XSHAPE
The shape insance as a 0,0 1x1 X.

Constructor Detail

JTargetHistory.XShape

private JTargetHistory.XShape()
Method Detail

atPositionWithSize

private static Shape atPositionWithSize(double x,
                                        double y,
                                        double w,
                                        double h)
Returns the x scaled to the factor and shifted to the given point. First we shift, then we scale