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

Class ColorSetting

source code

object --+    
         |    
   Setting --+
             |
            ColorSetting

Represents a color choice setting, with our without an alpha channel. The value must be a collection with 3 or 4 values in it representing RGBA.

Instance Methods [hide private]
 
_setValue(self, val)
Stores the given color and (optionally) alpha information.
source code

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

Inherited from Setting (private): _getValue, _notify

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

Class Variables [hide private]
  value = property(Setting._getValue, _setValue)
Instance Variables [hide private]

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]

_setValue(self, val)

source code 
Stores the given color and (optionally) alpha information.
Parameters:
  • val (collection) - New value
Raises:
  • TypeError - When the value is not a 3 or 4 element collection
Overrides: Setting._setValue