Class IconFilterImpl

java.lang.Object
io.keikai.model.impl.IconFilterImpl
All Implemented Interfaces:
SIconFilter, Serializable

public class IconFilterImpl extends Object implements SIconFilter, Serializable
Default implementation of SIconFilter.
Since:
7.0.0
See Also:
  • Constructor Details

    • IconFilterImpl

      public IconFilterImpl(SIconSet.IconSetType iconSet, int iconId)
      Creates an icon filter with the specified icon set and icon ID.
      Parameters:
      iconSet - the icon set type
      iconId - the 0-based icon index within the set
  • Method Details

    • getIconSet

      public SIconSet.IconSetType getIconSet()
      Description copied from interface: SIconFilter
      Returns the icon set type used by this filter.
      Specified by:
      getIconSet in interface SIconFilter
      Returns:
      the icon set type
    • getIconId

      public int getIconId()
      Description copied from interface: SIconFilter
      Returns the 0-based icon ID within the icon set.
      Specified by:
      getIconId in interface SIconFilter
      Returns:
      the icon ID
    • cloneIconFilter

      public IconFilterImpl cloneIconFilter()
      Creates a clone of this icon filter.
      Returns:
      a new IconFilterImpl with the same values