Class CombinedLayer.CombinedSubLayer

    • Field Detail

      • m_ButtonActivate

        protected BaseFlatButton m_ButtonActivate
        the button for activating, showing the name.
      • m_ButtonApply

        protected BaseFlatButton m_ButtonApply
        the button for applying the values.
      • m_ActualColor

        protected Color m_ActualColor
        the current actual color (incl alpha).
      • m_ActualColorOld

        protected Color m_ActualColorOld
        the old actual color (incl alpha).
    • Constructor Detail

      • CombinedSubLayer

        public CombinedSubLayer()
    • Method Detail

      • initialize

        protected void initialize()
        Initializes the members.
        Overrides:
        initialize in class BasePanel
      • initGUI

        protected void initGUI()
        Initializes the widgets.
        Overrides:
        initGUI in class BasePanel
      • setOwner

        public void setOwner​(CombinedLayer value)
        Sets the owner.
        Parameters:
        value - the owner to use
      • getOwner

        public CombinedLayer getOwner()
        Returns the owner.
        Returns:
        the owner, null if none set
      • setName

        public void setName​(String value)
        Sets the name of the layer.
        Overrides:
        setName in class Component
        Parameters:
        value - the name
      • getName

        public String getName()
        Returns the name of the layer.
        Overrides:
        getName in class Component
        Returns:
        the name
      • setColor

        public void setColor​(Color value)
        Sets the current color.
        Parameters:
        value - the color
      • setActualColor

        public void setActualColor​(Color value)
        Sets the actual color.
        Parameters:
        value - the color
      • getColor

        public Color getColor()
        Returns the current color.
        Returns:
        the color
      • setAlpha

        public void setAlpha​(float value)
        Sets the current alpha value.
        Parameters:
        value - the alpha
      • getAlpha

        public float getAlpha()
        Returns the current alpha value.
        Returns:
        the alpha
      • update

        public void update()
        Notifies the change listeners.
      • getImage

        public BufferedImage getImage()
        Returns the subset image.
        Returns:
        the subset image
      • getBinaryImage

        public BufferedImage getBinaryImage()
        Returns the subset image as binary image.
        Returns:
        the converted image