Package at.bestsolution.efxclipse.formats.fxg.fxg.impl

Source Code of at.bestsolution.efxclipse.formats.fxg.fxg.impl.BevelFilterImpl

/**
* <copyright>
* </copyright>
*
* $Id$
*/
package at.bestsolution.efxclipse.formats.fxg.fxg.impl;

import at.bestsolution.efxclipse.formats.fxg.fxg.BevelFilter;
import at.bestsolution.efxclipse.formats.fxg.fxg.BevelFilterType;
import at.bestsolution.efxclipse.formats.fxg.fxg.FxgPackage;

import org.eclipse.emf.common.notify.Notification;

import org.eclipse.emf.ecore.EClass;

import org.eclipse.emf.ecore.impl.ENotificationImpl;
import org.eclipse.emf.ecore.impl.EObjectImpl;

/**
* <!-- begin-user-doc -->
* An implementation of the model object '<em><b>Bevel Filter</b></em>'.
* <!-- end-user-doc -->
* <p>
* The following features are implemented:
* <ul>
*   <li>{@link at.bestsolution.efxclipse.formats.fxg.fxg.impl.BevelFilterImpl#getAngle <em>Angle</em>}</li>
*   <li>{@link at.bestsolution.efxclipse.formats.fxg.fxg.impl.BevelFilterImpl#getBlurX <em>Blur X</em>}</li>
*   <li>{@link at.bestsolution.efxclipse.formats.fxg.fxg.impl.BevelFilterImpl#getBlurY <em>Blur Y</em>}</li>
*   <li>{@link at.bestsolution.efxclipse.formats.fxg.fxg.impl.BevelFilterImpl#getHighlightAlpha <em>Highlight Alpha</em>}</li>
*   <li>{@link at.bestsolution.efxclipse.formats.fxg.fxg.impl.BevelFilterImpl#getHighlightColor <em>Highlight Color</em>}</li>
*   <li>{@link at.bestsolution.efxclipse.formats.fxg.fxg.impl.BevelFilterImpl#getDistance <em>Distance</em>}</li>
*   <li>{@link at.bestsolution.efxclipse.formats.fxg.fxg.impl.BevelFilterImpl#getKnockout <em>Knockout</em>}</li>
*   <li>{@link at.bestsolution.efxclipse.formats.fxg.fxg.impl.BevelFilterImpl#getQuality <em>Quality</em>}</li>
*   <li>{@link at.bestsolution.efxclipse.formats.fxg.fxg.impl.BevelFilterImpl#getShadowAlpha <em>Shadow Alpha</em>}</li>
*   <li>{@link at.bestsolution.efxclipse.formats.fxg.fxg.impl.BevelFilterImpl#getShadowColor <em>Shadow Color</em>}</li>
*   <li>{@link at.bestsolution.efxclipse.formats.fxg.fxg.impl.BevelFilterImpl#getStrength <em>Strength</em>}</li>
*   <li>{@link at.bestsolution.efxclipse.formats.fxg.fxg.impl.BevelFilterImpl#getType <em>Type</em>}</li>
* </ul>
* </p>
*
* @generated
*/
public class BevelFilterImpl extends EObjectImpl implements BevelFilter {
  /**
   * The default value of the '{@link #getAngle() <em>Angle</em>}' attribute.
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @see #getAngle()
   * @generated
   * @ordered
   */
  protected static final Double ANGLE_EDEFAULT = null;

  /**
   * The cached value of the '{@link #getAngle() <em>Angle</em>}' attribute.
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @see #getAngle()
   * @generated
   * @ordered
   */
  protected Double angle = ANGLE_EDEFAULT;

  /**
   * The default value of the '{@link #getBlurX() <em>Blur X</em>}' attribute.
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @see #getBlurX()
   * @generated
   * @ordered
   */
  protected static final Double BLUR_X_EDEFAULT = null;

  /**
   * The cached value of the '{@link #getBlurX() <em>Blur X</em>}' attribute.
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @see #getBlurX()
   * @generated
   * @ordered
   */
  protected Double blurX = BLUR_X_EDEFAULT;

  /**
   * The default value of the '{@link #getBlurY() <em>Blur Y</em>}' attribute.
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @see #getBlurY()
   * @generated
   * @ordered
   */
  protected static final Double BLUR_Y_EDEFAULT = null;

  /**
   * The cached value of the '{@link #getBlurY() <em>Blur Y</em>}' attribute.
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @see #getBlurY()
   * @generated
   * @ordered
   */
  protected Double blurY = BLUR_Y_EDEFAULT;

