Class
Limage
Home
In: locana/l_image.rb
Parent: Lobject

This class displays a jpeg or gif image. Based on the Lobject class. Supports the on_click event.

Methods

can_have_focus?, filename, filename=, filepath, filepath=, full_filepath, paint_normal, pixel_height, pixel_width, valid_attribute?, value=,
Public Instance methods
valid_attribute?(attribute, lvalue=nil) src

This supports the :filename and :filepath attributes The :filepath is optional, the path can be supplied with the :filename

can_have_focus?() src

This object should never get the focus, returns false.

filename() src

Returns the filename of the image.

filename=(new_value) src

Changes the image or filename associated with this object.

filepath() src

Returns the path or directory this image is located in.

filepath=(new_value) src

Set the path or directory this image can be found in.

full_filepath() src

Returns find_valid_path(filename, filepath). It attempts to look for a valid filename and raises and error if one is not found.

value=(new_value) src

Alias for filename=().

paint_normal() src

Calls Locana_gui::draw_image to paint the image on the display.

pixel_width() src

Returns the pixel width of the image.

pixel_height() src

Returns the pixel height of the image.


Seva Software


Thank you for taking the time to visit this web page. I trust you found the information contained in this page useful.
Please email any questions, concerns, or issues with this web site to webmaster@sevasoftware.com.
Please remember Seva Software when your company would benefit from an experienced database architect and software engineer.

http://www.arunadb.org http://www.locana.org http://www.ruby-lang.org http://www.coolwell.org http://www.sevasoftware.com