Custom Widgets Events

Swing Designer allows you to quickly create the frames, panels, dialogs, applets and other UI elements that comprise Java Swing applications.

Moderators: Konstantin.Scheglov, gnebling, Alexander.Mitin, jwren, Eric Clayberg

Custom Widgets Events

Postby myerramalli » Fri Aug 27, 2004 11:35 am

How are the events of the custom wiget exposed in the Envent pallette?
if the custom widget has its own implemention of addSelectionListner this slection event is not exposed in the Event pallette.
myerramalli
 
Posts: 16
Joined: Thu Aug 26, 2004 4:32 pm

Re: Custom Widgets Events

Postby Eric Clayberg » Fri Aug 27, 2004 2:29 pm

myerramalli wrote:How are the events of the custom wiget exposed in the Envent pallette?

Swing Designer gets the list of events from the Java Bean info for the class. There should be no distinction between an inherited event or one defined by the bean itself.

myerramalli wrote:if the custom widget has its own implemention of addSelectionListner this slection event is not exposed in the Event pallette.

I have no idea what you are talking about. What do you expect to happen? What actually is happening? If you want to send your custom bean to support@swt-designer.com, we would be happy to take a look at it. If you have defined a BeanInfo class for your bean, make sure to send that as well.
Eric Clayberg
Software Engineering Manager
Google
http://code.google.com/webtoolkit/download.html

Author: "Eclipse Plug-ins"
http://www.qualityeclipse.com
Eric Clayberg
Moderator
 
Posts: 4503
Joined: Tue Sep 30, 2003 6:39 am
Location: Boston, MA USA


Return to Swing Designer

Who is online

Users browsing this forum: Google [Bot] and 1 guest