abstract class
Opal::FormModule::FormField
- Opal::FormModule::FormField
- Reference
- Object
Overview
Abstract base class for all interactive fields in a multi-field Form.
Direct Known Subclasses
- Opal::FormModule::ConfirmField
- Opal::FormModule::MultiSelectField
- Opal::FormModule::SelectField
- Opal::FormModule::TextField
Defined in:
opal/form/field.crConstructors
Instance Method Summary
- #error : String | Nil
- #error=(error : String | Nil)
- #focused=(focused : Bool)
- #focused? : Bool
- #handle_key(key : Terminal::Key) : Bool
- #label : String
- #name : String
- #raw_value : String | Bool | Array(String)
- #render(buffer : UI::Buffer, x : Int32, y : Int32, width : Int32) : Int32
- #value_as_s : String
Constructor Detail
Instance Method Detail
abstract
def render(buffer : UI::Buffer, x : Int32, y : Int32, width : Int32) : Int32
#