Class: KeytechKit::Control
- Inherits:
-
Object
- Object
- KeytechKit::Control
- Defined in:
- lib/keytechKit/classes/layout/control.rb
Instance Attribute Summary collapse
-
#attributeAlignment ⇒ Object
Returns the value of attribute attributeAlignment.
-
#attributeName ⇒ Object
Returns the value of attribute attributeName.
-
#controlType ⇒ Object
Returns the value of attribute controlType.
-
#dataDictionaryID ⇒ Object
Returns the value of attribute dataDictionaryID.
-
#dataDictionaryType ⇒ Object
Returns the value of attribute dataDictionaryType.
-
#defaultValue ⇒ Object
Returns the value of attribute defaultValue.
-
#displayname ⇒ Object
Returns the value of attribute displayname.
-
#font ⇒ Object
Returns the value of attribute font.
-
#isEditable ⇒ Object
Returns the value of attribute isEditable.
-
#isNullable ⇒ Object
Returns the value of attribute isNullable.
-
#name ⇒ Object
Returns the value of attribute name.
-
#position ⇒ Object
Returns the value of attribute position.
-
#sequence ⇒ Object
Returns the value of attribute sequence.
-
#size ⇒ Object
Returns the value of attribute size.
Instance Method Summary collapse
-
#initialize(data) ⇒ Control
constructor
A new instance of Control.
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
#attributeAlignment ⇒ Object
Returns the value of attribute attributeAlignment.
3 4 5 |
# File 'lib/keytechKit/classes/layout/control.rb', line 3 def attributeAlignment @attributeAlignment end |
#attributeName ⇒ Object
Returns the value of attribute attributeName.
4 5 6 |
# File 'lib/keytechKit/classes/layout/control.rb', line 4 def attributeName @attributeName end |
#controlType ⇒ Object
Returns the value of attribute controlType.
5 6 7 |
# File 'lib/keytechKit/classes/layout/control.rb', line 5 def controlType @controlType end |
#dataDictionaryID ⇒ Object
Returns the value of attribute dataDictionaryID.
6 7 8 |
# File 'lib/keytechKit/classes/layout/control.rb', line 6 def dataDictionaryID @dataDictionaryID end |
#dataDictionaryType ⇒ Object
Returns the value of attribute dataDictionaryType.
7 8 9 |
# File 'lib/keytechKit/classes/layout/control.rb', line 7 def dataDictionaryType @dataDictionaryType end |
#defaultValue ⇒ Object
Returns the value of attribute defaultValue.
8 9 10 |
# File 'lib/keytechKit/classes/layout/control.rb', line 8 def defaultValue @defaultValue end |
#displayname ⇒ Object
Returns the value of attribute displayname.
9 10 11 |
# File 'lib/keytechKit/classes/layout/control.rb', line 9 def displayname @displayname end |
#font ⇒ Object
Returns the value of attribute font.
10 11 12 |
# File 'lib/keytechKit/classes/layout/control.rb', line 10 def font @font end |
#isEditable ⇒ Object
Returns the value of attribute isEditable.
11 12 13 |
# File 'lib/keytechKit/classes/layout/control.rb', line 11 def isEditable @isEditable end |
#isNullable ⇒ Object
Returns the value of attribute isNullable.
12 13 14 |
# File 'lib/keytechKit/classes/layout/control.rb', line 12 def isNullable @isNullable end |
#name ⇒ Object
Returns the value of attribute name.
13 14 15 |
# File 'lib/keytechKit/classes/layout/control.rb', line 13 def name @name end |
#position ⇒ Object
Returns the value of attribute position.
14 15 16 |
# File 'lib/keytechKit/classes/layout/control.rb', line 14 def position @position end |
#sequence ⇒ Object
Returns the value of attribute sequence.
15 16 17 |
# File 'lib/keytechKit/classes/layout/control.rb', line 15 def sequence @sequence end |
#size ⇒ Object
Returns the value of attribute size.
16 17 18 |
# File 'lib/keytechKit/classes/layout/control.rb', line 16 def size @size end |