Class SwatchImpl

  • All Implemented Interfaces:
    Swatch, java.io.Serializable
    Direct Known Subclasses:
    UIColorImpl

    public class SwatchImpl
    extends java.lang.Object
    implements java.io.Serializable, Swatch
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      SwatchImpl()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      double getColor1()
      Gets color 1.
      double getColor2()
      Gets color 2.
      double getColor3()
      Gets color 3.
      double getColor4()
      Gets color 4.
      int getIsProcess()
      Gets is process.
      int getIsVisible()
      Gets is visible.
      java.lang.String getName()
      Gets name.
      java.lang.String getSpace()
      Gets space.
      int getUid()
      Gets uid.
      void setColor1​(double color1)
      Sets color 1.
      void setColor2​(double color2)
      Sets color 2.
      void setColor3​(double color3)
      Sets color 3.
      void setColor4​(double color4)
      Sets color 4.
      void setIsProcess​(int isProcess)
      Sets is process.
      void setIsVisible​(int isVisible)
      Sets is visible.
      void setName​(java.lang.String name)
      Sets name.
      void setSpace​(java.lang.String space)
      Sets space.
      void setUid​(int uid)
      Sets uid.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SwatchImpl

        public SwatchImpl()
    • Method Detail

      • getName

        public java.lang.String getName()
        Description copied from interface: Swatch
        Gets name.
        Specified by:
        getName in interface Swatch
        Returns:
        the name
      • setName

        public void setName​(java.lang.String name)
        Description copied from interface: Swatch
        Sets name.
        Specified by:
        setName in interface Swatch
        Parameters:
        name - the name
      • getUid

        public int getUid()
        Description copied from interface: Swatch
        Gets uid.
        Specified by:
        getUid in interface Swatch
        Returns:
        the uid
      • setUid

        public void setUid​(int uid)
        Description copied from interface: Swatch
        Sets uid.
        Specified by:
        setUid in interface Swatch
        Parameters:
        uid - the uid
      • getSpace

        public java.lang.String getSpace()
        Description copied from interface: Swatch
        Gets space.
        Specified by:
        getSpace in interface Swatch
        Returns:
        the space
      • setSpace

        public void setSpace​(java.lang.String space)
        Description copied from interface: Swatch
        Sets space.
        Specified by:
        setSpace in interface Swatch
        Parameters:
        space - the space
      • getIsProcess

        public int getIsProcess()
        Description copied from interface: Swatch
        Gets is process.
        Specified by:
        getIsProcess in interface Swatch
        Returns:
        the is process
      • setIsProcess

        public void setIsProcess​(int isProcess)
        Description copied from interface: Swatch
        Sets is process.
        Specified by:
        setIsProcess in interface Swatch
        Parameters:
        isProcess - the is process
      • getIsVisible

        public int getIsVisible()
        Description copied from interface: Swatch
        Gets is visible.
        Specified by:
        getIsVisible in interface Swatch
        Returns:
        the is visible
      • setIsVisible

        public void setIsVisible​(int isVisible)
        Description copied from interface: Swatch
        Sets is visible.
        Specified by:
        setIsVisible in interface Swatch
        Parameters:
        isVisible - the is visible
      • getColor1

        public double getColor1()
        Description copied from interface: Swatch
        Gets color 1.
        Specified by:
        getColor1 in interface Swatch
        Returns:
        the color 1
      • setColor1

        public void setColor1​(double color1)
        Description copied from interface: Swatch
        Sets color 1.
        Specified by:
        setColor1 in interface Swatch
        Parameters:
        color1 - the color 1
      • getColor2

        public double getColor2()
        Description copied from interface: Swatch
        Gets color 2.
        Specified by:
        getColor2 in interface Swatch
        Returns:
        the color 2
      • setColor2

        public void setColor2​(double color2)
        Description copied from interface: Swatch
        Sets color 2.
        Specified by:
        setColor2 in interface Swatch
        Parameters:
        color2 - the color 2
      • getColor3

        public double getColor3()
        Description copied from interface: Swatch
        Gets color 3.
        Specified by:
        getColor3 in interface Swatch
        Returns:
        the color 3
      • setColor3

        public void setColor3​(double color3)
        Description copied from interface: Swatch
        Sets color 3.
        Specified by:
        setColor3 in interface Swatch
        Parameters:
        color3 - the color 3
      • getColor4

        public double getColor4()
        Description copied from interface: Swatch
        Gets color 4.
        Specified by:
        getColor4 in interface Swatch
        Returns:
        the color 4
      • setColor4

        public void setColor4​(double color4)
        Description copied from interface: Swatch
        Sets color 4.
        Specified by:
        setColor4 in interface Swatch
        Parameters:
        color4 - the color 4