  /**
   * The default value of the '{@link #getHighlightAlpha() <em>Highlight Alpha</em>}' attribute.
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @see #getHighlightAlpha()
   * @generated
   * @ordered
   */
  protected static final Double HIGHLIGHT_ALPHA_EDEFAULT = null;

  /**
   * The cached value of the '{@link #getHighlightAlpha() <em>Highlight Alpha</em>}' attribute.
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @see #getHighlightAlpha()
   * @generated
   * @ordered
   */
  protected Double highlightAlpha = HIGHLIGHT_ALPHA_EDEFAULT;

  /**
   * The default value of the '{@link #getHighlightColor() <em>Highlight Color</em>}' attribute.
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @see #getHighlightColor()
   * @generated
   * @ordered
   */
  protected static final String HIGHLIGHT_COLOR_EDEFAULT = null;

  /**
   * The cached value of the '{@link #getHighlightColor() <em>Highlight Color</em>}' attribute.
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @see #getHighlightColor()
   * @generated
   * @ordered
   */
  protected String highlightColor = HIGHLIGHT_COLOR_EDEFAULT;

  /**
   * The default value of the '{@link #getDistance() <em>Distance</em>}' attribute.
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @see #getDistance()
   * @generated
   * @ordered
   */
  protected static final Double DISTANCE_EDEFAULT = null;

  /**
   * The cached value of the '{@link #getDistance() <em>Distance</em>}' attribute.
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @see #getDistance()
   * @generated
   * @ordered
   */
  protected Double distance = DISTANCE_EDEFAULT;

  /**
   * The default value of the '{@link #getKnockout() <em>Knockout</em>}' attribute.
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @see #getKnockout()
   * @generated
   * @ordered
   */
  protected static final Boolean KNOCKOUT_EDEFAULT = null;

  /**
   * The cached value of the '{@link #getKnockout() <em>Knockout</em>}' attribute.
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @see #getKnockout()
   * @generated
   * @ordered
   */
  protected Boolean knockout = KNOCKOUT_EDEFAULT;

  /**
   * The default value of the '{@link #getQuality() <em>Quality</em>}' attribute.
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @see #getQuality()
   * @generated
   * @ordered
   */
  protected static final Double QUALITY_EDEFAULT = null;

  /**
   * The cached value of the '{@link #getQuality() <em>Quality</em>}' attribute.
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @see #getQuality()
   * @generated
   * @ordered
   */
  protected Double quality = QUALITY_EDEFAULT;

  /**
   * The default value of the '{@link #getShadowAlpha() <em>Shadow Alpha</em>}' attribute.
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @see #getShadowAlpha()
   * @generated
   * @ordered
   */
  protected static final Double SHADOW_ALPHA_EDEFAULT = null;

  /**
   * The cached value of the '{@link #getShadowAlpha() <em>Shadow Alpha</em>}' attribute.
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @see #getShadowAlpha()
   * @generated
   * @ordered
   */
  protected Double shadowAlpha = SHADOW_ALPHA_EDEFAULT;

  /**
   * The default value of the '{@link #getShadowColor() <em>Shadow Color</em>}' attribute.
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @see #getShadowColor()
   * @generated
   * @ordered
   */
  protected static final String SHADOW_COLOR_EDEFAULT = null;

  /**
   * The cached value of the '{@link #getShadowColor() <em>Shadow Color</em>}' attribute.
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @see #getShadowColor()
   * @generated
   * @ordered
   */
  protected String shadowColor = SHADOW_COLOR_EDEFAULT;

  /**
   * The default value of the '{@link #getStrength() <em>Strength</em>}' attribute.
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @see #getStrength()
   * @generated
   * @ordered
   */
  protected static final Double STRENGTH_EDEFAULT = null;

  /**
   * The cached value of the '{@link #getStrength() <em>Strength</em>}' attribute.
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @see #getStrength()
   * @generated
   * @ordered
   */
  protected Double strength = STRENGTH_EDEFAULT;

  /**
   * The default value of the '{@link #getType() <em>Type</em>}' attribute.
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @see #getType()
   * @generated
   * @ordered
   */
  protected static final BevelFilterType TYPE_EDEFAULT = BevelFilterType.INNER;

  /**
   * The cached value of the '{@link #getType() <em>Type</em>}' attribute.
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @see #getType()
   * @generated
   * @ordered
   */
  protected BevelFilterType type = TYPE_EDEFAULT;

