Package pyforms :: Package terminal :: Package Controls :: Module ControlFile |
[hide private]
[frames] | no frames]

# Source Code for Module pyforms.terminal.Controls.ControlFile

     1  from pyforms.terminal.Controls.ControlBase import ControlBase
     2
     3 -class ControlFile(ControlBase):
     4
     5 -    def initControl(self): return "controls.push(new ControlFile('%s', '%s'));" % ( self._label, self._name )
     6
     7
     8 -    def load(self, data):
     9          pass
    10
    11 -    def save(self, data):
    12          pass
    13
    14      ############################################################################
    15
    16      @property
    17 -    def label(self): return ControlBase.label.fget(self)
    18
    19      @label.setter
    20 -    def label(self, value):  ControlBase.label.fset(self, value)
    21
    22      ############################################################################
    23
    24      @property
    25 -    def value(self): return self._value
    26
    27      @value.setter
    28 -    def value(self, value): self._value = value
    29