Article View: borland.public.jbuilder.java.api
Article #3577TreeControl nodes with text and graphics...any examples?
From: Dan Royalty
Date: Sun, 09 Nov 1997 00:00
Date: Sun, 09 Nov 1997 00:00
49 lines
2367 bytes
2367 bytes
--------------1457392A54A29E9B1A3EFA82 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit In the description of the TreeControl component, the online JBCL reference says: You can show both text and a graphic on each TreeControl node, to create a basic file-manager directory tree with folder images and strings showing the directories. The default item viewer (SelectableTextItemViewer) won't work for this. You need a CompositeItemViewer made up of a ImageItemViewer (or StateImageItemViewer to show open and closed folders) and a SelectableTextItemViewer. Some (all?) of the classes mentioned in the description (such as CompositeItemViewer) appear not to be documented, however. Are they in fact undocumented? If not, can someone point me to the right place? Are there any sample apps (source code) that show both text and graphics on tree control nodes? Thanks for any help. Dan --------------1457392A54A29E9B1A3EFA82 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit <HTML> In the description of the TreeControl component, the online JBCL reference says: <P><I>You can show both text and a graphic on each TreeControl node, to create a basic file-manager directory tree with folder images and strings showing the directories. The default item viewer (SelectableTextItemViewer) won't work for this. You need a CompositeItemViewer made up of a ImageItemViewer (or StateImageItemViewer to show open and closed folders) and a SelectableTextItemViewer.</I> <P>Some (all?) of the classes mentioned in the description (such as <I>CompositeItemViewer</I>) appear not to be documented, however. Are they in fact undocumented? If not, can someone point me to the right place? Are there any sample apps (source code) that show both text and graphics on tree control nodes? <P>Thanks for any help. <BR>Dan</HTML> --------------1457392A54A29E9B1A3EFA82--
Technical Details
Message-ID:
<3466870C.6F731DEC@bicnet.net>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1089d0,132a914cc2dc3a,start X-Google-Attributes: gid1089d0,public From: Dan Royalty <royalty@bicnet.net> Subject: TreeControl nodes with text and graphics...any examples? Date: 1997/11/09 Message-ID: <3466870C.6F731DEC@bicnet.net> X-Deja-AN: 288242390 Organization: None Newsgroups: borland.public.jbuilder.java.api