Class: Fox::FXDirItem
- Inherits:
-
FXTreeItem
- Object
- FXObject
- FXTreeItem
- Fox::FXDirItem
- Defined in:
- rdoc-sources/FXDirList.rb
Overview
Directory item
Instance Attribute Summary collapse
-
#assoc ⇒ Object
readonly
File associations FXFileAssoc.
-
#date ⇒ Object
readonly
File time [Integer].
-
#size ⇒ Object
readonly
File size [Integer].
Instance Method Summary collapse
-
#blockdev? ⇒ Boolean
Return
true
if this is a block device. -
#chardev? ⇒ Boolean
Return
true
if this is a character device. -
#directory? ⇒ Boolean
Return
true
if this is a directory. -
#executable? ⇒ Boolean
Return
true
if this is an executable. -
#fifo? ⇒ Boolean
Return
true
if this is a FIFO (a named pipe). -
#initialize(text, oi = nil, ci = nil, data = nil) ⇒ FXDirItem
constructor
Returns an initialized FXDirItem instance.
-
#socket? ⇒ Boolean
Return
true
if this is a socket. -
#symlink? ⇒ Boolean
Return
true
if this is a symbolic link.
Methods inherited from FXTreeItem
#<=>, #above, #below, #childOf?, #closedIcon, #create, #data, #data=, #destroy, #detach, #draggable=, #draggable?, #each, #enabled=, #enabled?, #expanded=, #expanded?, #first, #getHeight, #getWidth, #hasFocus?, #hasItems=, #hasItems?, #last, #next, #numChildren, #openIcon, #opened=, #opened?, #parent, #parentOf?, #prev, #selected=, #selected?, #setClosedIcon, #setFocus, #setOpenIcon, #text, #text=, #to_s
Methods inherited from FXObject
#bind, #handle, #load, #save, subclasses
Constructor Details
#initialize(text, oi = nil, ci = nil, data = nil) ⇒ FXDirItem
Returns an initialized FXDirItem instance
16 17 |
# File 'rdoc-sources/FXDirList.rb', line 16 def initialize(text, oi=nil, ci=nil, data=nil) # :yields: theDirItem end |
Instance Attribute Details
#assoc ⇒ Object (readonly)
File associations Fox::FXFileAssoc
7 8 9 |
# File 'rdoc-sources/FXDirList.rb', line 7 def assoc @assoc end |
#date ⇒ Object (readonly)
File time [Integer]
13 14 15 |
# File 'rdoc-sources/FXDirList.rb', line 13 def date @date end |
#size ⇒ Object (readonly)
File size [Integer]
10 11 12 |
# File 'rdoc-sources/FXDirList.rb', line 10 def size @size end |
Instance Method Details
#blockdev? ⇒ Boolean
Return true
if this is a block device
32 |
# File 'rdoc-sources/FXDirList.rb', line 32 def blockdev?; end |
#chardev? ⇒ Boolean
Return true
if this is a character device
29 |
# File 'rdoc-sources/FXDirList.rb', line 29 def chardev?; end |
#directory? ⇒ Boolean
Return true
if this is a directory
20 |
# File 'rdoc-sources/FXDirList.rb', line 20 def directory?; end |
#executable? ⇒ Boolean
Return true
if this is an executable
23 |
# File 'rdoc-sources/FXDirList.rb', line 23 def executable?; end |
#fifo? ⇒ Boolean
Return true
if this is a FIFO (a named pipe)
35 |
# File 'rdoc-sources/FXDirList.rb', line 35 def fifo?; end |
#socket? ⇒ Boolean
Return true
if this is a socket
38 |
# File 'rdoc-sources/FXDirList.rb', line 38 def socket?; end |
#symlink? ⇒ Boolean
Return true
if this is a symbolic link
26 |
# File 'rdoc-sources/FXDirList.rb', line 26 def symlink?; end |