|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectuk.ac.starlink.util.PrimitiveXMLEncodeDecode
uk.ac.starlink.sog.photom.BasePhotom
uk.ac.starlink.sog.photom.AnnulusPhotom
public class AnnulusPhotom
Extends BasePhotom to add facilities for storing the inner and outer scale of an annular region around the aperture. This is usually used to estimate the local sky value.
| Field Summary |
|---|
| Fields inherited from class uk.ac.starlink.sog.photom.BasePhotom |
|---|
CIRCLE, defaultDouble, ELLIPSE, INTEGER_CIRCLE, INTEGER_ELLIPSE |
| Fields inherited from class uk.ac.starlink.util.PrimitiveXMLEncodeDecode |
|---|
listeners |
| Constructor Summary | |
|---|---|
AnnulusPhotom()
Create an instance with default values all around. |
|
| Method Summary | |
|---|---|
Object |
clone()
Create a clone of this object. |
void |
encode(Element rootElement)
|
static String |
getDescription(int index)
Return a description of a value returned by index. |
double |
getInnerscale()
Get the innerscale |
static int |
getNumberValues()
Return a count of the number of values used by this class. |
double |
getOuterscale()
Get the outerscale |
String |
getSpecificDescription(int index)
Return a description for the column. |
int |
getSpecificNumberValues()
Return a count of the number of values used by this object. |
String |
getTagName()
|
Object |
getValue(int index)
Return a value stored by this class by index. |
boolean |
sameValue(AnnulusPhotom comparison)
|
void |
setFromString(String name,
String value)
Set the value of a member variable by matching its name to a known local property string. |
void |
setInnerscale(double value)
Set the innerscale |
void |
setOuterscale(double value)
Sets the outerscale |
String |
toString()
Return a string representation of this object. |
| Methods inherited from class uk.ac.starlink.sog.photom.BasePhotom |
|---|
getAngle, getIdent, getMagnitude, getMagnitudeError, getSemimajor, getSemiminor, getShape, getSignal, getSky, getStatus, getXcoord, getYcoord, sameValue, setAngle, setIdent, setMagnitude, setMagnitudeError, setSemimajor, setSemiminor, setShape, setSignal, setSky, setStatus, setXcoord, setYcoord |
| Methods inherited from class uk.ac.starlink.util.PrimitiveXMLEncodeDecode |
|---|
addCDATASection, addChangeListener, addChildElement, addChildElement, addChildElement, addChildElement, addChildElement, booleanFromString, booleanToString, decode, doubleFromString, doubleToString, fireChanged, getChildElements, getChildren, getElementName, getElementValue, intFromString, intToString, longFromString, longToString, removeChangeListener |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AnnulusPhotom()
| Method Detail |
|---|
public double getInnerscale()
public void setInnerscale(double value)
value - The innerscalepublic double getOuterscale()
public void setOuterscale(double value)
value - the valuepublic boolean sameValue(AnnulusPhotom comparison)
public Object clone()
BasePhotom
clone in class BasePhotompublic String toString()
toString in class BasePhotompublic static int getNumberValues()
public int getSpecificNumberValues()
BasePhotom
getSpecificNumberValues in class BasePhotompublic Object getValue(int index)
Number of some kind for numeric values and a String
otherwise.
getValue in class BasePhotompublic static String getDescription(int index)
public String getSpecificDescription(int index)
BasePhotom
getSpecificDescription in class BasePhotompublic String getTagName()
getTagName in interface uk.ac.starlink.util.XMLEncodeDecodegetTagName in class BasePhotompublic void encode(Element rootElement)
encode in interface uk.ac.starlink.util.XMLEncodeDecodeencode in class BasePhotompublic void setFromString(String name,
String value)
BasePhotom
setFromString in class BasePhotomname - symbolic name of the valuevalue - the value encoded as a String
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||