Class: Atk::Hyperlink
- Inherits:
-
Object
- Object
- Atk::Hyperlink
- Defined in:
- (unknown)
Instance Method Summary collapse
-
#end_index ⇒ Integer
End-index.
- #end_index=(end_index) ⇒ Integer
-
#get_object(i) ⇒ Atk::Object
Returns the item associated with this hyperlinks nth anchor.
-
#get_uri(i) ⇒ String
Get a the URI associated with the anchor specified by i of link_.
-
#is_inline ⇒ TrueClass
Indicates whether the link currently displays some or all of its content inline.
-
#is_selected_link ⇒ TrueClass
Determines whether this AtkHyperlink is selected.
-
#is_valid ⇒ TrueClass
Since the document that a link is associated with may have changed this method returns true if the link is still valid (with respect to the document it references) and false otherwise.
-
#n_anchors ⇒ Integer
Gets the number of anchors associated with this hyperlink.
-
#number_of_anchors ⇒ Integer
Number-of-anchors.
- #number_of_anchors=(number_of_anchors) ⇒ Integer
-
#selected_link=(selected_link) ⇒ TrueClass
Selected link.
-
#selected_link? ⇒ TrueClass
Selected link.
-
#start_index ⇒ Integer
Start-index.
- #start_index=(start_index) ⇒ Integer
Instance Method Details
#end_index ⇒ Integer
Returns end-index.
#end_index=(end_index) ⇒ Integer
#get_object(i) ⇒ Atk::Object
Returns the item associated with this hyperlinks nth anchor. For instance, the returned Atk::Object will implement #AtkText if link_ is a text hyperlink, Atk::Image if link_ is an image hyperlink etc.
Multiple anchors are primarily used by client-side image maps. i-th anchor
#get_uri(i) ⇒ String
Get a the URI associated with the anchor specified by i of link_.
Multiple anchors are primarily used by client-side image maps.
#is_inline ⇒ TrueClass
Indicates whether the link currently displays some or all of its
content inline. Ordinary HTML links will usually return
false, but an inline <src> HTML element will return
true.
#is_selected_link ⇒ TrueClass
Determines whether this AtkHyperlink is selected
#is_valid ⇒ TrueClass
Since the document that a link is associated with may have changed this method returns true if the link is still valid (with respect to the document it references) and false otherwise.
#n_anchors ⇒ Integer
Gets the number of anchors associated with this hyperlink.
#number_of_anchors ⇒ Integer
Returns number-of-anchors.
#number_of_anchors=(number_of_anchors) ⇒ Integer
#selected_link=(selected_link) ⇒ TrueClass
Selected link
#selected_link? ⇒ TrueClass
Selected link
#start_index ⇒ Integer
Returns start-index.