home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 1997 November
/
PCWorld_1997-11_cd.bin
/
software
/
programy
/
komix
/
DATA.Z
/
cbproplabe.tcl
< prev
next >
Wrap
Text File
|
1996-05-29
|
1KB
|
58 lines
#---------------------------------------------------------------------------
#
# (c) Cadre Technologies Inc. 1996
#
# File: @(#)cbproplabe.tcl 1.4
# Author: <generated>
# Description:
#---------------------------------------------------------------------------
# SccsId = @(#)cbproplabe.tcl 1.4 31 Jan 1996 Copyright 1996 Cadre Technologies Inc.
# Start user added include file section
# End user added include file section
Class CBPropLabel : {GCObject} {
constructor
method destructor
method addItem
method addPropItem
method removePropItem
attribute propItemSet
attribute label
}
constructor CBPropLabel {class this label} {
set this [GCObject::constructor $class $this]
$this label $label
$this propItemSet [List new]
# Start constructor user section
# End constructor user section
return $this
}
method CBPropLabel::destructor {this} {
# Start destructor user section
# End destructor user section
}
method CBPropLabel::addItem {this item workItem} {
if {$item == "" || [$item isNil]} {
return
}
set cbPropItem [CBPropItem new $item $workItem]
$this addPropItem $cbPropItem
}
# Do not delete this line -- regeneration end marker
method CBPropLabel::addPropItem {this newPropItem} {
[$this propItemSet] append $newPropItem
}
method CBPropLabel::removePropItem {this oldPropItem} {
[$this propItemSet] removeValue $oldPropItem
}