Package com.taobao.zeus.web.platform.client.theme.shortcut

Source Code of com.taobao.zeus.web.platform.client.theme.shortcut.ShortcutCellDefaultAppearance

package com.taobao.zeus.web.platform.client.theme.shortcut;

import com.google.gwt.core.client.GWT;
import com.google.gwt.resources.client.ClientBundle;
import com.taobao.zeus.web.platform.client.widget.ShortcutCell.ShortcutCellAppearance;
import com.sencha.gxt.theme.base.client.button.ButtonCellDefaultAppearance;
import com.sencha.gxt.theme.base.client.frame.TableFrame;
import com.sencha.gxt.theme.base.client.frame.TableFrame.TableFrameResources;

public class ShortcutCellDefaultAppearance<C> extends ButtonCellDefaultAppearance<C> implements
    ShortcutCellAppearance<C> {

  public interface ShortcutCellResources extends ButtonCellResources, ClientBundle {
    @Source({"com/sencha/gxt/theme/base/client/button/ButtonCell.css", "ShortcutCell.css"})
    @Override
    ShortcutCellStyle style();
  }

  public interface ShortcutCellStyle extends ButtonCellStyle {
    String select();
  }

  public ShortcutCellDefaultAppearance() {
    super(GWT.<ButtonCellResources> create(ShortcutCellResources.class),
        GWT.<ButtonCellTemplates> create(ButtonCellTemplates.class), new TableFrame(
            GWT.<TableFrameResources> create(ShortcutTableFrameResources.class)));
  }

}
TOP

Related Classes of com.taobao.zeus.web.platform.client.theme.shortcut.ShortcutCellDefaultAppearance

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.