SmartGWT 4.1p 5/19/2014
I have a static text item that pops up a dialog on click. I want to change the cursor of just this item to a pointer on hover so the user gets additional visual feedback that it's clickable. I can't find in any docs a list of auto child names for objects that utilize them. The auto child doc is helpful but also doesn't contain a comprehensive list. Can you tell me what name to use? Is there somewhere I can find these names in the future?
Thanks!
Example:
I have a static text item that pops up a dialog on click. I want to change the cursor of just this item to a pointer on hover so the user gets additional visual feedback that it's clickable. I can't find in any docs a list of auto child names for objects that utilize them. The auto child doc is helpful but also doesn't contain a comprehensive list. Can you tell me what name to use? Is there somewhere I can find these names in the future?
Thanks!
Example:
Code:
StaticTextItem test = new StaticTextItem("test"); test.setValue("<u>Click Me</u>"); test.addClickHandler(new ClickHandler() { @Override public void onClick(ClickEvent event) { //open dialog } }); Canvas autoChild = new Canvas(); autoChild.setCursor(Cursor.POINTER); test.setAutoChildProperties("???", autoChild);
Comment