Main Page | Modules | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

VisFile Class Reference

Collaboration diagram for VisFile:

Collaboration graph
[legend]
List of all members.

Detailed Description

VisFile - visualisation of a file or directory. This class is mainly used by VisDirectory.

Author:
Michael Daum
Id
VisFile.tcl,v 1.9 2004/02/25 14:42:09 micha Exp

Definition at line 19 of file VisFile.tcl.

Public Member Functions

 getBBox ()
 getCoords ()
 getHeight ()
 getSelection ()
 getWidth ()
 hide ()
 setCoords (TclNumber x, TclNumber y)
 setSelection (TclNumber value)
 show ()
 VisFile (VisDirectory visDir, TclList args)

Public Attributes

TclString icon = ""
TclString name = ""
TclString type = ""

Private Attributes

TclString _iconTag = ""
TclNumber _isSelected = 0
TclString _recTag = ""
TclString _textTag = ""
TclString _visDirectory = ""
TclNumber _xCoord = -100
TclNumber _yCoord = -100


Constructor & Destructor Documentation

VisFile::VisFile VisDirectory  visDir,
TclList  args
 

constructor

Definition at line 74 of file VisFile.tcl.


Member Function Documentation

VisFile::getBBox  ) 
 

getBBox

Definition at line 177 of file VisFile.tcl.

References getWidth().

Referenced by getCoords().

VisFile::getCoords  ) 
 

getCoords

Definition at line 170 of file VisFile.tcl.

References getBBox().

VisFile::getHeight  ) 
 

getHeight

Definition at line 194 of file VisFile.tcl.

VisFile::getSelection  ) 
 

getSelection

Definition at line 231 of file VisFile.tcl.

VisFile::getWidth  ) 
 

getWidth

Definition at line 184 of file VisFile.tcl.

Referenced by getBBox().

VisFile::hide  ) 
 

hide

Definition at line 120 of file VisFile.tcl.

VisFile::setCoords TclNumber  x,
TclNumber  y
 

setCoords

Definition at line 142 of file VisFile.tcl.

VisFile::setSelection TclNumber  value  ) 
 

set the selection state. This method changes the _isSelected state and configures the item accordingly in the _visDirectory.

Parameters:
value possible values are
  • 1: marks the VisFile in the _visDirectory
  • 0: unmarks the VisFile
Definition at line 209 of file VisFile.tcl.

VisFile::show  ) 
 

show

Definition at line 84 of file VisFile.tcl.


Member Data Documentation

TclString VisFile::_iconTag = "" [private]
 

icon item tag in the drawing canvas

Definition at line 47 of file VisFile.tcl.

TclNumber VisFile::_isSelected = 0 [private]
 

flag indicating whether this file is being selected in a VisDirectory

Definition at line 44 of file VisFile.tcl.

TclString VisFile::_recTag = "" [private]
 

rectangular item tag in the drawing canvas

Definition at line 53 of file VisFile.tcl.

TclString VisFile::_textTag = "" [private]
 

text item tag in the drawing canvas

Definition at line 50 of file VisFile.tcl.

TclString VisFile::_visDirectory = "" [private]
 

link to the VisDirectory that displays this file.

Definition at line 35 of file VisFile.tcl.

TclNumber VisFile::_xCoord = -100 [private]
 

x position where this file is drawn

Definition at line 38 of file VisFile.tcl.

TclNumber VisFile::_yCoord = -100 [private]
 

y position where this file is drawn

Definition at line 41 of file VisFile.tcl.

TclString VisFile::icon = ""
 

icon used to represent this file in a VisDirectory

Definition at line 28 of file VisFile.tcl.

TclString VisFile::name = ""
 

name of the file

Definition at line 25 of file VisFile.tcl.

TclString VisFile::type = ""
 

file type

Definition at line 31 of file VisFile.tcl.


The documentation for this class was generated from the following file:
YADA 2.0-alpha (20 Oct 2004)