Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Visual Editor (VE) » What are the Events fired when a component is resized in VE?
What are the Events fired when a component is resized in VE? [message #121485] Thu, 06 April 2006 05:28 Go to next message
Eclipse UserFriend
Originally posted by: shobanaramaswamy.yahoo.co.in

Hi All,

Can anyone please explain me, what are all the events fired when a
component is resized in the Visual Editor?

Thanks in advance.

Regards,
Shobana
Re: What are the Events fired when a component is resized in VE? [message #122046 is a reply to message #121485] Mon, 10 April 2006 19:38 Go to previous messageGo to next message
Joe Winchester is currently offline Joe WinchesterFriend
Messages: 496
Registered: July 2009
Senior Member
Hi Shobana,

> Can anyone please explain me, what are all the events fired when a
> component is resized in the Visual Editor?

Do you mean the events at runtime when the java.awt.Component is resized or
are you building some kind of VE extension plugin ? For the former it is
the compoentResized method on the java.awt.ComponentListener. You can add a
listener to a GUI component in the VE by using the Events>Add Event.. menu
option and selecting "component" in the list and then "componentResized".
This will generate code like:

jButton.addComponentListener(new java.awt.event.ComponentAdapter() {
public void componentResized(java.awt.event.ComponentEvent e) {
// Put your code here
}
});

If you're writing a plugin then can you give more background as to the
scenario you're trying to tackle ?

Best regards,

Joe Winchester
Re: What are the Events fired when a component is resized in VE? [message #122096 is a reply to message #122046] Tue, 11 April 2006 11:12 Go to previous message
Eclipse UserFriend
Originally posted by: shobanaramaswamy.yahoo.co.in

Hi Joe,

Yes, I asked about the events fired at runtime, when the
java.awt.Component is resized. THANK YOU VERY MUCH. It worked.

Thanks
Shobana.R
Re: What are the Events fired when a component is resized in VE? [message #612586 is a reply to message #121485] Mon, 10 April 2006 19:38 Go to previous message
Joe Winchester is currently offline Joe WinchesterFriend
Messages: 496
Registered: July 2009
Senior Member
Hi Shobana,

> Can anyone please explain me, what are all the events fired when a
> component is resized in the Visual Editor?

Do you mean the events at runtime when the java.awt.Component is resized or
are you building some kind of VE extension plugin ? For the former it is
the compoentResized method on the java.awt.ComponentListener. You can add a
listener to a GUI component in the VE by using the Events>Add Event.. menu
option and selecting "component" in the list and then "componentResized".
This will generate code like:

jButton.addComponentListener(new java.awt.event.ComponentAdapter() {
public void componentResized(java.awt.event.ComponentEvent e) {
// Put your code here
}
});

If you're writing a plugin then can you give more background as to the
scenario you're trying to tackle ?

Best regards,

Joe Winchester
Re: What are the Events fired when a component is resized in VE? [message #612594 is a reply to message #122046] Tue, 11 April 2006 11:12 Go to previous message
shobana is currently offline shobanaFriend
Messages: 13
Registered: July 2009
Junior Member
Hi Joe,

Yes, I asked about the events fired at runtime, when the
java.awt.Component is resized. THANK YOU VERY MUCH. It worked.

Thanks
Shobana.R
Previous Topic:Problem creating visual class
Next Topic:Loading Java class in the Plugin environment
Goto Forum:
  


Current Time: Wed Apr 24 23:35:06 GMT 2024

Powered by FUDForum. Page generated in 0.02827 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top