Class: Origami::Template::MultiLineEdit
- Inherits:
-
Edit
- Object
- Hash
- Dictionary
- Annotation
- Annotation::Widget
- Annotation::Widget::Text
- Edit
- Origami::Template::MultiLineEdit
- Defined in:
- lib/origami/template/widgets.rb
Direct Known Subclasses
Constant Summary
Constants included from StandardObject
StandardObject::DEFAULT_ATTRIBUTES
Constants inherited from Dictionary
Constants included from Object
Instance Attribute Summary
Attributes included from ObjectCache
#names_cache, #strings_cache, #xref_cache
Attributes included from Object
#file_offset, #generation, #no, #objstm_offset, #parent
Instance Method Summary collapse
-
#initialize(id, x:, y:, width:, height:) ⇒ MultiLineEdit
constructor
A new instance of MultiLineEdit.
Methods inherited from Annotation::Widget
Methods included from Annotation::Triggerable
#onBlur, #onFocus, #onMouseDown, #onMouseOut, #onMouseOver, #onMouseUp, #onPageClose, #onPageInvisible, #onPageOpen, #onPageVisible
Methods included from Field
included, #name, #name=, #onCalculate, #onFormat, #onKeyStroke, #onValidate, #pre_build, #set_name
Methods inherited from Annotation
#set_down_appearance, #set_normal_appearance, #set_rollover_appearance
Methods included from StandardObject
included, #pre_build, #version_required
Methods inherited from Dictionary
#[], #[]=, hint_type, #merge, parse, #to_h, #to_obfuscated_str, #to_s, #transform_values, #transform_values!
Methods included from Origami::TypeGuessing
Methods included from FieldAccessor
#method_missing, #respond_to_missing?
Methods included from CompoundObject
#copy, #delete, #include?, #update_values, #update_values!
Methods included from ObjectCache
Methods included from Object
#cast_to, #copy, #document, #export, included, #indirect?, #indirect_parent, #logicalize, #logicalize!, #native_type, #numbered?, parse, #post_build, #pre_build, #reference, #set_document, #set_indirect, skip_until_next_obj, #solve, #to_o, #to_s, #type, typeof, #version_required, #xrefs
Constructor Details
#initialize(id, x:, y:, width:, height:) ⇒ MultiLineEdit
Returns a new instance of MultiLineEdit.
93 94 95 96 97 98 |
# File 'lib/origami/template/widgets.rb', line 93 def initialize(id, x:, y:, width:, height:) super(id, x: x, y: y, width: width, height: height) self.Ff ||= 0 self.Ff |= Annotation::Widget::Text::Flags::MULTILINE end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Origami::FieldAccessor