  /**
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  protected BevelFilterImpl() {
    super();
  }

  /**
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  @Override
  protected EClass eStaticClass() {
    return FxgPackage.Literals.BEVEL_FILTER;
  }

  /**
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public Double getAngle() {
    return angle;
  }

  /**
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public void setAngle(Double newAngle) {
    Double oldAngle = angle;
    angle = newAngle;
    if (eNotificationRequired())
      eNotify(new ENotificationImpl(this, Notification.SET, FxgPackage.BEVEL_FILTER__ANGLE, oldAngle, angle));
  }

  /**
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public Double getBlurX() {
    return blurX;
  }

  /**
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public void setBlurX(Double newBlurX) {
    Double oldBlurX = blurX;
    blurX = newBlurX;
    if (eNotificationRequired())
      eNotify(new ENotificationImpl(this, Notification.SET, FxgPackage.BEVEL_FILTER__BLUR_X, oldBlurX, blurX));
  }

  /**
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public Double getBlurY() {
    return blurY;
  }

  /**
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public void setBlurY(Double newBlurY) {
    Double oldBlurY = blurY;
    blurY = newBlurY;
    if (eNotificationRequired())
      eNotify(new ENotificationImpl(this, Notification.SET, FxgPackage.BEVEL_FILTER__BLUR_Y, oldBlurY, blurY));
  }

  /**
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public Double getHighlightAlpha() {
    return highlightAlpha;
  }

  /**
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public void setHighlightAlpha(Double newHighlightAlpha) {
    Double oldHighlightAlpha = highlightAlpha;
    highlightAlpha = newHighlightAlpha;
    if (eNotificationRequired())
      eNotify(new ENotificationImpl(this, Notification.SET, FxgPackage.BEVEL_FILTER__HIGHLIGHT_ALPHA, oldHighlightAlpha, highlightAlpha));
  }

  /**
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public String getHighlightColor() {
    return highlightColor;
  }

  /**
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public void setHighlightColor(String newHighlightColor) {
    String oldHighlightColor = highlightColor;
    highlightColor = newHighlightColor;
    if (eNotificationRequired())
      eNotify(new ENotificationImpl(this, Notification.SET, FxgPackage.BEVEL_FILTER__HIGHLIGHT_COLOR, oldHighlightColor, highlightColor));
  }

  /**
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public Double getDistance() {
    return distance;
  }

  /**
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public void setDistance(Double newDistance) {
    Double oldDistance = distance;
    distance = newDistance;
    if (eNotificationRequired())
      eNotify(new ENotificationImpl(this, Notification.SET, FxgPackage.BEVEL_FILTER__DISTANCE, oldDistance, distance));
  }

  /**
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public Boolean getKnockout() {
    return knockout;
  }

  /**
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public void setKnockout(Boolean newKnockout) {
    Boolean oldKnockout = knockout;
    knockout = newKnockout;
    if (eNotificationRequired())
      eNotify(new ENotificationImpl(this, Notification.SET, FxgPackage.BEVEL_FILTER__KNOCKOUT, oldKnockout, knockout));
  }

  /**
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public Double getQuality() {
    return quality;
  }

  /**
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public void setQuality(Double newQuality) {
    Double oldQuality = quality;
    quality = newQuality;
    if (eNotificationRequired())
      eNotify(new ENotificationImpl(this, Notification.SET, FxgPackage.BEVEL_FILTER__QUALITY, oldQuality, quality));
  }

  /**
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public Double getShadowAlpha() {
    return shadowAlpha;
  }

  /**
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public void setShadowAlpha(Double newShadowAlpha) {
    Double oldShadowAlpha = shadowAlpha;
    shadowAlpha = newShadowAlpha;
    if (eNotificationRequired())
      eNotify(new ENotificationImpl(this, Notification.SET, FxgPackage.BEVEL_FILTER__SHADOW_ALPHA, oldShadowAlpha, shadowAlpha));
  }

  /**
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public String getShadowColor() {
    return shadowColor;
  }

  /**
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public void setShadowColor(String newShadowColor) {
    String oldShadowColor = shadowColor;
    shadowColor = newShadowColor;
    if (eNotificationRequired())
      eNotify(new ENotificationImpl(this, Notification.SET, FxgPackage.BEVEL_FILTER__SHADOW_COLOR, oldShadowColor, shadowColor));
  }

  /**
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public Double getStrength() {
    return strength;
  }

  /**
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public void setStrength(Double newStrength) {
    Double oldStrength = strength;
    strength = newStrength;
    if (eNotificationRequired())
      eNotify(new ENotificationImpl(this, Notification.SET, FxgPackage.BEVEL_FILTER__STRENGTH, oldStrength, strength));
  }

  /**
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public BevelFilterType getType() {
    return type;
  }

  /**
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public void setType(BevelFilterType newType) {
    BevelFilterType oldType = type;
    type = newType == null ? TYPE_EDEFAULT : newType;
    if (eNotificationRequired())
      eNotify(new ENotificationImpl(this, Notification.SET, FxgPackage.BEVEL_FILTER__TYPE, oldType, type));
  }

  /**
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  @Override
  public Object eGet(int featureID, boolean resolve, boolean coreType) {
    switch (featureID) {
      case FxgPackage.BEVEL_FILTER__ANGLE:
        return getAngle();
      case FxgPackage.BEVEL_FILTER__BLUR_X:
        return getBlurX();
      case FxgPackage.BEVEL_FILTER__BLUR_Y:
        return getBlurY();
      case FxgPackage.BEVEL_FILTER__HIGHLIGHT_ALPHA:
        return getHighlightAlpha();
      case FxgPackage.BEVEL_FILTER__HIGHLIGHT_COLOR:
        return getHighlightColor();
      case FxgPackage.BEVEL_FILTER__DISTANCE:
        return getDistance();
      case FxgPackage.BEVEL_FILTER__KNOCKOUT:
        return getKnockout();
      case FxgPackage.BEVEL_FILTER__QUALITY:
        return getQuality();
      case FxgPackage.BEVEL_FILTER__SHADOW_ALPHA:
        return getShadowAlpha();
      case FxgPackage.BEVEL_FILTER__SHADOW_COLOR:
        return getShadowColor();
      case FxgPackage.BEVEL_FILTER__STRENGTH:
        return getStrength();
      case FxgPackage.BEVEL_FILTER__TYPE:
        return getType();
    }
    return super.eGet(featureID, resolve, coreType);
  }

  /**
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  @Override
  public void eSet(int featureID, Object newValue) {
    switch (featureID) {
      case FxgPackage.BEVEL_FILTER__ANGLE:
        setAngle((Double)newValue);
        return;
      case FxgPackage.BEVEL_FILTER__BLUR_X:
        setBlurX((Double)newValue);
        return;
      case FxgPackage.BEVEL_FILTER__BLUR_Y:
        setBlurY((Double)newValue);
        return;
      case FxgPackage.BEVEL_FILTER__HIGHLIGHT_ALPHA:
        setHighlightAlpha((Double)newValue);
        return;
      case FxgPackage.BEVEL_FILTER__HIGHLIGHT_COLOR:
        setHighlightColor((String)newValue);
        return;
      case FxgPackage.BEVEL_FILTER__DISTANCE:
        setDistance((Double)newValue);
        return;
      case FxgPackage.BEVEL_FILTER__KNOCKOUT:
        setKnockout((Boolean)newValue);
        return;
      case FxgPackage.BEVEL_FILTER__QUALITY:
        setQuality((Double)newValue);
        return;
      case FxgPackage.BEVEL_FILTER__SHADOW_ALPHA:
        setShadowAlpha((Double)newValue);
        return;
      case FxgPackage.BEVEL_FILTER__SHADOW_COLOR:
        setShadowColor((String)newValue);
        return;
      case FxgPackage.BEVEL_FILTER__STRENGTH:
        setStrength((Double)newValue);
        return;
      case FxgPackage.BEVEL_FILTER__TYPE:
        setType((BevelFilterType)newValue);
        return;
    }
    super.eSet(featureID, newValue);
  }

  /**
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  @Override
  public void eUnset(int featureID) {
    switch (featureID) {
      case FxgPackage.BEVEL_FILTER__ANGLE:
        setAngle(ANGLE_EDEFAULT);
        return;
      case FxgPackage.BEVEL_FILTER__BLUR_X:
        setBlurX(BLUR_X_EDEFAULT);
        return;
      case FxgPackage.BEVEL_FILTER__BLUR_Y:
        setBlurY(BLUR_Y_EDEFAULT);
        return;
      case FxgPackage.BEVEL_FILTER__HIGHLIGHT_ALPHA:
        setHighlightAlpha(HIGHLIGHT_ALPHA_EDEFAULT);
        return;
      case FxgPackage.BEVEL_FILTER__HIGHLIGHT_COLOR:
        setHighlightColor(HIGHLIGHT_COLOR_EDEFAULT);
        return;
      case FxgPackage.BEVEL_FILTER__DISTANCE:
        setDistance(DISTANCE_EDEFAULT);
        return;
      case FxgPackage.BEVEL_FILTER__KNOCKOUT:
        setKnockout(KNOCKOUT_EDEFAULT);
        return;
      case FxgPackage.BEVEL_FILTER__QUALITY:
        setQuality(QUALITY_EDEFAULT);
        return;
      case FxgPackage.BEVEL_FILTER__SHADOW_ALPHA:
        setShadowAlpha(SHADOW_ALPHA_EDEFAULT);
        return;
      case FxgPackage.BEVEL_FILTER__SHADOW_COLOR:
        setShadowColor(SHADOW_COLOR_EDEFAULT);
        return;
      case FxgPackage.BEVEL_FILTER__STRENGTH:
        setStrength(STRENGTH_EDEFAULT);
        return;
      case FxgPackage.BEVEL_FILTER__TYPE:
        setType(TYPE_EDEFAULT);
        return;
    }
    super.eUnset(featureID);
  }

  /**
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  @Override
  public boolean eIsSet(int featureID) {
    switch (featureID) {
      case FxgPackage.BEVEL_FILTER__ANGLE:
        return ANGLE_EDEFAULT == null ? angle != null : !ANGLE_EDEFAULT.equals(angle);
      case FxgPackage.BEVEL_FILTER__BLUR_X:
        return BLUR_X_EDEFAULT == null ? blurX != null : !BLUR_X_EDEFAULT.equals(blurX);
      case FxgPackage.BEVEL_FILTER__BLUR_Y:
        return BLUR_Y_EDEFAULT == null ? blurY != null : !BLUR_Y_EDEFAULT.equals(blurY);
      case FxgPackage.BEVEL_FILTER__HIGHLIGHT_ALPHA:
        return HIGHLIGHT_ALPHA_EDEFAULT == null ? highlightAlpha != null : !HIGHLIGHT_ALPHA_EDEFAULT.equals(highlightAlpha);
      case FxgPackage.BEVEL_FILTER__HIGHLIGHT_COLOR:
        return HIGHLIGHT_COLOR_EDEFAULT == null ? highlightColor != null : !HIGHLIGHT_COLOR_EDEFAULT.equals(highlightColor);
      case FxgPackage.BEVEL_FILTER__DISTANCE:
        return DISTANCE_EDEFAULT == null ? distance != null : !DISTANCE_EDEFAULT.equals(distance);
      case FxgPackage.BEVEL_FILTER__KNOCKOUT:
        return KNOCKOUT_EDEFAULT == null ? knockout != null : !KNOCKOUT_EDEFAULT.equals(knockout);
      case FxgPackage.BEVEL_FILTER__QUALITY:
        return QUALITY_EDEFAULT == null ? quality != null : !QUALITY_EDEFAULT.equals(quality);
      case FxgPackage.BEVEL_FILTER__SHADOW_ALPHA:
        return SHADOW_ALPHA_EDEFAULT == null ? shadowAlpha != null : !SHADOW_ALPHA_EDEFAULT.equals(shadowAlpha);
      case FxgPackage.BEVEL_FILTER__SHADOW_COLOR:
        return SHADOW_COLOR_EDEFAULT == null ? shadowColor != null : !SHADOW_COLOR_EDEFAULT.equals(shadowColor);
      case FxgPackage.BEVEL_FILTER__STRENGTH:
        return STRENGTH_EDEFAULT == null ? strength != null : !STRENGTH_EDEFAULT.equals(strength);
      case FxgPackage.BEVEL_FILTER__TYPE:
        return type != TYPE_EDEFAULT;
    }
    return super.eIsSet(featureID);
  }

  /**
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  @Override
  public String toString() {
    if (eIsProxy()) return super.toString();

    StringBuffer result = new StringBuffer(super.toString());
    result.append(" (angle: ");
    result.append(angle);
    result.append(", blurX: ");
    result.append(blurX);
    result.append(", blurY: ");
    result.append(blurY);
    result.append(", highlightAlpha: ");
    result.append(highlightAlpha);
    result.append(", highlightColor: ");
    result.append(highlightColor);
    result.append(", distance: ");
    result.append(distance);
    result.append(", knockout: ");
    result.append(knockout);
    result.append(", quality: ");
    result.append(quality);
    result.append(", shadowAlpha: ");
    result.append(shadowAlpha);
    result.append(", shadowColor: ");
    result.append(shadowColor);
    result.append(", strength: ");
    result.append(strength);
    result.append(", type: ");
    result.append(type);
    result.append(')');
    return result.toString();
  }

} //BevelFilterImpl
TOP

Related Classes of at.bestsolution.efxclipse.formats.fxg.fxg.impl.BevelFilterImpl

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.