|
Re: Getter for passed Border in SwingBorder class: msg#00008java.netbeans.modules.graph.user
Hi Bernd, I have filed an issue #103456 (see: http://graph.netbeans.org/issues/show_bug.cgi?id=103456 ) to Issuezilla. The patch is attached there - apply it at $NetBeansRepository directory. Regards, David BSE Developer wrote: > Hi David, > > thank you for your answer. Your solution would be o.k. for me. > Please send me your source code patch to test it with my source. > Thanks. > > Regards, > Bernd > > 2007/5/4, David Kaspar <David.Kaspar-xsfywfwIY+M@xxxxxxxxxxxxxxxx > <mailto:David.Kaspar-xsfywfwIY+M@xxxxxxxxxxxxxxxx>>: > > > Hi Bernd, > > Rather I would not add the "getter" method directly to the Widget > class. > Instead I would like to add a new static method: > javax.swing.border.Border > BorderSupport.getSwingBorder(org.netbeans.api.visual.border.Border ) > > This method would return the Swing-border if the input parameter is a > wrapper-border created by: BorderFactory.createSwingBorder or > Widget.setBorder(javax.swing.border.Border) method. > > Let me know if the proposed API is ok for you. If so, I will enter an > API change issue on "graph" module. Unfortunately I have to > postpone all > changes to June 2007 - right now I do not have enough time to go > through > the whole API-review process. If you would like to have the API > change > as soon as possible then I can immediately send you the patch of > sources > of the "graph/lib" module. The change is really simple (upto 10 lines > including javadoc). > > Regards, > David > > > BSE Developer wrote: > > Hello David, > > > > is it possible to add a getter method for the passed swing border in > > the SwingBorder class ? > > I want to get the border to find out, which type of swing border is > > passed, e.g. CompoundBorder. > > The following treatment unfortunately depends on the border type. > > > > > > Regards, > > Bernd > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > users-unsubscribe-Hi7mZnf3vbIkiw2pgZvNdR2eb7JE58TQ@xxxxxxxxxxxxxxxx > > <mailto:users-unsubscribe-Hi7mZnf3vbIkiw2pgZvNdR2eb7JE58TQ@xxxxxxxxxxxxxxxx> > For additional commands, e-mail: > users-help-Hi7mZnf3vbIkiw2pgZvNdR2eb7JE58TQ@xxxxxxxxxxxxxxxx > <mailto:users-help-Hi7mZnf3vbIkiw2pgZvNdR2eb7JE58TQ@xxxxxxxxxxxxxxxx> > >
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Getter for passed Border in SwingBorder class, BSE Developer |
|---|---|
| Next by Date: | Webstart example reimplementation using graph v2?, Holger Brandl |
| Previous by Thread: | Re: Getter for passed Border in SwingBorder class, BSE Developer |
| Next by Thread: | Webstart example reimplementation using graph v2?, Holger Brandl |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |