objects
Class plotCollection

java.lang.Object
  |
  +--java.util.AbstractCollection
        |
        +--java.util.AbstractList
              |
              +--java.util.Vector
                    |
                    +--objects.plotCollection
All Implemented Interfaces:
java.lang.Cloneable, java.util.Collection, java.util.List, java.util.RandomAccess, java.io.Serializable

public class plotCollection
extends java.util.Vector

A collection of objects to be plotted

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.Vector
capacityIncrement, elementCount, elementData
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
plotCollection()
           
 
Method Summary
 void draw(java.awt.Graphics g)
           
 void drawAs(java.awt.Graphics g, int symbol)
           
 objects.plotArc getCyclicPlot(int i)
           
 objects.plotObject getPlot(int i)
           
 int locateCyclic(fundamentals.EuAngle v)
          locate an angle among the visible parameters, interpreted as angles.
 boolean mouseVicinity(fundamentals.mouseVector mouseAt)
          See if mouse position is close to this point.
 void toPs(java.lang.StringBuffer work)
           
 fundamentals.mouseVector visiblePixel(java.util.Random croupier)
          Return a visible pixel at random
 
Methods inherited from class java.util.Vector
add, add, addAll, addAll, addElement, capacity, clear, clone, contains, containsAll, copyInto, elementAt, elements, ensureCapacity, equals, firstElement, get, hashCode, indexOf, indexOf, insertElementAt, isEmpty, lastElement, lastIndexOf, lastIndexOf, remove, remove, removeAll, removeAllElements, removeElement, removeElementAt, removeRange, retainAll, set, setElementAt, setSize, size, subList, toArray, toArray, toString, trimToSize
 
Methods inherited from class java.util.AbstractList
iterator, listIterator, listIterator
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
iterator, listIterator, listIterator
 

Constructor Detail

plotCollection

public plotCollection()
Method Detail

draw

public void draw(java.awt.Graphics g)

toPs

public void toPs(java.lang.StringBuffer work)

drawAs

public void drawAs(java.awt.Graphics g,
                   int symbol)

mouseVicinity

public boolean mouseVicinity(fundamentals.mouseVector mouseAt)
See if mouse position is close to this point.

Parameters:
mouseAt - The coordinates of the mouse position
Returns:
true if the mouse is close to the point.

visiblePixel

public fundamentals.mouseVector visiblePixel(java.util.Random croupier)
Return a visible pixel at random

Parameters:
croupier -
Returns:

getPlot

public objects.plotObject getPlot(int i)

getCyclicPlot

public objects.plotArc getCyclicPlot(int i)

locateCyclic

public int locateCyclic(fundamentals.EuAngle v)
locate an angle among the visible parameters, interpreted as angles. Return 2*i if angle is in segment number i, 2*i+1 if angle is between segment i and i+1 (mod count). Return -1 if count==0.