DisclosurePanelImages is depreciated, so I wondered whats the correct
method for getting to the Disclosure panels default images?
(for, say, making a custom header)
My old code was;
final DisclosurePanelImages dpimages = (DisclosurePanelImages)
GWT.create(DisclosurePanelImages.class);
class DisclosurePanelHeader extends HorizontalPanel
{
AbstractImagePrototype closedImage =
dpimages.disclosurePanelClosed();
AbstractImagePrototype openImage =
dpimages.disclosurePanelOpen();
Image arrowImage = closedImage.createImage();
public DisclosurePanelHeader()
{
......
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=en.