Jay Roy
asked on
GWT - newbie
hi guys
I am working on GWT and i have something like
public class QuickSearch extends Canvas
{
private HLayout mainBodyLayout = new HLayout(); //the main layout containing other layouts.
//button layout
private Layout getButtonLayout()
{
//here i want to check IF mainBodyLayout already contains
getButtonLayout() , if it does not contain only then add it like
mainBodyLayout.addMember(g etButtonLa yout());
Any idea how i can check if getButtonLayout() is already present in mainBodyLayout ?
return VLayout;
}
thanks in advance.
I am working on GWT and i have something like
public class QuickSearch extends Canvas
{
private HLayout mainBodyLayout = new HLayout(); //the main layout containing other layouts.
//button layout
private Layout getButtonLayout()
{
//here i want to check IF mainBodyLayout already contains
getButtonLayout() , if it does not contain only then add it like
mainBodyLayout.addMember(g
Any idea how i can check if getButtonLayout() is already present in mainBodyLayout ?
return VLayout;
}
thanks in advance.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
....can be assigned an I'D.
Yeah, I am looking for that, any idea how I can do that?
Also getButtonlayout() returns a layout object.
Yeah, I am looking for that, any idea how I can do that?
Also getButtonlayout() returns a layout object.
I think you need to explain at a higher level what it is you are trying to do!