/** * Sencha GXT 3.1.1 - Sencha for GWT * Copyright(c) 2007-2014, Sencha, Inc. * licensing@sencha.com * * http://www.sencha.com/products/gxt/license/ */ package com.dldinternet.aws.cfn.stacker.desktop.client.widget; import com.google.gwt.core.client.GWT; import com.sencha.gxt.cell.core.client.form.ToggleButtonCell; import com.dldinternet.aws.cfn.stacker.desktop.client.theme.base.taskbutton.TaskButtonCellDefaultAppearance; /** * Provides the unique appearance of a desktop task button cell. A cell is a * lightweight representation of a renderable object. A task button cell * inherits many of the properties of a toggle button cell. *

* For more information on the use of the appearance pattern, see Sencha GXT 3.0 * Appearance Design */ public class TaskButtonCell extends ToggleButtonCell { /** * Defines the appearance interface for a task button cell. *

* The appearance interface defines the interaction between the widget and an * appearance instance. The concrete implementation of the appearance * interface typically incorporates the external HTML and CSS source using the * {@link com.sencha.gxt.core.client.XTemplates} and {@link com.google.gwt.resources.client.CssResource} interfaces. * * @param the type that this Cell represents */ public interface TaskButtonCellAppearance extends ButtonCellAppearance { } /** * Constructs a task button cell with the default appearance. *

* The GWT module file contains a replace-with directive that maps the * appearance interface (specified as the argument to the create method) to a * concrete implementation class, e.g. {@link TaskButtonCellDefaultAppearance}. * See {@code Desktop.gwt.xml} for more information. */ public TaskButtonCell() { this(GWT.> create(TaskButtonCellAppearance.class)); } /** * Creates a task button cell with the specified appearance. * * @param appearance the appearance of the task button cell */ public TaskButtonCell(TaskButtonCellAppearance appearance) { super(appearance); } }