Method Summary |
|
__init__ (self,
attrs,
tag)
|
IntType
|
get_digits_after_point (self)
Return the number of digits after the decimal point in the string
representation of the number. |
FloatType
|
get_float (self)
Return a float representation of it value |
IntType
|
get_int (self)
Return an integer representation of it value |
FloatType
|
get_max (self)
Return the highest possible value for this object |
FloatType
|
get_min (self)
Return the smallest possible value for this object |
IntType
|
get_number_of_steps (self)
Return the number of steps between min and max, 0 if is_range ==False |
FloatType
|
get_range (self)
Return get_max -get_min |
FloatType
|
get_step (self)
Return the stepsize |
StringType
|
get_text (self)
Return a formated string representation of it value |
FloatType
|
is_range (self)
Return True if (get_step >0) and (get_range >0) , False
otherwise. |
BooleanType
|
is_sexagesimal (self)
Return True if the format property requires sexagesimal
display |
NoneType
|
set_float (self,
num)
Return None |
NoneType
|
set_text (self,
text)
Return None |
NoneType
|
_set_value (self,
value)
Sets the value variable of this object. |
Inherited from indielement |
StringType
|
get_xml (self,
transfertype)
Returns an XML representation of the object |
NoneType
|
tell (self)
Prints all parameters of the object |
BooleanType
|
_get_changed (self)
Return True if the objects XML data was changed since the last
_get_changed was called, False
otherwise. |
Inherited from indiobject |
BooleanType
|
is_valid (self)
Checks whether the object is valid. |
NoneType
|
update (self,
attrs,
tag)
Update this element with data received form the XML Parser. |
NoneType
|
_check_writeable (self)
Raises an exception if the object is not writable |
Instance Variable Summary |
StringType |
format : A format string describing the way the number is displayed |
StringType |
_max : The maximum value of the number |
StringType |
_min : The minimum value of the number |
StringType |
_step : The step increment of the number |
Inherited from indielement |
StringType |
_old_value : The old value of the object, the value it had when _get_changed was called last time. |
StringType |
_value : The value of the INDI object. |
Inherited from indinamedobject |
StringType |
label : label of the INDI object as given in the "label" XML
attribute |
StringType |
name : name of the INDI object as given in the "name" XML
attribute |
Inherited from indiobject |
indixmltag |
tag : The XML tag of the INDI object (see indixmltag ). |