Skip to main content

Changing icon

10 replies [Last post]
Anonymous

I know how to change the icons in the TOC tree, but not all of them.
Is it possible to change the little icon that is in front of each
"subfolder"?
The icon that looks like a small magnifying-glass pointing towards the
folder and when it is "open" it points down.

Hope you know what I mean.

Per

********************************************************************************

You may leave the list at any time by sending message with no subject and
"SIGNOFF JAVAHELP-INTEREST" in the body to LISTSERV@JAVA.SUN.COM. Archives
are available at http://archives.java.sun.com/archives/javahelp-interest.html.
Submit bug reports at http://java.sun.com/cgi-bin/bugreport.cgi.

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
chrism
Offline
Joined: 2003-06-19
Points: 0

> I know how to change the icons in the TOC tree, but
> not all of them.
> Is it possible to change the little icon that is in
> front of each
> "subfolder"?
> The icon that looks like a small magnifying-glass
> pointing towards the
> folder and when it is "open" it points down.
>
> Hope you know what I mean.
>
> Per
Change the Look&Feel of the JWindow/Frame (e.g Metal, Motif or Windows) when you call the HelpViewer. JavaHelp's hsviewer defaults to Metal, which gives you the little "key" shaped icons.
>
> ******************************************************
> **************************
>
> You may leave the list at any time by sending message
> with no subject and
> "SIGNOFF JAVAHELP-INTEREST" in the body to
> LISTSERV@JAVA.SUN.COM. Archives
> are available at
> http://archives.java.sun.com/archives/javahelp-interes
> t.html.
> Submit bug reports at
> http://java.sun.com/cgi-bin/bugreport.cgi.

Roger Brinkley

java-help@JAVADESKTOP.ORG wrote:

> Change the Look&Feel of the JWindow/Frame (e.g Metal, Motif or
> Windows) when you call the HelpViewer. JavaHelp's hsviewer defaults
> to Metal, which gives you the little "key" shaped icons.

Ah, the toggles. No you can't change those. They are part of the Look
and Feel for Metal. You can change the look and feel to be something
else but otherwise they aren't changed.

Binky

********************************************************************************

You may leave the list at any time by sending message with no subject and
"SIGNOFF JAVAHELP-INTEREST" in the body to LISTSERV@JAVA.SUN.COM. Archives
are available at http://archives.java.sun.com/archives/javahelp-interest.html.
Submit bug reports at http://java.sun.com/cgi-bin/bugreport.cgi.

Per Lundkvist

Ok Binky, now I have kind of 2 answers, one that says that I can and one
that says that I can not ;-)
Well I'm going to try with "catagoryclosedimage" and "catagoryopenimage" to
see what that changes...
Is it correct that it will change the icon for that topicitem depending if
it collapsed or not?
Or will it actually change the "handle" or what to call it?

--Binky--
"Ah, the toggles. No you can't change those. They are part of the Look
and Feel for Metal. You can change the look and feel to be something
else but otherwise they aren't changed."

"eh? I haven't ever seen that icon. I'm not sure where that is coming
from. You can set all of the TOC icons with "catagoryclosedimage" and
"catagoryopenimage" attributes on the tag."
--------

Thank you
Per

-----Original Message-----
From: Discussion list of JavaHelp
[mailto:JAVAHELP-INTEREST@JAVA.SUN.COM]On Behalf Of Roger Brinkley
Sent: torsdag december 4, 2003 21:27
To: JAVAHELP-INTEREST@JAVA.SUN.COM
Subject: Re: [JAVAHELP] Changing icon

java-help@JAVADESKTOP.ORG wrote:

> Change the Look&Feel of the JWindow/Frame (e.g Metal, Motif or
> Windows) when you call the HelpViewer. JavaHelp's hsviewer defaults
> to Metal, which gives you the little "key" shaped icons.

Ah, the toggles. No you can't change those. They are part of the Look
and Feel for Metal. You can change the look and feel to be something
else but otherwise they aren't changed.

Binky

****************************************************************************
****

You may leave the list at any time by sending message with no subject and
"SIGNOFF JAVAHELP-INTEREST" in the body to LISTSERV@JAVA.SUN.COM. Archives
are available at
http://archives.java.sun.com/archives/javahelp-interest.html.
Submit bug reports at http://java.sun.com/cgi-bin/bugreport.cgi.

