|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.Vector<ParaxialGroup>
optics.ParaxialSystem
public class ParaxialSystem
A class to hold a ParaxialSystem being a a vector of ParaxialGroups.
| Field Summary |
|---|
| Fields inherited from class java.util.Vector |
|---|
capacityIncrement, elementCount, elementData |
| Fields inherited from class java.util.AbstractList |
|---|
modCount |
| Constructor Summary | |
|---|---|
ParaxialSystem()
Constructor to form an ParaxialSystem with no groups |
|
ParaxialSystem(ParaxialGroup g)
Constructor to forma ParaxialSystem with the first group specified. |
|
| Method Summary | |
|---|---|
void |
addGroup(OpticalGroup g,
double lambda)
Method to add the |
void |
addGroup(ParaxialGroup g)
Method to add a ParaxialGroup. |
void |
draw(java.awt.Graphics2D g)
Method to draw the ParaxialSystem in a Graphics2D context |
java.awt.geom.Rectangle2D |
getBounds()
Method to get the Bounds for graphics rendering. |
ParaxialGroup |
getGroup(int i)
Method to get the specifed ParaxialGroup |
ParaxialGroup |
getParaxialGroup()
Method to get the equivalent ParaxialGroup of the system. |
java.lang.String |
getTitle()
Method to get the title |
void |
setTitle(java.lang.String t)
Method to set the title |
| 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 |
|---|
public ParaxialSystem()
public ParaxialSystem(ParaxialGroup g)
g - the first ParaxialGroup.| Method Detail |
|---|
public void setTitle(java.lang.String t)
t - the titlepublic java.lang.String getTitle()
String the titlepublic void addGroup(ParaxialGroup g)
g - the ParaxialGroup, which is added to the end
of the vector.
public void addGroup(OpticalGroup g,
double lambda)
public ParaxialGroup getGroup(int i)
i - the group index.
ParaxialGroup the requested grouppublic ParaxialGroup getParaxialGroup()
ParaxialGroup the equivalent ParaxialGroup.public java.awt.geom.Rectangle2D getBounds()
getBounds in interface Diagram2DComponentRextangle2Dpublic void draw(java.awt.Graphics2D g)
draw in interface Diagram2DComponentg - the Graphics2D context
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||