|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IEyepiece
An IEyepiece describes a optical eyepiece. The model name and the focalLength are mandatory fields which have to be set.
| Field Summary | |
|---|---|
static java.lang.String |
XML_ELEMENT_APPARENTFOV
Constant for XML representation: apparent field of view element name Example: <eyepiece> More stuff goes here <apparentFOV> apparent field of view goes here</apparentFOV>
More stuff goes here
</eyepiece> |
static java.lang.String |
XML_ELEMENT_EYEPIECE
Constant for XML representation: eyepiece element name |
static java.lang.String |
XML_ELEMENT_FOCALLENGTH
Constant for XML representation: focalLength element name Example: <eyepiece> More stuff goes here <focalLength> Focal length goes here</focalLength>
More stuff goes here
</eyepiece> |
static java.lang.String |
XML_ELEMENT_MODEL
Constant for XML representation: model element name Example: <eyepiece> More stuff goes here <model> Model name goes here</model>
More stuff goes here
</eyepiece> |
static java.lang.String |
XML_ELEMENT_VENDOR
Constant for XML representation: vendor element name Example: <eyepiece> More stuff goes here <vendor> Vendor name goes here</vendor>
More stuff goes here
</eyepiece> |
| Fields inherited from interface org.jscience.ml.om.ISchemaElement |
|---|
XML_ELEMENT_ATTRIBUTE_ID |
| Method Summary | |
|---|---|
org.w3c.dom.Element |
addAsLinkToXmlElement(org.w3c.dom.Element parent)
Adds the eyepiece link to an given XML DOM Element The eyepiece element itself will be attached to given elements ownerDocument. |
org.w3c.dom.Element |
addToXmlElement(org.w3c.dom.Element element)
Adds this Eyepiece to a given parent XML DOM Element. |
Angle |
getApparentFOV()
Returns the apparent field of view of this eyepiece. |
float |
getFocalLength()
Returns the focal length of this eyepiece. |
java.lang.String |
getModel()
Returns the model name of the eyepiece. |
java.lang.String |
getVendor()
Returns the vendor name of the eyepiece. |
boolean |
setApparentFOV(Angle apparentFOV)
Sets the apparent field of view of this eyepiece. |
void |
setFocalLength(float focalLength)
Sets the focal length of the eyepiece. |
void |
setModel(java.lang.String modelname)
Sets the model name for the eyepiece. |
void |
setVendor(java.lang.String vendorname)
Sets the vendor name of the eyepiece. |
| Methods inherited from interface org.jscience.ml.om.ISchemaElement |
|---|
getDisplayName, getID |
| Field Detail |
|---|
static final java.lang.String XML_ELEMENT_EYEPIECE
static final java.lang.String XML_ELEMENT_MODEL
Model name goes here</model>
More stuff goes here
</eyepiece>
static final java.lang.String XML_ELEMENT_VENDOR
Vendor name goes here</vendor>
More stuff goes here
</eyepiece>
static final java.lang.String XML_ELEMENT_FOCALLENGTH
Focal length goes here</focalLength>
More stuff goes here
</eyepiece>
static final java.lang.String XML_ELEMENT_APPARENTFOV
apparent field of view goes here</apparentFOV>
More stuff goes here
</eyepiece>
| Method Detail |
|---|
org.w3c.dom.Element addToXmlElement(org.w3c.dom.Element element)
parent - The parent element for this Eyepiece
null if parent was null.Elementorg.w3c.dom.Element addAsLinkToXmlElement(org.w3c.dom.Element parent)
parent - The element under which the the eyepiece link is created
null if element was null.ElementAngle getApparentFOV()
null is returned the apparent field of view
value was never set.Anglefloat getFocalLength()
java.lang.String getModel()
null is returned the model name was never set.java.lang.String getVendor()
null is returned the vendor name was never set.boolean setApparentFOV(Angle apparentFOV)
apparentFOV - The new apparent field of view to be set.
true if the new apparent field of
view could be set. If false is returned the parameter
was null, or the Angles value was negative or 0 (apparent field of view
will not be changed if false is returned).void setFocalLength(float focalLength)
focalLength - The new focal length to be set.void setModel(java.lang.String modelname)
modelname - The new model name to be set.void setVendor(java.lang.String vendorname)
vendorname - The new vendor name to be set.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||