Class: Origami::Template::RichTextEdit
- Inherits:
-
MultiLineEdit
- Object
- Hash
- Dictionary
- Annotation
- Annotation::Widget
- Annotation::Widget::Text
- Edit
- MultiLineEdit
- Origami::Template::RichTextEdit
- Defined in:
- lib/origami/template/widgets.rb
Constant Summary
Constants included from StandardObject
StandardObject::DEFAULT_ATTRIBUTES
Constants inherited from Dictionary
Constants included from Object
Instance Attribute Summary
Attributes inherited from Dictionary
#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:) ⇒ RichTextEdit
constructor
A new instance of RichTextEdit.
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
#[], #[]=, add_type_signature, #cast_to, #copy, #delete, guess_type, hint_type, #key?, #map!, #merge, parse, #to_h, #to_obfuscated_str, #to_s
Methods included from FieldAccessor
#method_missing, #respond_to_missing?
Methods included from Object
#<=>, #cast_to, #copy, #document, #export, included, #indirect?, #indirect_parent, #logicalize, #logicalize!, #native_type, 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:) ⇒ RichTextEdit
Returns a new instance of RichTextEdit.
102 103 104 105 106 107 |
# File 'lib/origami/template/widgets.rb', line 102 def initialize(id, x: , y:, width:, height:) super(id, x: x, y: y, width: width, height: height) self.F |= Annotation::Flags::READONLY self.Ff |= (Annotation::Widget::Text::Flags::RICHTEXT | Field::Flags::READONLY) end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Origami::FieldAccessor