Class: Fox::FXFileItem

Inherits:
FXIconItem show all
Defined in:
rdoc-sources/FXFileList.rb

Overview

File item

Instance Attribute Summary collapse

Attributes inherited from FXIconItem

#bigIcon, #data, #draggable, #enabled, #miniIcon, #selected, #text

Instance Method Summary collapse

Methods inherited from FXIconItem

#<=>, #create, #destroy, #detach, #draggable?, #enabled?, #getHeight, #getWidth, #hasFocus?, #selected?, #setFocus, #to_s

Methods inherited from FXObject

#bind, #handle, #load, #save, subclasses

Constructor Details

#initialize(text, bi = nil, mi = nil, ptr = nil) ⇒ FXFileItem

Returns an initialized FXFileItem instance


17
18
# File 'rdoc-sources/FXFileList.rb', line 17

def initialize(text, bi=nil, mi=nil, ptr=nil) # :yields: theFileItem
end

Instance Attribute Details

#assocObject (readonly)

The file association object for this item Fox::FXFileAssoc


8
9
10
# File 'rdoc-sources/FXFileList.rb', line 8

def assoc
  @assoc
end

#dateObject (readonly)

Date for this item [Time]


14
15
16
# File 'rdoc-sources/FXFileList.rb', line 14

def date
  @date
end

#sizeObject (readonly)

The file size for this item [Integer]


11
12
13
# File 'rdoc-sources/FXFileList.rb', line 11

def size
  @size
end

Instance Method Details

#blockdev?Boolean

Return true if this is a block device item


39
# File 'rdoc-sources/FXFileList.rb', line 39

def blockdev?; end

#chardev?Boolean

Return true if this is a character device item


36
# File 'rdoc-sources/FXFileList.rb', line 36

def chardev?; end

#directory?Boolean

Return true if this is a directory item


24
# File 'rdoc-sources/FXFileList.rb', line 24

def directory?; end

#executable?Boolean

Return true if this is an executable item


30
# File 'rdoc-sources/FXFileList.rb', line 30

def executable?; end

#fifo?Boolean

Return true if this is an FIFO item


42
# File 'rdoc-sources/FXFileList.rb', line 42

def fifo?; end

#file?Boolean

Return true if this is a file item


21
# File 'rdoc-sources/FXFileList.rb', line 21

def file?; end

#share?Boolean

Return true if this is a share item


27
# File 'rdoc-sources/FXFileList.rb', line 27

def share?; end

#socket?Boolean

Return true if this is a socket


45
# File 'rdoc-sources/FXFileList.rb', line 45

def socket?; end

#symlink?Boolean

Return true if this is a symbolic link item


33
# File 'rdoc-sources/FXFileList.rb', line 33

def symlink?; end