This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 105280 - API: A border should define a clipping shape for a widget
Summary: API: A border should define a clipping shape for a widget
Status: NEW
Alias: None
Product: platform
Classification: Unclassified
Component: Graph (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@platform
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-31 15:08 UTC by David Kaspar
Modified: 2007-05-31 15:08 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Kaspar 2007-05-31 15:08:08 UTC
For now when a border has non-rectangular shape, then the border usually has to
paint even the background of the widget, otherwise it is dificul to implement
the separation.

Therefore introduce a method on Border interface which will resolve/define a
shape for a assigned widget. This way the widget can use the shape (from Border)
for clipping the painting of background, graphic and child widgets, ...