Class FmvStateIcon

    • Constructor Detail

      • FmvStateIcon

        public FmvStateIcon​(NamedObj container,
                            java.lang.String name)
                     throws NameDuplicationException,
                            IllegalActionException
        Create a new icon with the given name in the given container. The container is required to implement Settable, or an exception will be thrown.
        Parameters:
        container - The container for this attribute.
        name - The name of this attribute.
        Throws:
        IllegalActionException - If thrown by the parent class or while setting an attribute.
        NameDuplicationException - If the name coincides with an attribute already in the container.
    • Method Detail

      • _getFill

        protected java.awt.Paint _getFill()
        Return the paint to use to fill the icon. This class returns Color.white, unless the refinement name is not empty, in which case it returns a light green.
        Overrides:
        _getFill in class StateIcon
        Returns:
        The paint to use to fill the icon.