Class: Fox::FXDirItem

Inherits:
FXTreeItem show all
Defined in:
rdoc-sources/FXDirList.rb

Overview

Directory item

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#assocObject (readonly)

File associations Fox::FXFileAssoc


7
8
9
# File 'rdoc-sources/FXDirList.rb', line 7

def assoc
  @assoc
end

#dateObject (readonly)

File time [Integer]


13
14
15
# File 'rdoc-sources/FXDirList.rb', line 13

def date
  @date
end

#sizeObject (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

Returns:

  • (Boolean)

32
# File 'rdoc-sources/FXDirList.rb', line 32

def blockdev?; end

#chardev?Boolean

Return true if this is a character device

Returns:

  • (Boolean)

29
# File 'rdoc-sources/FXDirList.rb', line 29

def chardev?; end

#directory?Boolean

Return true if this is a directory

Returns:

  • (Boolean)

20
# File 'rdoc-sources/FXDirList.rb', line 20

def directory?; end

#executable?Boolean

Return true if this is an executable

Returns:

  • (Boolean)

23
# File 'rdoc-sources/FXDirList.rb', line 23

def executable?; end

#fifo?Boolean

Return true if this is a FIFO (a named pipe)

Returns:

  • (Boolean)

35
# File 'rdoc-sources/FXDirList.rb', line 35

def fifo?; end

#socket?Boolean

Return true if this is a socket

Returns:

  • (Boolean)

38
# File 'rdoc-sources/FXDirList.rb', line 38

def socket?; end

#symlink?Boolean

Return true if this is a symbolic link

Returns:

  • (Boolean)

26
# File 'rdoc-sources/FXDirList.rb', line 26

def symlink?; end