
package com.smartgwt.client.docs;

/**
 * <h3>Skin Variants</h3>
 * Skin variants are named visual presets that modify a base class's appearance without changing
 * behavior.  Each variant is a set of property overrides registered in Variant and auto-created
 * as a subclass during framework initialization. <P> Variant subclasses work in any skin.  When a
 * skin provides CSS definitions for the variant's style properties, the variant takes effect.  In
 * skins that do not define those CSS classes, variant style properties automatically revert to
 * their superclass values via {@link com.smartgwt.client.widgets.Canvas#getAutoRevertStyles
 * Canvas.autoRevertStyles}, so the component falls back to the skin's default appearance. <P>
 * <h3>Grid variants</h3> Grid variants (Compact, Flat, Bordered, Striped) are created as
 * subclasses of both {@link com.smartgwt.client.widgets.grid.ListGrid} and {@link
 * com.smartgwt.client.widgets.tree.TreeGrid}.  For example, the Compact variant produces both
 * <code>CompactGrid</code> and <code>CompactTreeGrid</code>. <P> The "Default Table" appearance
 * in variant-enabled skins is simply a standard {@link com.smartgwt.client.widgets.grid.ListGrid}
 * with features enabled (filtering, grouping, inline editing, row selection) ? it is not a
 * variant.  Similarly, {@link com.smartgwt.client.widgets.tree.TreeGrid} renders with the default
 * tree appearance. <P> <h3>Usage</h3>
 * @see com.smartgwt.client.widgets.Canvas#getAutoRevertStyles
 */
public interface SkinVariant {
}
