Module: Cheri::Java
- Defined in:
- lib/cheri/java/java.rb,
lib/cheri/java/builder/main.rb,
lib/cheri/java/builder/util.rb
Defined Under Namespace
Modules: Builder Classes: LocatableIcon
Constant Summary collapse
Class Method Summary collapse
-
.cheri_icon ⇒ Object
Returns the 16x16 Cheri icon.
- .get_class(*r) ⇒ Object
-
.get_icon(n) ⇒ Object
call-seq: Cheri::Java.get_icon(filename) -> icon Returns an instance of LocatableIcon for file at #img_path#filename.
Class Method Details
.cheri_icon ⇒ Object
Returns the 16x16 Cheri icon.
50 51 52 |
# File 'lib/cheri/java/java.rb', line 50 def cheri_icon @cheri_icon ||= get_icon('cheri_icon_16x16.png') end |
.get_class(*r) ⇒ Object
39 40 41 |
# File 'lib/cheri/java/java.rb', line 39 def get_class(*r) JRuby.get_class(*r) end |
.get_icon(n) ⇒ Object
call-seq:
Cheri::Java.get_icon(filename) -> icon
Returns an instance of LocatableIcon for file at #Cheri.img_path#filename.
46 47 48 |
# File 'lib/cheri/java/java.rb', line 46 def get_icon(n) LocatableIcon.new("#{Cheri.img_path}#{n}") end |