********************************************************************************

You may leave the list at any time by sending message with no subject and
"SIGNOFF JAVAHELP-INTEREST" in the body to LISTSERV@JAVA.SUN.COM. Archives
are available at http://archives.java.sun.com/archives/javahelp-interest.html.
Submit bug reports at http://java.sun.com/cgi-bin/bugreport.cgi.

Roger Brinkley

Per Lundkvist wrote:
> Ok Binky, now I have kind of 2 answers, one that says that I can and one
> that says that I can not ;-)
> Well I'm going to try with "catagoryclosedimage" and "catagoryopenimage" to
> see what that changes...
> Is it correct that it will change the icon for that topicitem depending if
> it collapsed or not?
> Or will it actually change the "handle" or what to call it?

You can change the folder image but you can't chance the toggle.

Binky

********************************************************************************

You may leave the list at any time by sending message with no subject and
"SIGNOFF JAVAHELP-INTEREST" in the body to LISTSERV@JAVA.SUN.COM. Archives
are available at http://archives.java.sun.com/archives/javahelp-interest.html.
Submit bug reports at http://java.sun.com/cgi-bin/bugreport.cgi.

Roger Brinkley

Per Lundkvist wrote:
> I know how to change the icons in the TOC tree, but not all of them.
> Is it possible to change the little icon that is in front of each
> "subfolder"?
> The icon that looks like a small magnifying-glass pointing towards the
> folder and when it is "open" it points down.
>
> Hope you know what I mean.

eh? I haven't ever seen that icon. I'm not sure where that is coming
from. You can set all of the TOC icons with "catagoryclosedimage" and
"catagoryopenimage" attributes on the tag.

Binky

********************************************************************************

You may leave the list at any time by sending message with no subject and
"SIGNOFF JAVAHELP-INTEREST" in the body to LISTSERV@JAVA.SUN.COM. Archives
are available at http://archives.java.sun.com/archives/javahelp-interest.html.
Submit bug reports at http://java.sun.com/cgi-bin/bugreport.cgi.

Per Lundkvist

Ok I have now tried to use "categoryclosedimage" and "categoryopenimage",
nothing happend?!
And my "closed_icon" and "open_icon" are mapped in my JHM-file.

Start of my TOC is like:


PUBLIC "-//Sun Microsystems Inc.//DTD JavaHelp TOC Version 1.0//EN"
"http://java.sun.com/products/javahelp/toc_1_0.dtd">

catagoryopenimage="open_icon">


...
...
...

Any ideas?
Per

-----Original Message-----
From: Discussion list of JavaHelp
[mailto:JAVAHELP-INTEREST@JAVA.SUN.COM]On Behalf Of Roger Brinkley
Sent: torsdag december 4, 2003 17:37
To: JAVAHELP-INTEREST@JAVA.SUN.COM
Subject: Re: [JAVAHELP] Changing icon

Per Lundkvist wrote:
> I know how to change the icons in the TOC tree, but not all of them.
> Is it possible to change the little icon that is in front of each
> "subfolder"?
> The icon that looks like a small magnifying-glass pointing towards the
> folder and when it is "open" it points down.
>
> Hope you know what I mean.

eh? I haven't ever seen that icon. I'm not sure where that is coming
from. You can set all of the TOC icons with "catagoryclosedimage" and
"catagoryopenimage" attributes on the tag.

Binky

****************************************************************************
****

You may leave the list at any time by sending message with no subject and
"SIGNOFF JAVAHELP-INTEREST" in the body to LISTSERV@JAVA.SUN.COM. Archives
are available at
http://archives.java.sun.com/archives/javahelp-interest.html.
Submit bug reports at http://java.sun.com/cgi-bin/bugreport.cgi.

********************************************************************************

You may leave the list at any time by sending message with no subject and
"SIGNOFF JAVAHELP-INTEREST" in the body to LISTSERV@JAVA.SUN.COM. Archives
are available at http://archives.java.sun.com/archives/javahelp-interest.html.
Submit bug reports at http://java.sun.com/cgi-bin/bugreport.cgi.

Roger Brinkley

