Class: KeytechKit::Control

Inherits:
Object
  • Object
show all
Defined in:
lib/keytechKit/classes/layout/control.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(data) ⇒ Control

Returns a new instance of Control.



18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# File 'lib/keytechKit/classes/layout/control.rb', line 18

def initialize(data)
  self.attributeAlignment = data["AttributeAlignment"]
  self.attributeName = data["AttributeName"]
  self.controlType = data["ControlType"]
  self.dataDictionaryID = data["DataDictionaryID"]
  self.dataDictionaryType = data["DataDictionaryType"]
  self.defaultValue = data["DefaultValue"]
  self.displayname = data["Displayname"]
  self.font = data["Font"]
  self.isEditable = data["IsEditable"]
  self.isNullable = data["IsNullable"]
  self.name = data["Name"]
  self.position = data["Position"]
  self.sequence = data["Sequence"]
  self.size = data["Size"]
end

Instance Attribute Details

#attributeAlignmentObject

Returns the value of attribute attributeAlignment.



3
4
5
# File 'lib/keytechKit/classes/layout/control.rb', line 3

def attributeAlignment
  @attributeAlignment
end

#attributeNameObject

Returns the value of attribute attributeName.



4
5
6
# File 'lib/keytechKit/classes/layout/control.rb', line 4

def attributeName
  @attributeName
end

#controlTypeObject

Returns the value of attribute controlType.



5
6
7
# File 'lib/keytechKit/classes/layout/control.rb', line 5

def controlType
  @controlType
end

#dataDictionaryIDObject

Returns the value of attribute dataDictionaryID.



6
7
8
# File 'lib/keytechKit/classes/layout/control.rb', line 6

def dataDictionaryID
  @dataDictionaryID
end

#dataDictionaryTypeObject

Returns the value of attribute dataDictionaryType.



7
8
9
# File 'lib/keytechKit/classes/layout/control.rb', line 7

def dataDictionaryType
  @dataDictionaryType
end

#defaultValueObject

Returns the value of attribute defaultValue.



8
9
10
# File 'lib/keytechKit/classes/layout/control.rb', line 8

def defaultValue
  @defaultValue
end

#displaynameObject

Returns the value of attribute displayname.



9
10
11
# File 'lib/keytechKit/classes/layout/control.rb', line 9

def displayname
  @displayname
end

#fontObject

Returns the value of attribute font.



10
11
12
# File 'lib/keytechKit/classes/layout/control.rb', line 10

def font
  @font
end

#isEditableObject

Returns the value of attribute isEditable.



11
12
13
# File 'lib/keytechKit/classes/layout/control.rb', line 11

def isEditable
  @isEditable
end

#isNullableObject

Returns the value of attribute isNullable.



12
13
14
# File 'lib/keytechKit/classes/layout/control.rb', line 12

def isNullable
  @isNullable
end

#nameObject

Returns the value of attribute name.



13
14
15
# File 'lib/keytechKit/classes/layout/control.rb', line 13

def name
  @name
end

#positionObject

Returns the value of attribute position.



14
15
16
# File 'lib/keytechKit/classes/layout/control.rb', line 14

def position
  @position
end

#sequenceObject

Returns the value of attribute sequence.



15
16
17
# File 'lib/keytechKit/classes/layout/control.rb', line 15

def sequence
  @sequence
end

#sizeObject

Returns the value of attribute size.



16
17
18
# File 'lib/keytechKit/classes/layout/control.rb', line 16

def size
  @size
end