Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Hyperlink in Web Browser and ActiveXControl
Date: Wed, 29 Aug 2007 08:51:29 +0000 (UTC)
Organization: TACT Computer Systems Ltd
Lines: 29
Message-ID: <fb3c2h$kf9$1@fred.mathworks.com>
References: <famka8$5k7$1@fred.mathworks.com> <famovi$l5o$1@fred.mathworks.com> <famppt$4q8$1@fred.mathworks.com> <faq1j7$pj0$1@fred.mathworks.com> <fb39m1$iki$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-03-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1188377489 20969 172.30.248.38 (29 Aug 2007 08:51:29 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Wed, 29 Aug 2007 08:51:29 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 642467
Xref: news.mathworks.com comp.soft-sys.matlab:426033



> "Yair Altman" <altmanyDEL@gmailDEL.comDEL> wrote in message
> > <snip>you can use the following
> > undocumented hack to do this:
> 
> However, I didn't found any document about the class
> com.mathworks.mlwidgets.html.HTMLBrowserPanel. 
> Could you tell me where to find these documents?

As I said above, it's UNDOCUMENTED (which means, well,
there's no documentation). It's an internal Matlab class
that is not meant to be used by anyone outside MathWorks.
You can use it, but you're on your own here...

> I'm looking for the refresh and resize functions of this
> web page.  

You can get/set the browser object properties in the regular
Matlab fashion, using the get/set functions:

browser=com.mathworks.mlwidgets.html.HTMLBrowserPanel(url);
get(browser)
set(browser,propertyName,newValue);

You can also do the same for the objects returned by the
javacomponent function (including updating the component's
position, units etc.)

Yair Altman