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

Class FilenameSetting

source code

object --+        
         |        
   Setting --+    
             |    
 StringSetting --+
                 |
                FilenameSetting

Represents a string filename setting.

Instance Methods [hide private]
 
__init__(self, state, name, default, label, description, persist, relative_path)
Initializes all instance variables.
source code
 
update(self, setting)
Updates the relative path in addition to everything done in the parent class method.
source code
string
_getValue(self)
Gets the filename as a string.
source code
 
_setValue(self, val)
Stores the given value as a string.
source code

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

Inherited from Setting (private): _notify

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

Class Variables [hide private]
  value = property(_getValue, _setValue)
Instance Variables [hide private]
string relative_path
Absolute path to which '.' or a filename with no path refers (i.e.

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]

__init__(self, state, name, default, label, description, persist, relative_path)
(Constructor)

source code 
Initializes all instance variables.
Overrides: Setting.__init__
(inherited documentation)

update(self, setting)

source code 
Updates the relative path in addition to everything done in the parent class method.
Parameters:
Overrides: Setting.update

_getValue(self)

source code 
Gets the filename as a string.
Returns: string
Current filename value
Overrides: Setting._getValue

_setValue(self, val)

source code 
Stores the given value as a string.
Parameters:
  • val (string) - New value
Raises:
  • TypeError - When the value cannot be converted to a string
Overrides: StringSetting._setValue

Instance Variable Details [hide private]

relative_path

Absolute path to which '.' or a filename with no path refers (i.e. the root of the starting filename path)
Type:
string