Per Lundkvist wrote:
> Ok I have now tried to use "categoryclosedimage" and "categoryopenimage",
> nothing happend?!
> And my "closed_icon" and "open_icon" are mapped in my JHM-file.
>
> Start of my TOC is like:
>
>
> > PUBLIC "-//Sun Microsystems Inc.//DTD JavaHelp TOC Version 1.0//EN"
> "http://java.sun.com/products/javahelp/toc_1_0.dtd">
>
> > catagoryopenimage="open_icon">
>
>

It's not "1.0" it's "2.0" but that doesn't matter. Do "closed_icon" and
"open_icon" exist in your map file.

Binky

********************************************************************************

You may leave the list at any time by sending message with no subject and
"SIGNOFF JAVAHELP-INTEREST" in the body to LISTSERV@JAVA.SUN.COM. Archives
are available at http://archives.java.sun.com/archives/javahelp-interest.html.
Submit bug reports at http://java.sun.com/cgi-bin/bugreport.cgi.

Chris Herborth

Roger Brinkley wrote:

> Per Lundkvist wrote:
>
>> Start of my TOC is like:
>>
>>
>> >> PUBLIC "-//Sun Microsystems Inc.//DTD JavaHelp TOC Version 1.0//EN"
>> "http://java.sun.com/products/javahelp/toc_1_0.dtd">
>>
>> [...]
> It's not "1.0" it's "2.0" but that doesn't matter. Do "closed_icon" and
> "open_icon" exist in your map file.

Any idea when the proper 2.0 DTDs will be on java.sun.com? I've pointed my
TOC/Map/Helpset at the local copies from the jh_2.0_01 archive to keep my
validating parser happy, but I'd prefer to put the proper SYSTEM ID URL in
there...

--
Chris Herborth chrish@cryptocard.com
Documentation Overlord, CRYPTOCard Corp. http://www.cryptocard.com/
Never send a monster to do the work of an evil scientist.

********************************************************************************

You may leave the list at any time by sending message with no subject and
"SIGNOFF JAVAHELP-INTEREST" in the body to LISTSERV@JAVA.SUN.COM. Archives
are available at http://archives.java.sun.com/archives/javahelp-interest.html.
Submit bug reports at http://java.sun.com/cgi-bin/bugreport.cgi.

Roger Brinkley

Chris Herborth wrote:

> Any idea when the proper 2.0 DTDs will be on java.sun.com? I've
> pointed my TOC/Map/Helpset at the local copies from the jh_2.0_01
> archive to keep my validating parser happy, but I'd prefer to put the
> proper SYSTEM ID URL in there...

A couple of days after the new java.sun.com web look and feel is posted.
It's was suppose to have been finished two weeks ago and the workspaces
have been locked for over a month now. Everything is in the queue, were
just blocked from updating the page until the workspaces are unblocked.

Binky

********************************************************************************

You may leave the list at any time by sending message with no subject and
"SIGNOFF JAVAHELP-INTEREST" in the body to LISTSERV@JAVA.SUN.COM. Archives
are available at http://archives.java.sun.com/archives/javahelp-interest.html.
Submit bug reports at http://java.sun.com/cgi-bin/bugreport.cgi.

Richard Gregor

Hi,

I assume you think tree "handle". Unfortunatelly it is impossible to change.
richard.

Per Lundkvist wrote:

>I know how to change the icons in the TOC tree, but not all of them.
>Is it possible to change the little icon that is in front of each
>"subfolder"?
>The icon that looks like a small magnifying-glass pointing towards the
>folder and when it is "open" it points down.
>
>Hope you know what I mean.
>
>Per
>
>********************************************************************************
>
>You may leave the list at any time by sending message with no subject and
>"SIGNOFF JAVAHELP-INTEREST" in the body to LISTSERV@JAVA.SUN.COM. Archives
>are available at http://archives.java.sun.com/archives/javahelp-interest.html.
>Submit bug reports at http://java.sun.com/cgi-bin/bugreport.cgi.
>
>
>

********************************************************************************

You may leave the list at any time by sending message with no subject and
"SIGNOFF JAVAHELP-INTEREST" in the body to LISTSERV@JAVA.SUN.COM. Archives
are available at http://archives.java.sun.com/archives/javahelp-interest.html.
Submit bug reports at http://java.sun.com/cgi-bin/bugreport.cgi.