color Listgrid header

2012-09-19 Thread Jaggernat
hi guys

I am using gwt and i have this code

public class CustomerGrid{
public void setGridProperties(ListGrid grid){
grid.setAlign(CENTER);

I want to set the grid header color to red..any idea how i can do
that?
I tried grid.setHeaderBackgroundColor(#FF) , but no luck.
}
}

thanks

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



check if layout already exists in main layout

2012-09-17 Thread Jaggernat
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(getButtonLayout());
Any idea how i can check if getButtonLayout() is already present in 
mainBodyLayout ?

return VLayout;
}

thanks in advance. 

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/_Q5wH_Z-1GwJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



transitioning from flex to gwt

2012-09-14 Thread Jaggernat
hi guys

I have been working in adobe flex for the last 3 years and serverside
java for the last 10 years.
Now i have to work with GWT on the UI with java server side.
I want to know the transition process from flex to gwt(if anyone can
help me).

In flex we had datagrids, advanced datagrids, item renderers, event
listeners,
remote calls to java server side(using Bindable,RemoteAlias) which are
some of the features i have used.
Are there equivalent features in gwt?

Any responses will be greatly apprecaited.
thanks.

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



using GWT with flex?

2011-05-25 Thread Jaggernat
hi guys

I need to learn GWT and impliment a simple solution using GWT. I come
from flex background.
can anyone point me what the important concepts in GWT is? and in what
order do i learn?

Goal:
we are currently developeing a trading app using flex screens but we
want to use ajax framework GWT to make the asynchronous backend calls
to our spring-java backend.
(Is using flex  Fabridge an option to integrate GWT with flex?)

any help greatly appreciated
thanks.

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.