Class: Shoes::LinkHover

Inherits:
Link show all
Defined in:
lacci/lib/shoes/drawables/link.rb

Overview

In Shoes, the LinkHover pseudo-class is used to set default styles for links when hovered over. The functionality isn't present in Lacci yet.

Constant Summary

Constants inherited from TextDrawable

TextDrawable::STRIKETHROUGH_VALUES, TextDrawable::UNDERLINE_VALUES

Constants inherited from Drawable

Drawable::DRAW_CONTEXT_STYLES

Constants included from Log

Shoes::Log::DEFAULT_COMPONENT, Shoes::Log::DEFAULT_DEBUG_LOG_CONFIG, Shoes::Log::DEFAULT_LOG_CONFIG

Instance Attribute Summary

Attributes inherited from Drawable

#debug_id, #destroyed, #parent

Attributes inherited from Linkable

#linkable_id

Instance Method Summary collapse

Methods inherited from TextDrawable

#replace, #text, #text=, #text_children_to_items, #to_s

Methods inherited from Drawable

allocate_drawable_id, #app, #banner, #caption, convert_to_float, convert_to_integer, #destroy, #download, drawable_by_id, drawable_class_by_name, dsl_name, #event, expects_parent?, feature_for_shoes_style, get_shoes_events, #hide, #hover, init_args, #inscription, #inspect, is_widget_class?, #leave, #method_missing, #motion, opt_init_args, optional_init_args, register_drawable_id, registered_shoes_events?, required_init_args, #respond_to_missing?, #set_parent, shoes_events, shoes_style, shoes_style_hashes, shoes_style_name?, shoes_style_names, #shoes_style_values, shoes_styles, #show, #style, #subtitle, #tagline, #title, #toggle, unregister_drawable_id, use_current_app, validate_as, with_current_app

Methods included from MarginHelper

#margin_parse

Methods included from Colors

#gray, #rgb, #to_rgb

Methods included from Log

configure_logger, #log_init, logger

Methods inherited from Linkable

#bind_shoes_event, #send_self_event, #send_shoes_event, #unsub_all_shoes_events, #unsub_shoes_event

Constructor Details

#initializeLinkHover

Returns a new instance of LinkHover.



27
28
29
# File 'lacci/lib/shoes/drawables/link.rb', line 27

def initialize
  raise "This class should never be instantiated directly! Use link, not link_hover!"
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Shoes::Drawable