AccessEngine :: AEState :: Setting :: PercentRangeSetting :: Class PercentRangeSetting
[hide private]
[frames] | no frames]

Class PercentRangeSetting

source code

object --+            
         |            
   Setting --+        
             |        
NumericSetting --+    
                 |    
      RangeSetting --+
                     |
                    PercentRangeSetting

Represents a numeric setting that should be scaled for presentation to a user as a percentage between 0% and 100%. The value property of this setting returns the raw value while the percent property returns the raw value converted to a percentage.

Instance Methods [hide private]
PercentRangeView
getView(self)
Returns a view that converts raw values to percentages.
source code

Inherited from NumericSetting: __init__, update

Inherited from NumericSetting (private): _fixBounds, _setValue

Inherited from Setting: addObserver, clearObservers, copy, removeObserver, restore, save, serialize, unserialize

Inherited from Setting (private): _getValue, _notify

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Class Variables [hide private]

Inherited from NumericSetting: value

Instance Variables [hide private]

Inherited from NumericSetting: max, min, precision

Inherited from Setting: default, description, label, name, persist, state

Inherited from Setting (private): _cached, _observers, _value

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

getView(self)

source code 
Returns a view that converts raw values to percentages.
Returns: PercentRangeView
A percent range view of this range
Overrides: NumericSetting.getView