|
|
|
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 15:38  |
Eclipse User |
|
|
|
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
|
|
|
|
Powered by
FUDForum. Page generated in 0.20907 seconds