|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectde.lehmannet.om.SchemaElement
de.lehmannet.om.Imager
de.lehmannet.om.CCDImager
public class CCDImager
Describes a CCD camera.
| Field Summary | |
|---|---|
static java.lang.String |
XML_ATTRIBUTE_CCDIMAGER
Constant for XML representation: ccd imager attribute name |
static java.lang.String |
XML_ELEMENT_XPIXELS
Constant for XML representation: pixels on x axis |
static java.lang.String |
XML_ELEMENT_YPIXELS
Constant for XML representation: pixels on y axis |
| Fields inherited from interface de.lehmannet.om.IImager |
|---|
CCD, FILM, XML_ELEMENT_IMAGER, XML_ELEMENT_MODEL, XML_ELEMENT_REMARKS, XML_ELEMENT_TYPE, XML_ELEMENT_VENDOR, XML_XSI_TYPE |
| Fields inherited from interface de.lehmannet.om.ISchemaElement |
|---|
XML_ELEMENT_ATTRIBUTE_ID |
| Constructor Summary | |
|---|---|
CCDImager(org.w3c.dom.Node imagerElement)
Constructs a new instance of a CCDImager from a given DOM target Element. |
|
CCDImager(java.lang.String model,
int xPixels,
int yPixels)
Constructs a new instance of a CCDImager. |
|
| Method Summary | |
|---|---|
org.w3c.dom.Element |
addToXmlElement(org.w3c.dom.Element element)
Adds this IImager to a given parent XML DOM Element. |
int |
getXPixels()
Returns the amount of pixels on the x axis. |
int |
getYPixels()
Returns the amount of pixels on the y axis. |
void |
setXPixels(int pixels)
Sets the amount of pixels on the x axis. |
void |
setYPixels(int pixels)
Sets the amount of pixels on the y axis. |
| Methods inherited from class de.lehmannet.om.Imager |
|---|
addAsLinkToXmlElement, createXmlImagerElement, getDisplayName, getModel, getRemarks, getType, getVendor, setModel, setRemarks, setType, setVendor |
| Methods inherited from class de.lehmannet.om.SchemaElement |
|---|
equals, getID, setID |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface de.lehmannet.om.ISchemaElement |
|---|
getID |
| Field Detail |
|---|
public static final java.lang.String XML_ATTRIBUTE_CCDIMAGER
public static final java.lang.String XML_ELEMENT_XPIXELS
public static final java.lang.String XML_ELEMENT_YPIXELS
| Constructor Detail |
|---|
public CCDImager(org.w3c.dom.Node imagerElement)
throws SchemaException
imagerElement - The origin XML DOM SchemaException - if given imagerElement was null
public CCDImager(java.lang.String model,
int xPixels,
int yPixels)
model - The model namexPixels - The amount of pixel on the x axisyPixels - The amount of pixel on the y axis
SchemaException - if given model was null, or
on of the pixel values was <= 0.| Method Detail |
|---|
public org.w3c.dom.Element addToXmlElement(org.w3c.dom.Element element)
Imager
addToXmlElement in interface IImageraddToXmlElement in class Imagernull if parent was null.Elementpublic int getXPixels()
public void setXPixels(int pixels)
throws java.lang.IllegalArgumentException
pixels - The new amount of pixel on the x axis
java.lang.IllegalArgumentException - if given pixels are <= 0public int getYPixels()
public void setYPixels(int pixels)
pixels - The new amount of pixel on the y axis
java.lang.IllegalArgumentException - if given pixels are <= 0
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||