Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
package com.rhem.client.widget;
import com.google.gwt.core.client.GWT;
import com.google.gwt.resources.client.ImageResource;
import com.rhem.client.widget.SearchTriggerFieldCell.SearchTriggerFieldAppearance;
import com.sencha.gxt.theme.base.client.field.TriggerFieldDefaultAppearance;
public class SearchTriggerFieldDefaultAppearance extends TriggerFieldDefaultAppearance implements SearchTriggerFieldAppearance {
21public interface SearchTriggerFieldResources extends TriggerFieldResources {
@Source("searchTrigger.gif")
public ImageResource triggerArrow();
@Source("searchTriggerClick.gif")
public ImageResource triggerArrowClick();
@Source("searchTriggerOver.gif")
public ImageResource triggerArrowOver();
@Source("searchTriggerFocus.gif")
public ImageResource triggerArrowFocus();
@Source("searchTriggerFocusClick.gif")
public ImageResource triggerArrowFocusClick();
@Source("searchTriggerFocusOver.gif")
public ImageResource triggerArrowFocusOver();
@Override
@Source({"com/sencha/gxt/theme/base/client/field/ValueBaseField.css",
"com/sencha/gxt/theme/base/client/field/TextField.css",
"com/sencha/gxt/theme/base/client/field/TriggerField.css"})
SearchTriggerFieldStyle css();
}
public interface SearchTriggerFieldStyle extends TriggerFieldStyle {
}
SearchTriggerFieldResources resources;
SearchTriggerFieldStyle style;
public SearchTriggerFieldDefaultAppearance() {
this(GWT.<SearchTriggerFieldResources> create(SearchTriggerFieldResources.class));
}
public SearchTriggerFieldDefaultAppearance(SearchTriggerFieldResources res) {
super(res);
this.resources = res;
this.style = res.css();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.