Class: Celerity::Hidden
- Inherits:
-
TextField
- Object
- Element
- InputElement
- TextField
- Celerity::Hidden
- Defined in:
- lib/celerity/elements/text_field.rb
Overview
This class can be used to access hidden field objects Normally a user would not need to create this object as it is returned by the Celerity::Container#hidden method
Constant Summary collapse
- TAGS =
Identifier.new('input', :type => %w[hidden])
- DEFAULT_HOW =
:name
Constants inherited from TextField
Constants inherited from InputElement
Constants inherited from Element
Element::ATTRIBUTES, Element::BASE_ATTRIBUTES, Element::CELLHALIGN_ATTRIBUTES, Element::CELLVALIGN_ATTRIBUTES, Element::HTML_401_TRANSITIONAL, Element::TO_S_SIZE
Instance Attribute Summary
Attributes inherited from Element
Attributes included from Container
Instance Method Summary collapse
Methods inherited from TextField
#append, #clear, #contains_text, #drag_contents_to, #requires_typing, #set, #type, #value, #value=, #verify_contains
Methods inherited from InputElement
Methods included from DisabledElement
#assert_enabled, #disabled?, #enabled?
Methods included from ClickableElement
#click, #click_and_attach, #double_click, #download, #right_click
Methods inherited from Element
#assert_exists, #attribute_string, #attribute_value, #exists?, #fire_event, #focus, #initialize, #javascript_object, #locate, #method_missing, #methods, #object, #parent, #respond_to?, #text, #to_s, #to_xml, #xpath
Methods included from Container
#area, #areas, #button, #buttons, #cell, #cells, #check_box, #checkboxes, #container=, #contains_text, #dd, #dds, #div, #divs, #dl, #dls, #dt, #dts, #em, #ems, #file_field, #file_fields, #form, #forms, #frame, #frames, #h1, #h1s, #h2, #h2s, #h3, #h3s, #h4, #h4s, #h5, #h5s, #h6, #h6s, #hidden, #hiddens, #image, #images, #inspect, #label, #labels, #li, #link, #links, #lis, #map, #maps, #meta, #metas, #ol, #ols, #option, #p, #pre, #pres, #ps, #radio, #radios, #row, #rows, #select_list, #select_lists, #span, #spans, #strong, #strongs, #table, #tables, #tbodies, #tbody, #text_field, #text_fields, #tfoot, #tfoots, #th, #thead, #theads, #ths, #ul, #uls
Methods included from ShortInspect
Constructor Details
This class inherits a constructor from Celerity::Element
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Celerity::Element
Instance Method Details
#visible? ⇒ Boolean
163 164 165 166 |
# File 'lib/celerity/elements/text_field.rb', line 163 def visible? assert_exists false end |