Basically, the dependent name is more general, as it is computed at runtime. You can add the dependent name "highlighted" to anyone Widgetwithout knowing what it is, and GWT will offer you the appropriate css class name. You don’t need to specify the highlighted, highlighted highlighted highlighted highlighted highlighted highlighted icon, mycustomthing highlighted in GWT (you still need to create them all in css code).
source
share