Package tripleplay.ui

Class IconEffect

java.lang.Object
tripleplay.ui.IconEffect

public abstract class IconEffect extends Object
Used to apply effects to an Icon.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final IconEffect
    Leaves well enough alone.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static final IconEffect
    alpha(float alpha)
    Creates an IconEffect that sets the alpha on the Icon's created layer.
    abstract Icon
    apply(Icon icon)
    Does the needful.

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • NONE

      public static final IconEffect NONE
      Leaves well enough alone.
  • Constructor Details

    • IconEffect

      public IconEffect()
  • Method Details

    • alpha

      public static final IconEffect alpha(float alpha)
      Creates an IconEffect that sets the alpha on the Icon's created layer.
    • apply

      public abstract Icon apply(Icon icon)
      Does the needful.