Saturday, July 30, 2011

DisclosurePanelImages alternative?

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)

class DisclosurePanelHeader extends HorizontalPanel
AbstractImagePrototype closedImage =
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
To unsubscribe from this group, send email to
For more options, visit this group at

No comments:

Post a Comment